aspose 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: 601
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: 601
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: 601
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Netbeans - stops at current program counter but actually no breakpoint was there