jde.debugger.command
Class Break
java.lang.Object
|
+--jde.debugger.command.DebugCommand
|
+--jde.debugger.command.DebugProcessCommand
|
+--jde.debugger.command.Break
- All Implemented Interfaces:
- java.lang.Cloneable, Protocol
- public class Break
- extends DebugProcessCommand
'break' command.
Syntax:
break in_method
class method [(args)]
[thread-restriction
]
[expression-restriction
]
[suspend-policy
]
break on_line
class line
[thread-restriction
]
[expression-restriction
]
[suspend-policy
]
break absolute
file line
[thread-restriction
]
[expression-restriction
]
[suspend-policy
]
Returns:
(jde-dbo-command-result cmdID specID)
Comments:
- There are exactly three kinds of 'break' commands. One
of in_method, on_line, or absolute need to be used.
- 'class' can be a string pattern of the type *.Test
- specID is a 'long', that can be used in 'clear' commands.
Copyright (c) 2000, 2001, 2003 Paul Kinnucan
- Version:
- $Revision: 1.2 $
- Author:
- Paul Kinnucan
- See Also:
jde.debugger.EventHandler#breakpointEvent(BreakpointEvent)
Fields inherited from interface jde.debugger.Protocol |
APP_IO, ATTACH_SHMEM, ATTACH_SOCKET, BR, BREAK, CANCEL_TRACE_CLASSES, CANCEL_TRACE_METHODS, CANCEL_TRACE_THREADS, CLEAR, CMD_NOK, CMD_OK, COMMAND_ERROR, COMMAND_RESULT, COMMANDS, CONNECTED_TO_VM, DEBUG, ERROR, EVALUATE, EVENT_BREAKPOINT_HIT, EVENT_CLASS_PREPARE, EVENT_CLASS_UNLOAD, EVENT_EXCEPTION, EVENT_METHOD_ENTRY, EVENT_METHOD_EXIT, EVENT_OTHER, EVENT_STEP_COMPLETED, EVENT_THREAD_DEATH, EVENT_THREAD_START, EVENT_VM_DEATH, EVENT_VM_DISCONNECT, EVENT_VM_START, EVENT_WATCHPOINT_HIT, EVENTS, EVENTSET, EXCEPTION, EXIT, FINISH, FRAMEWORK, GET_ARRAY, GET_LOADED_CLASSES, GET_LOCALS, GET_OBJECT, GET_OBJECT_MONITORS, GET_PATH_INFORMATION, GET_STRING, GET_THREAD, GET_THREADS, GUI, INTERRUPT, INVALID, JDE_BUG, JDE_INIT_DEBUG_SESSION, JDE_PIPE, KILL_THREAD, LAUNCH, LISTEN_SHMEM, LISTEN_SOCKET, MESSAGE, NONE, NOQUOTE, QUIT, QUOTE, REPORT_IDS_IN_USE, RESUME, RUN, SPEC_RESOLVED, STEP, SUSPEND, TRACE_CLASSES, TRACE_EXCEPTIONS, TRACE_METHODS, TRACE_THREADS, WARNING, WATCH |
Constructor Summary |
Break()
|
Method Summary |
java.lang.Object |
clone()
|
void |
doBreakAbsolute(java.util.List args)
A break on a line of a given source file |
void |
doBreakInMethod(java.util.List args)
A break in a particular method. |
void |
doBreakOnLine(java.util.List args)
A break on a particular line of a class |
void |
doCommand()
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Break
public Break()
doCommand
public void doCommand()
throws JDEException
- Overrides:
doCommand
in class DebugCommand
- Throws:
JDEException
-
doBreakInMethod
public void doBreakInMethod(java.util.List args)
throws JDEException
- A break in a particular method.
Syntax:
break in_method class method [(arg1,arg2,...)]
[thread-restriction
]
[expression-restriction
]
[suspend-policy
]
Comments:
- There should be no spaces before or after the ','; when
the arguments are supplied.
- A void method should be indicated by
()
- A unique method doesn't need to supply the arguments. The
entire argument list should be absent in this case.
doBreakOnLine
public void doBreakOnLine(java.util.List args)
throws JDEException
- A break on a particular line of a class
doBreakAbsolute
public void doBreakAbsolute(java.util.List args)
throws JDEException
- A break on a line of a given source file
clone
public java.lang.Object clone()
- Overrides:
clone
in class DebugCommand