*
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans - stops at current program counter but actually no breakpoint was there Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans - stops at current program counter but actually no breakpoint was there" Watch "Netbeans - stops at current program counter but actually no breakpoint was there" New topic
Author

Netbeans - stops at current program counter but actually no breakpoint was there

Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 590
My program stops at a point where it says current program counter,
There is nothing there. No breakpoints nor any annotation.
Why is that?
Thanks
Jack
E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
You need to provide more information.
Does this only happen when you run the program in an IDE?
Does this only happen when you run the program in debug mode?
What line of code does it hang on?
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 590
E Armitage wrote:You need to provide more information.
Does this only happen when you run the program in an IDE?
Does this only happen when you run the program in debug mode?
What line of code does it hang on?


Hi, it happens only in debug mode.
The program always stops at that location,
I have restarted the Netbeans,
Reboot the machine, recompile to no avail


[current program counter.png]

E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
You can remove breakpoints selectively or all of them by using the shortcut Alt + Shift + 5. See if it appears as one of the break points.
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 590
E Armitage wrote:You can remove breakpoints selectively or all of them by using the shortcut Alt + Shift + 5. See if it appears as one of the break points.


Okay now, thanks it works, I've learned something
 
jQuery in Action, 2nd edition
 
subject: Netbeans - stops at current program counter but actually no breakpoint was there
 
Similar Threads
log4j Vs Eclipse Debugging
Eclipse is not puasing at debug points
Number of words in your name
Eclipse - Breakpoint Hit Count
Basic Eclipse Questions