Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331347

Summary: [breakpoints] Set Breakpoint at Class/Line/StacktraceElement
Product: [Eclipse Project] JDT Reporter: Juergen Weber <juergen>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: Michael_Rennie, rgransberger
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Juergen Weber CLA 2010-11-29 10:26:10 EST
Build Identifier: 20100917-0705

It should be possible to enter a new breakpoint by just entering a fully qualified classname and a line or a StacktraceElement.
Breakpoint view should have a context menu entry "Add method breakpoint by line" where you would paste a stacktrace element, e.g.
 at org.jboss.resource.deployers.RARDeployment.createActivationSpec(RARDeployment.java:311)

If the debugger would not find line information, this should result in a method breakpoint.

Currently you have to search for the jar containing the class, create a project, add the jar to the project classpath and finally you can set the breakpoint.

This might be related to Bug 23295.

Reproducible: Always
Comment 1 rgra Missing name CLA 2018-12-11 11:24:03 EST
I just found this, searching for another bug.
What I do when I have a piece of stack trace and want to add a breakpoint: Open a new Stack Trace Console (Arrow Button next to the Console Icon to get a selection) and paste the Stack Trace. Than I can jump to the code lines from there.