LibreOffice: com/sun/star/script/XDebugging.idl Source File

LibreOffice LibreOffice 7.3 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
22#include <com/sun/star/uno/XInterface.idl>
23
24#include <com/sun/star/script/ContextInformation.idl>
25
26
27
28 module com { module sun { module star { module script {
29
33published interface XDebugging: com::sun::star::uno::XInterface
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
73 com::sun::star::script::ContextInformation getContextInformation( [in] short nCallStackPos );
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: */
ContextInformation.idl
XInterface.idl
com::sun::star::script::XDebugging
makes it possible to set breakpoints in an interpreter.
Definition: XDebugging.idl:34
com::sun::star::script::XDebugging::clearAllBreakPoints
void clearAllBreakPoints([in] string aModuleName)
clears all breakpoints in the module set by "setBreakPoint".
com::sun::star::script::XDebugging::getStackTrace
sequence< string > getStackTrace()
Returns the engine's stack trace of the current execute position.
com::sun::star::script::XDebugging::setVariable
void setVariable([in] string aVariableName, [in] string aValue, [in] short nCallStackPos)
sets the value of the specified variable within the specified stack frame.
com::sun::star::script::XDebugging::doContinue
void doContinue()
continues the program execution.
com::sun::star::script::XDebugging::setBreakPoint
long setBreakPoint([in] string aModuleName, [in] long nSourceCodeLine, [in] boolean bOn)
returns the source code line where the breakpoint was set.
com::sun::star::script::XDebugging::stepOut
void stepOut()
executes the program until the next return from this stack frame.
com::sun::star::script::XDebugging::stepIn
void stepIn()
executes the next and only the next statement.
com::sun::star::script::XDebugging::stop
void stop()
stops the execution of the interpreter.
com::sun::star::script::XDebugging::eval
string eval([in] string aSourceCode, [in] short nCallStackPos)
Evaluates an expression.
com::sun::star::script::XDebugging::stepOver
void stepOver()
executes the next and only the next statement.
com::sun::star::script::XDebugging::getContextInformation
com::sun::star::script::ContextInformation getContextInformation([in] short nCallStackPos)
returns more detailed information about a specified stack frame.
com::sun::star::script::XDebugging::isVariable
boolean isVariable([in] string aVariableName, [in] short nCallStackPos)
returns whether the given variable exists within the specified stack frame.
com::sun::star::script::XDebugging::dumpVariable
string dumpVariable([in] string aVariableName, [in] short nCallStackPos)
returns the value of the variable at the given stack position.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Ambiguous.idl:22
com::sun::star::script::ContextInformation
provides information about a certain stack frame.
Definition: ContextInformation.idl:31