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.

Bug 209817 - Error: Not able to submit breakpoint MethodBreakpoint ... does not exist in class
Summary: Error: Not able to submit breakpoint MethodBreakpoint ... does not exist in c...
Status: RESOLVED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 02:21 UTC by NewCub
Modified: 2016-03-15 07:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
not stop the programming with f8 (2.86 KB, application/octet-stream)
2016-03-15 07:21 UTC, moloodkh
Details
not stop the programming with f8 (2.86 KB, application/octet-stream)
2016-03-15 07:22 UTC, moloodkh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NewCub 2012-03-21 02:21:22 UTC
I have NetBeans 7.0.1. I am getting errors that refer to ghost lines. These lines of code once existed, but they do not anymore. My code compiles and runs. I'm just annoyed by the debugger error. For example, I get this:

Not able to submit breakpoint MethodBreakpoint [gui.AccountWindow].getSumOfLongStockValue '(I)D', reason: Method 'getSumOfLongStockValue' with signature '(I)D' does not exist in class gui.AccountWindow.


There's no code to show you because that method really does not exist. How does the debugger even have a reference to this? I've tried a clean and build, but it did not fix the error. How can I make these errors go away? Thanks.
Comment 1 NewCub 2012-03-22 05:12:17 UTC
I solved this myself--on accident. 

Solution (Netbeans 7.0.1): View the breakpoints in the breakpoints tab. Delete the breakpoints that are being referenced erroneously. I deleted all breakpoints.

Step-by-Step:
1. Open the Window Menu at the top of the screen.
2. Select the Debugging option.
3. Select Breakpoints (or press Alt-Shift-5)
4. Right click on erroneous breakpoint references in Breakpoint Window.
5. Select delete.

Problem solved.
Comment 2 moloodkh 2016-03-15 07:21:28 UTC
Created attachment 158864 [details]
not stop the programming with f8
Comment 3 moloodkh 2016-03-15 07:22:40 UTC
Created attachment 158865 [details]
not stop the programming with f8