13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

150Chapter 5The Sun Microsystems Java Software <str<strong>on</strong>g>Development</str<strong>on</strong>g> Kituntrace methods [thread] -- stop tracing method entry and exitstep-- execute current linestep up-- execute until the current method returns to its callerstepi-- execute current instructi<strong>on</strong>next-- step <strong>on</strong>e line (step OVER calls)c<strong>on</strong>t-- c<strong>on</strong>tinue executi<strong>on</strong> from breakpointlist [line number|method] -- print source codeuse (or sourcepath) [source file path]-- display or change the source pathexclude [class id ... | "n<strong>on</strong>e"]-- do not report step or method events for specified classesclasspath-- print classpath info from target VMm<strong>on</strong>itor m<strong>on</strong>itorunm<strong>on</strong>itor read lock threadlocks [thread id]-- execute command each time the program stops-- list m<strong>on</strong>itors-- delete a m<strong>on</strong>itor-- read and execute a command file-- print lock info for an object-- print lock info for a threadpop-- pop the stack through and including the current framereenter-- same as pop, but current frame is reenteredredefine -- redefine the code for a classdisablegc enablegc -- prevent garbage collecti<strong>on</strong> of an object-- permit garbage collecti<strong>on</strong> of an object!! -- repeat last command -- repeat command n timeshelp (or ?)-- list commandsversi<strong>on</strong>-- print versi<strong>on</strong> informati<strong>on</strong>exit (or quit)-- exit debugger or : full class name with packagequalifiers or a pattern with a leading or trailing wildcard ('*')NOTE: any wildcard pattern will be replaced by at most <strong>on</strong>e full classname matching the pattern.: thread number as reported in the 'threads' command: a Java(tm) Programming Language expressi<strong>on</strong>.Most comm<strong>on</strong> syntax is supported.Startup commands can be placed in either "jdb.ini" or ".jdbrc"in user.home or user.dir>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!