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:

Copyright (c) 2000, 2001, 2003 Paul Kinnucan

Version:
$Revision: 1.2 $
Author:
Paul Kinnucan
See Also:
jde.debugger.EventHandler#breakpointEvent(BreakpointEvent)

Fields inherited from class jde.debugger.command.DebugProcessCommand
m_debugger
 
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 jde.debugger.command.DebugProcessCommand
getDebugger, init, setDebugger
 
Methods inherited from class jde.debugger.command.DebugCommand
equals, getID, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Break

public Break()
Method Detail

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:

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