|
@@ -52,7 +52,7 @@ See also:
|
|
|
In the jMonkeyEngine SDK, you have access to a debugger to examine your application for errors such as deadlocks and NullPointerExeptions. You can set breakpoints, watch variables, and execute your code line-by-line to identify the source of a problem.
|
|
|
|
|
|
. First, you set breakpoints and/or watches before the problematic lines of code where you suspect the bug.
|
|
|
-** If you want to watch a variable's value: Right-click on a variable and select New Watch from the context menu.
|
|
|
+** If you want to watch a variable's value: btn:[RMB] click on a variable and select New Watch from the context menu.
|
|
|
** If you want to step through the execution line by line: btn:[RMB] click on a line and choose "`Toggle Line Breakpoint`"; a pink box appears as a mark.
|
|
|
|
|
|
. Choose menu:Debug[Debug Main Project] to start a debugger session for the whole project. Or, btn:[RMB] click a file and select "`Debug File`" to debug only one file.
|