File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jacky Luk
Ranch Hand
Posts: 634
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 989
9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 634
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
[Thumbnail for current program counter.png]
 
E Armitage
Rancher
Posts: 989
9
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 634
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic