LibreOffice
LibreOffice 7.4 SDK API Reference
XDebugging.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef __com_sun_star_script_XDebugging_idl__
20 #define __com_sun_star_script_XDebugging_idl__
21 
23 
25 
26 
27 
28  module com { module sun { module star { module script {
29 
34 {
42  long setBreakPoint( [in] string aModuleName,
43  [in] long nSourceCodeLine,
44  [in] boolean bOn );
45 
48  void clearAllBreakPoints( [in] string aModuleName );
49 
60  string eval( [in] string aSourceCode,
61  [in] short nCallStackPos );
62 
65  sequence<string> getStackTrace();
66 
74 
77  string dumpVariable( [in] string aVariableName,
78  [in] short nCallStackPos );
79 
83  void setVariable( [in] string aVariableName,
84  [in] string aValue,
85  [in] short nCallStackPos );
86 
89  boolean isVariable( [in] string aVariableName,
90  [in] short nCallStackPos );
91 
96  void stop();
97 
103  void stepOver();
104 
110  void stepIn();
111 
114  void stepOut();
115 
118  void doContinue();
119 
120 };
121 
122 
123 }; }; }; };
124 
125 #endif
126 
127 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
makes it possible to set breakpoints in an interpreter.
Definition: XDebugging.idl:34
void clearAllBreakPoints([in] string aModuleName)
clears all breakpoints in the module set by "setBreakPoint".
void setVariable([in] string aVariableName, [in] string aValue, [in] short nCallStackPos)
sets the value of the specified variable within the specified stack frame.
void doContinue()
continues the program execution.
long setBreakPoint([in] string aModuleName, [in] long nSourceCodeLine, [in] boolean bOn)
returns the source code line where the breakpoint was set.
void stepOut()
executes the program until the next return from this stack frame.
void stepIn()
executes the next and only the next statement.
void stop()
stops the execution of the interpreter.
string eval([in] string aSourceCode, [in] short nCallStackPos)
Evaluates an expression.
void stepOver()
executes the next and only the next statement.
com::sun::star::script::ContextInformation getContextInformation([in] short nCallStackPos)
returns more detailed information about a specified stack frame.
boolean isVariable([in] string aVariableName, [in] short nCallStackPos)
returns whether the given variable exists within the specified stack frame.
string dumpVariable([in] string aVariableName, [in] short nCallStackPos)
returns the value of the variable at the given stack position.
sequence< string > getStackTrace()
Returns the engine's stack trace of the current execute position.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22
provides information about a certain stack frame.
Definition: ContextInformation.idl:31