Bug 331347 - [breakpoints] Set Breakpoint at Class/Line/StacktraceElement
Summary: [breakpoints] Set Breakpoint at Class/Line/StacktraceElement
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 10:26 EST by Juergen Weber CLA
Modified: 2018-12-11 11:24 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.