File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 580
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: 761
    
    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: 580
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: 761
    
    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: 580
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Netbeans - stops at current program counter but actually no breakpoint was there
 
Similar Threads
Basic Eclipse Questions
Number of words in your name
Eclipse - Breakpoint Hit Count
log4j Vs Eclipse Debugging
Eclipse is not puasing at debug points