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

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
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
20
21
22 module com { module sun { module star { module script {
23
27published interface XDebugging: com::sun::star::uno::XInterface
28{
36 long setBreakPoint( [in] string aModuleName,
37 [in] long nSourceCodeLine,
38 [in] boolean bOn );
39
42 void clearAllBreakPoints( [in] string aModuleName );
43
54 string eval( [in] string aSourceCode,
55 [in] short nCallStackPos );
56
59 sequence<string> getStackTrace();
60
67 com::sun::star::script::ContextInformation getContextInformation( [in] short nCallStackPos );
68
71 string dumpVariable( [in] string aVariableName,
72 [in] short nCallStackPos );
73
77 void setVariable( [in] string aVariableName,
78 [in] string aValue,
79 [in] short nCallStackPos );
80
83 boolean isVariable( [in] string aVariableName,
84 [in] short nCallStackPos );
85
90 void stop();
91
97 void stepOver();
98
104 void stepIn();
105
108 void stepOut();
109
112 void doContinue();
113
114};
115
116
117}; }; }; };
118
119/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::script::XDebugging
makes it possible to set breakpoints in an interpreter.
Definition XDebugging.idl:28
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:46
com
Definition Ambiguous.idl:20
com::sun::star::script::ContextInformation
provides information about a certain stack frame.
Definition ContextInformation.idl:29