Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: script ::
deprecated
interface XDebugging
Usage Restrictions
deprecated
Description
makes it possible to set breakpoints in an interpreter.
Methods' Summary
setBreakPoint
returns the source code line where the breakpoint was set.
clearAllBreakPoints
clears all breakpoints in the module set by "setBreakPoint".
eval
Evaluates an expression.
getStackTrace
Returns the engine's stack trace of the current execute position. Line break is the delimiter.
getContextInformation
returns more detailed information about a specified stack frame.
dumpVariable
returns the value of the variable at the given stack position.
setVariable
sets the value of the specified variable within the specified
stack frame.
isVariable
returns whether the given variable exists within the specified stack frame.
stop
stops the execution of the interpreter.
stepOver
executes the next and only the next statement.
stepIn
executes the next and only the next statement.
stepOut
executes the program until the next return from this stack frame.
doContinue
continues the program execution.
Methods' Details
setBreakPoint
long
setBreakPoint (
[in] string
aModuleName,
[in] long
nSourceCodeLine,
[in] boolean
bOn );
Description
returns the source code line where the breakpoint was set.
The value can differ from the parameter
nSourceCodeLine when this is not a valid line to
place it. -1 indicates that the breakpoint cannot be set at
this position.
clearAllBreakPoints
void
clearAllBreakPoints (
[in] string
aModuleName );
Description
clears all breakpoints in the module set by "setBreakPoint".
eval
string
eval (
[in] string
aSourceCode,
[in] short
nCallStackPos );
Description
Evaluates an expression.
Returns
the value of the expression as string.
Parameter CallStackPos
Position in the call stack for which the expression
should be evaluated. 0 is the top/actual position in the call
in the call stack, 1 the next and so on.
getStackTrace
sequence< string >
getStackTrace ();
Description
Returns the engine's stack trace of the current execute position. Line break is the delimiter.
getContextInformation
Description
returns more detailed information about a specified stack frame.
Parameter nCallStackPos
specifies the position in the call stack for the
variables that should be delivered.
dumpVariable
string
dumpVariable (
[in] string
aVariableName,
[in] short
nCallStackPos );
Description
returns the value of the variable at the given stack position.
setVariable
void
setVariable (
[in] string
aVariableName,
[in] string
aValue,
[in] short
nCallStackPos );
Description
sets the value of the specified variable within the specified
stack frame.
isVariable
boolean
isVariable (
[in] string
aVariableName,
[in] short
nCallStackPos );
Description
returns whether the given variable exists within the specified stack frame.
stop
Description
stops the execution of the interpreter.
To continue with the execution, call XDebugging::doContinue .
stepOver
Description
executes the next and only the next statement.
If the next statement is a function call, the function is
executed completely.
stepIn
Description
executes the next and only the next statement.
If the next statement is a function call, only the function
entered.
stepOut
Description
executes the program until the next return from this stack frame.
doContinue
Description
continues the program execution.
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.