|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jde.debugger.JDE
JDE.java Created: Thu Feb 15 12:58:59 2001
Method Summary | |
static void |
commandResult(java.lang.Integer cmdID,
java.lang.String message,
boolean success)
Equivalent to calling commandResult(Integer,
String, boolean, boolean) with the quote argument
set to Protocol.NOQUOTE . |
static void |
commandResult(java.lang.Integer cmdID,
java.lang.String message,
boolean success,
boolean quote)
Sends the result of executing a debugger command to Emacs. |
static void |
debug(int flag,
java.lang.String message)
Send a debugging message to Emacs, for display in the *JDEbug* buffer. |
static void |
setDebugFlags(int flags)
To indicate which of the debugging flags should be set. |
static void |
signal(java.lang.Integer procID,
java.lang.String type,
java.lang.String message)
Equivalent to calling signal(Integer,
String, String, boolean) with the quote argument
set to false. |
static void |
signal(java.lang.Integer procID,
java.lang.String type,
java.lang.String message,
boolean quote)
A method for sending more arbitrary information to Emacs. |
static void |
signalException(java.lang.Throwable exc)
A method for signaling JDEE that an exception occured. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void setDebugFlags(int flags)
JDE.debug()
with that flag will actually be printed.flags
- an int
value with a bitwise OR of the
types of information that are desired.Protocol.NONE
public static void debug(int flag, java.lang.String message)
*JDEbug*
buffer. The message will only be printed
if the flag that is passed in the first argument is set. The
current time is prepended to the message string.flag
- an int
valuemessage
- a String
valueProtocol
,
setDebugFlags(int)
public static void commandResult(java.lang.Integer cmdID, java.lang.String message, boolean success, boolean quote)
quote
argument is set (Protocol.QUOTE
),
double quotes will be added around the message string. The idea
is that if the command result should be a Lisp string, you
should set the quote
argument to get the double
quotes, and otherwise not.cmdID
- the ID of the commandmessage
- a String
valuesuccess
- indicates what to generate, Protocol.COMMAND_RESULT
or Protocol.COMMAND_ERROR
quote
- a boolean
valuepublic static void commandResult(java.lang.Integer cmdID, java.lang.String message, boolean success)
commandResult(Integer,
String, boolean, boolean)
with the quote
argument
set to Protocol.NOQUOTE
.cmdID
- an Integer
valuemessage
- a String
valuesuccess
- a boolean
valuepublic static void signal(java.lang.Integer procID, java.lang.String type, java.lang.String message, boolean quote)
quote
argument is set, double quotes will
added around the message string.procID
- an Integer
valuetype
- a String
value indicating what Lisp
command should be sentmessage
- a String
valuequote
- a boolean
valuepublic static void signalException(java.lang.Throwable exc)
public static void signal(java.lang.Integer procID, java.lang.String type, java.lang.String message)
signal(Integer,
String, String, boolean)
with the quote
argument
set to false.procID
- an Integer
valuetype
- a String
valuemessage
- a String
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |