Stack trace not found in Output during Netbeans 7.4 debugging session

1.6k views Asked by At

In Netbeans 7.4, I set a breakpoint at the point where my program quit working and began debugging.

enter image description here

The first print statement printed; second didn't.

In the debugger, execution stopped here:

enter image description here

Even after I selected Continue (F5) from the Debug pulldown, there was no stack trace in the output, so I was stumped about where the error actually occurred.

So I ran again but did NOT debug. I found a stack trace; problem easily solved.

Why didn't I get one while debugging? Is this just how it is in Netbeans when debugging?

* EDIT *

As it happens, the exception was that availableLetters was null. I fixed the problem via the if statement below, but that doesn't answer my question:

enter image description here

1

There are 1 answers

2
Jim W On

Go to menu: Window->Debugging->Call Stack then it should appear in a tab of it's own underneath your code pane.