This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | IDE does not submit breakpoints to debugger... | ||
---|---|---|---|
Product: | debugger | Reporter: | kecampbell |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.0.2 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
Screenshot showing breapoints, but debugger console does not show submission of breakpoints. |
Description
kecampbell
2014-12-01 18:54:17 UTC
Created attachment 150819 [details]
IDE log
Created attachment 150821 [details]
Screenshot showing breapoints, but debugger console does not show submission of breakpoints.
Are you sure that the class was already executed? Debugger can submit breakpoints only to the classes that were loaded into the JVM. Only after the class is loaded, debugger prints the message about breakpoints submission. Also the screenshot shows that this part of code was added, sometimes it can happen that the old version of class files is executed unintentionally, when rebuild is not triggered. If the output text is printed, but breakpoints are not hit, please provide a sample project that we can reproduce the issue with and attach it here. There is a breakpoints-related logger, that can be activated via -J-Dorg.netbeans.modules.debugger.jpda.breakpoints.level=300 option. If you can still reproduce the problem, please provide messages.log file after you reproduce the issue in NetBeans started with this option. Thanks. I think I got around this by upgrading surefire and debugging in a fork... https://maven.apache.org/surefire/maven-surefire-plugin/examples/debugging.html Might be nice if Netbeans could either recognize how to set this up when the user selects debug test file, or at least printed out some pointers, etc. |