Netbeans Debugging Issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Netbeans Debugging Issue

Jordan Yep
To Netbeans,

I have a question when debugging in Java. Whenver I "step through" my code, Netbeans will open these files such as Scanner.java and BufferedWriter.java as I'm stepping through my code. It's frustating when I'm debugging especailly when I'm just starting to learn how to use Netbeans and Java.

Is there a solution for this?

Jordan Yep
Reply | Threaded
Open this post in threaded view
|

Re: Netbeans Debugging Issue

DERIK DEVECCHIO
There are 5 stepping buttons.   You appear to be using “step into” which will cause functions in “BufferedWriter” and other core libraries to open.
The “Step over” command will step over the entire line of code without opening them.

There are also commands to step over one expression, step out of a method (which means it run until the method returns to the caller), and “run to cursor”.   




On Aug 30, 2017, at 8:49 PM, Jordan Yep <[hidden email]> wrote:

To Netbeans,

I have a question when debugging in Java. Whenver I "step through" my code, Netbeans will open these files such as Scanner.java and BufferedWriter.java as I'm stepping through my code. It's frustating when I'm debugging especailly when I'm just starting to learn how to use Netbeans and Java.

Is there a solution for this?

Jordan Yep