In Netbeans 7.4, I set a breakpoint at the point where my program quit working and began debugging.
The first print statement printed; second didn't.
In the debugger, execution stopped 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:
Go to menu: Window->Debugging->Call Stack then it should appear in a tab of it's own underneath your code pane.