| 1 | /**************************************************************************** |
| 2 | ** |
| 3 | ** Copyright (C) 2018 The Qt Company Ltd. |
| 4 | ** Contact: https://www.qt.io/licensing/ |
| 5 | ** |
| 6 | ** This file is part of the QtSCriptTools module of the Qt Toolkit. |
| 7 | ** |
| 8 | ** $QT_BEGIN_LICENSE:LGPL$ |
| 9 | ** Commercial License Usage |
| 10 | ** Licensees holding valid commercial Qt licenses may use this file in |
| 11 | ** accordance with the commercial license agreement provided with the |
| 12 | ** Software or, alternatively, in accordance with the terms contained in |
| 13 | ** a written agreement between you and The Qt Company. For licensing terms |
| 14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 | ** information use the contact form at https://www.qt.io/contact-us. |
| 16 | ** |
| 17 | ** GNU Lesser General Public License Usage |
| 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
| 19 | ** General Public License version 3 as published by the Free Software |
| 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
| 21 | ** packaging of this file. Please review the following information to |
| 22 | ** ensure the GNU Lesser General Public License version 3 requirements |
| 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
| 24 | ** |
| 25 | ** GNU General Public License Usage |
| 26 | ** Alternatively, this file may be used under the terms of the GNU |
| 27 | ** General Public License version 2.0 or (at your option) the GNU General |
| 28 | ** Public license version 3 or any later version approved by the KDE Free |
| 29 | ** Qt Foundation. The licenses are as published by the Free Software |
| 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
| 31 | ** included in the packaging of this file. Please review the following |
| 32 | ** information to ensure the GNU General Public License requirements will |
| 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
| 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
| 35 | ** |
| 36 | ** $QT_END_LICENSE$ |
| 37 | ** |
| 38 | ****************************************************************************/ |
| 39 | |
| 40 | #include "qscriptdebugger_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebugger_p.h`/ |
| 41 | #include "qscriptdebuggerconsole_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerconsole_p.h`/ |
| 42 | #include "qscriptdebuggerconsolecommandmanager_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerconsolecommandmanager_p.h`/ |
| 43 | #include "qscriptdebuggerconsolecommandjob_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerconsolecommandjob_p.h`/ |
| 44 | #include "qscriptstdmessagehandler_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptstdmessagehandler_p.h`/ |
| 45 | #include "qscriptdebuggerfrontend_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerfrontend_p.h`/ |
| 46 | #include "qscriptdebuggereventhandlerinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggereventhandlerinterface_p.h`/ |
| 47 | #include "qscriptdebuggerresponsehandlerinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerresponsehandlerinterface_p.h`/ |
| 48 | #include "qscriptdebuggerjobschedulerinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerjobschedulerinterface_p.h`/ |
| 49 | #include "qscriptdebuggerconsolewidgetinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerconsolewidgetinterface_p.h`/ |
| 50 | #include "qscriptcompletionproviderinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptcompletionproviderinterface_p.h`/ |
| 51 | #include "qscriptcompletiontask_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptcompletiontask_p.h`/ |
| 52 | #include "qscripttooltipproviderinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscripttooltipproviderinterface_p.h`/ |
| 53 | #include "qscriptdebuggerstackwidgetinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerstackwidgetinterface_p.h`/ |
| 54 | #include "qscriptdebuggerstackmodel_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerstackmodel_p.h`/ |
| 55 | #include "qscriptdebuggerscriptswidgetinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerscriptswidgetinterface_p.h`/ |
| 56 | #include "qscriptdebuggerscriptsmodel_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerscriptsmodel_p.h`/ |
| 57 | #include "qscriptdebuggerlocalswidgetinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerlocalswidgetinterface_p.h`/ |
| 58 | #include "qscriptdebuggerlocalsmodel_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerlocalsmodel_p.h`/ |
| 59 | #include "qscriptdebuggercodewidgetinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggercodewidgetinterface_p.h`/ |
| 60 | #include "qscriptdebuggercodeviewinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggercodeviewinterface_p.h`/ |
| 61 | #include "qscriptdebuggercodefinderwidgetinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggercodefinderwidgetinterface_p.h`/ |
| 62 | #include "qscriptbreakpointswidgetinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptbreakpointswidgetinterface_p.h`/ |
| 63 | #include "qscriptbreakpointsmodel_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptbreakpointsmodel_p.h`/ |
| 64 | #include "qscriptdebugoutputwidgetinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebugoutputwidgetinterface_p.h`/ |
| 65 | #include "qscripterrorlogwidgetinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscripterrorlogwidgetinterface_p.h`/ |
| 66 | #include "qscriptdebuggerwidgetfactoryinterface_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerwidgetfactoryinterface_p.h`/ |
| 67 | #include "qscriptdebuggerevent_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerevent_p.h`/ |
| 68 | #include "qscriptdebuggervalue_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggervalue_p.h`/ |
| 69 | #include "qscriptdebuggerresponse_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerresponse_p.h`/ |
| 70 | #include "qscriptdebuggercommand_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggercommand_p.h`/ |
| 71 | #include "qscriptdebuggercommandschedulerfrontend_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggercommandschedulerfrontend_p.h`/ |
| 72 | #include "qscriptdebuggercommandschedulerjob_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggercommandschedulerjob_p.h`/ |
| 73 | #include "qscriptdebuggerjob_p_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerjob_p_p.h`/ |
| 74 | #include "qscriptxmlparser_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptxmlparser_p.h`/ |
| 75 | |
| 76 | #include "private/qobject_p.h" |
| 77 | |
| 78 | #include <QtScript/qscriptcontext.h>cxx . . $ `<file>/include/QtScript/qscriptcontext.h`/ |
| 79 | #include <QtScript/qscriptcontextinfo.h>cxx . . $ `<file>/include/QtScript/qscriptcontextinfo.h`/ |
| 80 | |
| 81 | #include <QtCore/qcoreapplication.h> |
| 82 | #include <QtCore/qdir.h> |
| 83 | #include <QtCore/qfileinfo.h> |
| 84 | #include <QtCore/qstringlist.h> |
| 85 | #include <QtCore/qdebug.h> |
| 86 | |
| 87 | #include <QtWidgets/qaction.h> |
| 88 | #include <QtGui/qevent.h> |
| 89 | #include <QtGui/qicon.h> |
| 90 | #include <QtWidgets/qinputdialog.h> |
| 91 | #include <QtWidgets/qmenu.h> |
| 92 | #include <QtWidgets/qtoolbar.h> |
| 93 | #include <QtWidgets/qtooltip.h> |
| 94 | |
| 95 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`! |
| 96 | typedef QPaircxx . . $ QPair#<QListcxx . . $ QList#<qint64cxx . . $ qint64#>, QListcxx . . $ QList#<qint64cxx . . $ qint64#> > QScriptScriptsDeltacxx . . $ QScriptScriptsDelta#; |
| 97 | typedef QPaircxx . . $ QPair#<QListcxx . . $ QList#<qint64cxx . . $ qint64#>, QListcxx . . $ QList#<qint64cxx . . $ qint64#> > QScriptContextsDeltacxx . . $ QScriptContextsDelta#; |
| 98 | QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`! |
| 99 | |
| 100 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptScriptsDelta) |
| 101 | |
| 102 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`! |
| 103 | |
| 104 | Q_SCRIPT_EXPORTcxx . . $ `src/script/api/qtscriptglobal.h:51:13`! QStringcxx . . $ QString# qt_scriptToXmlcxx . . $ qt_scriptToXml(28db0a4afda64396).(const QStringcxx . . $ QString# &program, int lineNumber = 1); |
| 105 | |
| 106 | namespacecxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ { |
| 107 | |
| 108 | static int scriptDebuggerCountcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/scriptDebuggerCount. = 0; |
| 109 | static bool eventCallbackRegisteredcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/eventCallbackRegistered. = false; |
| 110 | static bool widgetInPaintEventcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/widgetInPaintEvent. = false; |
| 111 | |
| 112 | static bool scriptDebuggerEventCallbackcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/scriptDebuggerEventCallback(c9f66a34bf16b03b).(void **data) |
| 113 | { |
| 114 | QEventcxx . . $ QEvent# *event = reinterpret_cast<QEventcxx . . $ QEvent#*>(data[1]); |
| 115 | if (event->typecxx . . $ QEvent#type(916a8de57f4d422b).() == QEventcxx . . $ QEvent#::Paintcxx . . $ QEvent#Paint.) { |
| 116 | QObjectcxx . . $ QObject# *receiver = reinterpret_cast<QObjectcxx . . $ QObject#*>(data[0]); |
| 117 | bool was = widgetInPaintEventcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/widgetInPaintEvent.; |
| 118 | widgetInPaintEventcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/widgetInPaintEvent. = true; |
| 119 | QCoreApplicationcxx . . $ QCoreApplication#::instancecxx . . $ QCoreApplication#instance(d43115d48568c255).()->notifycxx . . $ QCoreApplication#notify(978aa4af1d030efa).(receiver, event); |
| 120 | widgetInPaintEventcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/widgetInPaintEvent. = was; |
| 121 | bool *result = reinterpret_cast<bool*>(data[2]); |
| 122 | *result = true; |
| 123 | return true; |
| 124 | } |
| 125 | return false; |
| 126 | } |
| 127 | |
| 128 | } |
| 129 | |
| 130 | /*! |
| 131 | \since 4.5 |
| 132 | \class QScriptDebugger |
| 133 | \internal |
| 134 | |
| 135 | \brief The QScriptDebugger class provides a Qt Script debugger. |
| 136 | |
| 137 | \ingroup script |
| 138 | */ |
| 139 | |
| 140 | class QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# |
| 141 | : public QObjectPrivatecxx . . $ QObjectPrivate#, |
| 142 | public QScriptDebuggerCommandSchedulerInterfacecxx . . $ QScriptDebuggerCommandSchedulerInterface#, |
| 143 | public QScriptDebuggerJobSchedulerInterfacecxx . . $ QScriptDebuggerJobSchedulerInterface#, |
| 144 | public QScriptDebuggerEventHandlerInterfacecxx . . $ QScriptDebuggerEventHandlerInterface#, |
| 145 | public QScriptDebuggerResponseHandlerInterfacecxx . . $ QScriptDebuggerResponseHandlerInterface#, |
| 146 | public QScriptCompletionProviderInterfacecxx . . $ QScriptCompletionProviderInterface#, |
| 147 | public QScriptToolTipProviderInterfacecxx . . $ QScriptToolTipProviderInterface# |
| 148 | { |
| 149 | Q_DECLARE_PUBLICcxx . . $ `<external>/15045578679651060896/qglobal.h:1172:9`!(QScriptDebugger) |
| 150 | public: |
| 151 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#QScriptDebuggerPrivate(49f6e7a06ebc5aa8).(); |
| 152 | ~cxx . . $ QScriptDebuggerPrivate#`~QScriptDebuggerPrivate`(ced63f7c635d850d).QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#(); |
| 153 | |
| 154 | int scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job); |
| 155 | void finishJobcxx . . $ QScriptDebuggerPrivate#finishJob(de54e05dbfc93a08).(QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job); |
| 156 | void hibernateUntilEvaluateFinishedcxx . . $ QScriptDebuggerPrivate#hibernateUntilEvaluateFinished(de54e05dbfc93a08).(QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job); |
| 157 | |
| 158 | void maybeStartNewJobcxx . . $ QScriptDebuggerPrivate#maybeStartNewJob(49f6e7a06ebc5aa8).(); |
| 159 | |
| 160 | int scheduleCommandcxx . . $ QScriptDebuggerPrivate#scheduleCommand(268dc3118bedc5a6).(const QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand# &command, |
| 161 | QScriptDebuggerResponseHandlerInterfacecxx . . $ QScriptDebuggerResponseHandlerInterface# *responseHandler); |
| 162 | |
| 163 | void handleResponsecxx . . $ QScriptDebuggerPrivate#handleResponse(46b5ea012c87a176).( |
| 164 | const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, int commandId); |
| 165 | bool debuggerEventcxx . . $ QScriptDebuggerPrivate#debuggerEvent(638909683c8aa233).(const QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent# &event); |
| 166 | |
| 167 | QScriptCompletionTaskInterfacecxx . . $ QScriptCompletionTaskInterface# *createCompletionTaskcxx . . $ QScriptDebuggerPrivate#createCompletionTask(ac7591ebc87b4ce1).( |
| 168 | const QStringcxx . . $ QString# &contents, int cursorPosition, int frameIndex, int options); |
| 169 | |
| 170 | void showToolTipcxx . . $ QScriptDebuggerPrivate#showToolTip(e1adfe7e85c4c396).(const QPointcxx . . $ QPoint# &pos, int frameIndex, |
| 171 | int lineNumber, const QStringListcxx . . $ QStringList# &path); |
| 172 | |
| 173 | static QPixmapcxx . . $ QPixmap# pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(const QStringcxx . . $ QString# &path); |
| 174 | |
| 175 | void startInteractioncxx . . $ QScriptDebuggerPrivate#startInteraction(5282ad483646d81b).(QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::Typecxx . . $ QScriptDebuggerEvent#Type# type, |
| 176 | qint64cxx . . $ qint64# scriptId, int lineNumber); |
| 177 | void synccxx . . $ QScriptDebuggerPrivate#sync(49f6e7a06ebc5aa8).(); |
| 178 | void loadLocalscxx . . $ QScriptDebuggerPrivate#loadLocals(d4f767463ce0a6b3).(int frameIndex); |
| 179 | QScriptDebuggerLocalsModelcxx . . $ QScriptDebuggerLocalsModel# *createLocalsModelcxx . . $ QScriptDebuggerPrivate#createLocalsModel(a877a4090058ae2c).(); |
| 180 | void selectScriptForFramecxx . . $ QScriptDebuggerPrivate#selectScriptForFrame(d4f767463ce0a6b3).(int frameIndex); |
| 181 | void emitStoppedSignalcxx . . $ QScriptDebuggerPrivate#emitStoppedSignal(49f6e7a06ebc5aa8).(); |
| 182 | |
| 183 | void maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *widget); |
| 184 | |
| 185 | // private slots |
| 186 | void _q_onLineEnteredcxx . . $ QScriptDebuggerPrivate#_q_onLineEntered(3520e46b33348bf6).(const QStringcxx . . $ QString# &contents); |
| 187 | void _q_onCurrentFrameChangedcxx . . $ QScriptDebuggerPrivate#_q_onCurrentFrameChanged(d4f767463ce0a6b3).(int frameIndex); |
| 188 | void _q_onCurrentScriptChangedcxx . . $ QScriptDebuggerPrivate#_q_onCurrentScriptChanged(35cb52607f6af42f).(qint64cxx . . $ qint64# scriptId); |
| 189 | void _q_onScriptLocationSelectedcxx . . $ QScriptDebuggerPrivate#_q_onScriptLocationSelected(d4f767463ce0a6b3).(int lineNumber); |
| 190 | void _q_interruptcxx . . $ QScriptDebuggerPrivate#_q_interrupt(49f6e7a06ebc5aa8).(); |
| 191 | void _q_continuecxx . . $ QScriptDebuggerPrivate#_q_continue(49f6e7a06ebc5aa8).(); |
| 192 | void _q_stepIntocxx . . $ QScriptDebuggerPrivate#_q_stepInto(49f6e7a06ebc5aa8).(); |
| 193 | void _q_stepOvercxx . . $ QScriptDebuggerPrivate#_q_stepOver(49f6e7a06ebc5aa8).(); |
| 194 | void _q_stepOutcxx . . $ QScriptDebuggerPrivate#_q_stepOut(49f6e7a06ebc5aa8).(); |
| 195 | void _q_runToCursorcxx . . $ QScriptDebuggerPrivate#_q_runToCursor(49f6e7a06ebc5aa8).(); |
| 196 | void _q_runToNewScriptcxx . . $ QScriptDebuggerPrivate#_q_runToNewScript(49f6e7a06ebc5aa8).(); |
| 197 | void _q_toggleBreakpointcxx . . $ QScriptDebuggerPrivate#_q_toggleBreakpoint(49f6e7a06ebc5aa8).(); |
| 198 | void _q_clearDebugOutputcxx . . $ QScriptDebuggerPrivate#_q_clearDebugOutput(49f6e7a06ebc5aa8).(); |
| 199 | void _q_clearErrorLogcxx . . $ QScriptDebuggerPrivate#_q_clearErrorLog(49f6e7a06ebc5aa8).(); |
| 200 | void _q_clearConsolecxx . . $ QScriptDebuggerPrivate#_q_clearConsole(49f6e7a06ebc5aa8).(); |
| 201 | void _q_findInScriptcxx . . $ QScriptDebuggerPrivate#_q_findInScript(49f6e7a06ebc5aa8).(); |
| 202 | void _q_findNextInScriptcxx . . $ QScriptDebuggerPrivate#_q_findNextInScript(49f6e7a06ebc5aa8).(); |
| 203 | void _q_findPreviousInScriptcxx . . $ QScriptDebuggerPrivate#_q_findPreviousInScript(49f6e7a06ebc5aa8).(); |
| 204 | void _q_onFindCodeRequestcxx . . $ QScriptDebuggerPrivate#_q_onFindCodeRequest(29ed8fcd127906b1).(const QStringcxx . . $ QString# &, int); |
| 205 | void _q_goToLinecxx . . $ QScriptDebuggerPrivate#_q_goToLine(49f6e7a06ebc5aa8).(); |
| 206 | |
| 207 | void executeConsoleCommandcxx . . $ QScriptDebuggerPrivate#executeConsoleCommand(3520e46b33348bf6).(const QStringcxx . . $ QString# &command); |
| 208 | void findCodecxx . . $ QScriptDebuggerPrivate#findCode(29ed8fcd127906b1).(const QStringcxx . . $ QString# &exp, int options); |
| 209 | |
| 210 | QScriptDebuggerFrontendcxx . . $ QScriptDebuggerFrontend# *frontendcxx . . $ QScriptDebuggerPrivate#frontend.; |
| 211 | |
| 212 | bool interactivecxx . . $ QScriptDebuggerPrivate#interactive.; |
| 213 | QScriptDebuggerConsolecxx . . $ QScriptDebuggerConsole# *consolecxx . . $ QScriptDebuggerPrivate#console.; |
| 214 | |
| 215 | int nextJobIdcxx . . $ QScriptDebuggerPrivate#nextJobId.; |
| 216 | QListcxx . . $ QList#<QScriptDebuggerJobcxx . . $ QScriptDebuggerJob#*> pendingJobscxx . . $ QScriptDebuggerPrivate#pendingJobs.; |
| 217 | QListcxx . . $ QList#<int> pendingJobIdscxx . . $ QScriptDebuggerPrivate#pendingJobIds.; |
| 218 | QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *activeJobcxx . . $ QScriptDebuggerPrivate#activeJob.; |
| 219 | bool activeJobHibernatingcxx . . $ QScriptDebuggerPrivate#activeJobHibernating.; |
| 220 | QHashcxx . . $ QHash#<int, QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand#> watchedCommandscxx . . $ QScriptDebuggerPrivate#watchedCommands.; |
| 221 | QHashcxx . . $ QHash#<int, QScriptDebuggerResponseHandlerInterfacecxx . . $ QScriptDebuggerResponseHandlerInterface#*> responseHandlerscxx . . $ QScriptDebuggerPrivate#responseHandlers.; |
| 222 | |
| 223 | QScriptDebuggerConsoleWidgetInterfacecxx . . $ QScriptDebuggerConsoleWidgetInterface# *consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.; |
| 224 | QScriptDebuggerStackWidgetInterfacecxx . . $ QScriptDebuggerStackWidgetInterface# *stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.; |
| 225 | QScriptDebuggerStackModelcxx . . $ QScriptDebuggerStackModel# *stackModelcxx . . $ QScriptDebuggerPrivate#stackModel.; |
| 226 | QScriptDebuggerScriptsWidgetInterfacecxx . . $ QScriptDebuggerScriptsWidgetInterface# *scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget.; |
| 227 | QScriptDebuggerScriptsModelcxx . . $ QScriptDebuggerScriptsModel# *scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.; |
| 228 | QScriptDebuggerLocalsWidgetInterfacecxx . . $ QScriptDebuggerLocalsWidgetInterface# *localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.; |
| 229 | QHashcxx . . $ QHash#<int, QScriptDebuggerLocalsModelcxx . . $ QScriptDebuggerLocalsModel#*> localsModelscxx . . $ QScriptDebuggerPrivate#localsModels.; |
| 230 | QScriptDebuggerCodeWidgetInterfacecxx . . $ QScriptDebuggerCodeWidgetInterface# *codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.; |
| 231 | QScriptDebuggerCodeFinderWidgetInterfacecxx . . $ QScriptDebuggerCodeFinderWidgetInterface# *codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.; |
| 232 | QScriptBreakpointsWidgetInterfacecxx . . $ QScriptBreakpointsWidgetInterface# *breakpointsWidgetcxx . . $ QScriptDebuggerPrivate#breakpointsWidget.; |
| 233 | QScriptBreakpointsModelcxx . . $ QScriptBreakpointsModel# *breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.; |
| 234 | QScriptDebugOutputWidgetInterfacecxx . . $ QScriptDebugOutputWidgetInterface# *debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget.; |
| 235 | QScriptErrorLogWidgetInterfacecxx . . $ QScriptErrorLogWidgetInterface# *errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.; |
| 236 | QScriptDebuggerWidgetFactoryInterfacecxx . . $ QScriptDebuggerWidgetFactoryInterface# *widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.; |
| 237 | |
| 238 | QActioncxx . . $ QAction# *interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction.; |
| 239 | QActioncxx . . $ QAction# *continueActioncxx . . $ QScriptDebuggerPrivate#continueAction.; |
| 240 | QActioncxx . . $ QAction# *stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction.; |
| 241 | QActioncxx . . $ QAction# *stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction.; |
| 242 | QActioncxx . . $ QAction# *stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction.; |
| 243 | QActioncxx . . $ QAction# *runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction.; |
| 244 | QActioncxx . . $ QAction# *runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction.; |
| 245 | |
| 246 | QActioncxx . . $ QAction# *toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction.; |
| 247 | |
| 248 | QActioncxx . . $ QAction# *clearDebugOutputActioncxx . . $ QScriptDebuggerPrivate#clearDebugOutputAction.; |
| 249 | QActioncxx . . $ QAction# *clearErrorLogActioncxx . . $ QScriptDebuggerPrivate#clearErrorLogAction.; |
| 250 | QActioncxx . . $ QAction# *clearConsoleActioncxx . . $ QScriptDebuggerPrivate#clearConsoleAction.; |
| 251 | |
| 252 | QActioncxx . . $ QAction# *findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.; |
| 253 | QActioncxx . . $ QAction# *findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction.; |
| 254 | QActioncxx . . $ QAction# *findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction.; |
| 255 | QActioncxx . . $ QAction# *goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction.; |
| 256 | |
| 257 | int updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId.; |
| 258 | }; |
| 259 | |
| 260 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#QScriptDebuggerPrivate(49f6e7a06ebc5aa8).() |
| 261 | { |
| 262 | frontendcxx . . $ QScriptDebuggerPrivate#frontend. = 0; |
| 263 | activeJobcxx . . $ QScriptDebuggerPrivate#activeJob. = 0; |
| 264 | activeJobHibernatingcxx . . $ QScriptDebuggerPrivate#activeJobHibernating. = false; |
| 265 | nextJobIdcxx . . $ QScriptDebuggerPrivate#nextJobId. = 0; |
| 266 | interactivecxx . . $ QScriptDebuggerPrivate#interactive. = false; |
| 267 | |
| 268 | consolecxx . . $ QScriptDebuggerPrivate#console. = new QScriptDebuggerConsolecxx . . $ QScriptDebuggerConsole#(); |
| 269 | QStringcxx . . $ QString# scriptsPath = QLatin1Stringcxx . . $ QString#QString(4641beeb24e75d60).(":/qt/scripttools/debugging/scripts/commands"); |
| 270 | QScriptStdMessageHandlercxx . . $ QScriptStdMessageHandler# tmpcxx . . $ QScriptStdMessageHandler#QScriptStdMessageHandler(49f6e7a06ebc5aa8).; |
| 271 | consolecxx . . $ QScriptDebuggerPrivate#console.->loadScriptedCommandscxx . . $ QScriptDebuggerConsole#loadScriptedCommands(b8c77996fe2d86f7).(scriptsPath, &tmp); |
| 272 | |
| 273 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget. = 0; |
| 274 | stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget. = 0; |
| 275 | stackModelcxx . . $ QScriptDebuggerPrivate#stackModel. = 0; |
| 276 | scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget. = 0; |
| 277 | scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel. = 0; |
| 278 | localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget. = 0; |
| 279 | codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget. = 0; |
| 280 | codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget. = 0; |
| 281 | breakpointsWidgetcxx . . $ QScriptDebuggerPrivate#breakpointsWidget. = 0; |
| 282 | breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel. = 0; |
| 283 | debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget. = 0; |
| 284 | errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget. = 0; |
| 285 | widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory. = 0; |
| 286 | |
| 287 | interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction. = 0; |
| 288 | continueActioncxx . . $ QScriptDebuggerPrivate#continueAction. = 0; |
| 289 | stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction. = 0; |
| 290 | stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction. = 0; |
| 291 | stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction. = 0; |
| 292 | runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction. = 0; |
| 293 | runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction. = 0; |
| 294 | |
| 295 | toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction. = 0; |
| 296 | |
| 297 | clearErrorLogActioncxx . . $ QScriptDebuggerPrivate#clearErrorLogAction. = 0; |
| 298 | clearDebugOutputActioncxx . . $ QScriptDebuggerPrivate#clearDebugOutputAction. = 0; |
| 299 | clearConsoleActioncxx . . $ QScriptDebuggerPrivate#clearConsoleAction. = 0; |
| 300 | |
| 301 | findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction. = 0; |
| 302 | findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction. = 0; |
| 303 | findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction. = 0; |
| 304 | goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction. = 0; |
| 305 | |
| 306 | updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId. = -1; |
| 307 | } |
| 308 | |
| 309 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::~cxx . . $ QScriptDebuggerPrivate#`~QScriptDebuggerPrivate`(ced63f7c635d850d).QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#() |
| 310 | { |
| 311 | delete consolecxx . . $ QScriptDebuggerPrivate#console.; |
| 312 | qDeleteAllcxx . . $ qDeleteAll(77d9f17553126ecb).(pendingJobs); |
| 313 | delete activeJobcxx . . $ QScriptDebuggerPrivate#activeJob.; |
| 314 | maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.); |
| 315 | maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.); |
| 316 | maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget.); |
| 317 | maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.); |
| 318 | maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.); |
| 319 | maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.); |
| 320 | maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(breakpointsWidgetcxx . . $ QScriptDebuggerPrivate#breakpointsWidget.); |
| 321 | maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget.); |
| 322 | maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.); |
| 323 | } |
| 324 | |
| 325 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::maybeDeletecxx . . $ QScriptDebuggerPrivate#maybeDelete(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *widget) |
| 326 | { |
| 327 | if (widget && !widget->parentcxx . . $ QObject#parent(2dbb680a34285c44).()) |
| 328 | delete widget; |
| 329 | } |
| 330 | |
| 331 | QPixmapcxx . . $ QPixmap# QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(const QStringcxx . . $ QString# &path) |
| 332 | { |
| 333 | static QStringcxx . . $ QString# prefix = QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(":/qt/scripttools/debugging/images/"); |
| 334 | return QPixmapcxx . . $ QPixmap#(prefix + path); |
| 335 | } |
| 336 | |
| 337 | /* |
| 338 | \reimp |
| 339 | */ |
| 340 | int QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job) |
| 341 | { |
| 342 | QScriptDebuggerJobPrivatecxx . . $ QScriptDebuggerJobPrivate# *priv = QScriptDebuggerJobPrivatecxx . . $ QScriptDebuggerJobPrivate#::getcxx . . $ QScriptDebuggerJobPrivate#get(a3218e470513d182).(job); |
| 343 | Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(priv->jobScheduler == 0); |
| 344 | priv->jobSchedulercxx . . $ QScriptDebuggerJobPrivate#jobScheduler. = this; |
| 345 | int id = nextJobIdcxx . . $ QScriptDebuggerPrivate#nextJobId.; |
| 346 | pendingJobs.append(job); |
| 347 | pendingJobIds.append(id); |
| 348 | maybeStartNewJobcxx . . $ QScriptDebuggerPrivate#maybeStartNewJob(49f6e7a06ebc5aa8).(); |
| 349 | return id; |
| 350 | } |
| 351 | |
| 352 | /* |
| 353 | \reimp |
| 354 | */ |
| 355 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::finishJobcxx . . $ QScriptDebuggerPrivate#finishJob(de54e05dbfc93a08).(QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job) |
| 356 | { |
| 357 | Q_UNUSEDcxx . . $ `<external>/15045578679651060896/qglobal.h:117:9`!(job); |
| 358 | Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(activeJob == job); |
| 359 | delete activeJobcxx . . $ QScriptDebuggerPrivate#activeJob.; |
| 360 | activeJobcxx . . $ QScriptDebuggerPrivate#activeJob. = 0; |
| 361 | activeJobHibernatingcxx . . $ QScriptDebuggerPrivate#activeJobHibernating. = false; |
| 362 | maybeStartNewJobcxx . . $ QScriptDebuggerPrivate#maybeStartNewJob(49f6e7a06ebc5aa8).(); |
| 363 | } |
| 364 | |
| 365 | /* |
| 366 | \reimp |
| 367 | */ |
| 368 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::hibernateUntilEvaluateFinishedcxx . . $ QScriptDebuggerPrivate#hibernateUntilEvaluateFinished(de54e05dbfc93a08).(QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job) |
| 369 | { |
| 370 | Q_UNUSEDcxx . . $ `<external>/15045578679651060896/qglobal.h:117:9`!(job); |
| 371 | Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(activeJob == job); |
| 372 | activeJobHibernatingcxx . . $ QScriptDebuggerPrivate#activeJobHibernating. = true; |
| 373 | } |
| 374 | |
| 375 | /* |
| 376 | Starts a new job if appropriate. |
| 377 | */ |
| 378 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::maybeStartNewJobcxx . . $ QScriptDebuggerPrivate#maybeStartNewJob(49f6e7a06ebc5aa8).() |
| 379 | { |
| 380 | if (activeJob || pendingJobs.isEmpty()) |
| 381 | return; |
| 382 | activeJob = pendingJobs.takeFirst(); |
| 383 | activeJobcxx . . $ QScriptDebuggerPrivate#activeJob.->startcxx . . $ QScriptDebuggerJob#start(49f6e7a06ebc5aa8).(); |
| 384 | } |
| 385 | |
| 386 | /* |
| 387 | \reimp |
| 388 | */ |
| 389 | int QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::scheduleCommandcxx . . $ QScriptDebuggerPrivate#scheduleCommand(268dc3118bedc5a6).( |
| 390 | const QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand# &command, |
| 391 | QScriptDebuggerResponseHandlerInterfacecxx . . $ QScriptDebuggerResponseHandlerInterface# *responseHandler) |
| 392 | { |
| 393 | if (!frontendcxx . . $ QScriptDebuggerPrivate#frontend.) |
| 394 | return -1; |
| 395 | int id = frontendcxx . . $ QScriptDebuggerPrivate#frontend.->scheduleCommandcxx . . $ QScriptDebuggerFrontend#scheduleCommand(268dc3118bedc5a6).(command, this); |
| 396 | if (responseHandler && (responseHandler != this)) |
| 397 | responseHandlers.insert(id, responseHandler); |
| 398 | if ((command.typecxx . . $ QScriptDebuggerCommand#type(1eafd7c2c5609499).() == QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand#::SetBreakpointcxx . . $ QScriptDebuggerCommand#SetBreakpoint.) |
| 399 | || (command.typecxx . . $ QScriptDebuggerCommand#type(1eafd7c2c5609499).() == QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand#::SetBreakpointDatacxx . . $ QScriptDebuggerCommand#SetBreakpointData.) |
| 400 | || (command.typecxx . . $ QScriptDebuggerCommand#type(1eafd7c2c5609499).() == QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand#::DeleteBreakpointcxx . . $ QScriptDebuggerCommand#DeleteBreakpoint.)) { |
| 401 | // need to watch this command and update the breakpoints model afterwards |
| 402 | watchedCommands.insert(id, command); |
| 403 | } |
| 404 | return id; |
| 405 | } |
| 406 | |
| 407 | /* |
| 408 | \reimp |
| 409 | */ |
| 410 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::handleResponsecxx . . $ QScriptDebuggerPrivate#handleResponse(46b5ea012c87a176).( |
| 411 | const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, int commandId) |
| 412 | { |
| 413 | Q_Qcxx . . $ `<external>/15045578679651060896/qglobal.h:1178:9`!(QScriptDebugger); |
| 414 | if (watchedCommands.contains(commandId)) { |
| 415 | QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand# command = watchedCommands.take(commandId); |
| 416 | if (response.errorcxx . . $ QScriptDebuggerResponse#error(bf0d80c2e43f76a7).() == QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::NoErrorcxx . . $ QScriptDebuggerResponse#NoError.) { |
| 417 | if (!breakpointsModel) |
| 418 | breakpointsModel = new QScriptBreakpointsModel(this, this, q); |
| 419 | switch (command.typecxx . . $ QScriptDebuggerCommand#type(1eafd7c2c5609499).()) { |
| 420 | case QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand#::SetBreakpointcxx . . $ QScriptDebuggerCommand#SetBreakpoint.: { |
| 421 | int breakpointId = response.resultAsIntcxx . . $ QScriptDebuggerResponse#resultAsInt(455f465bc33b4cdf).(); |
| 422 | QScriptBreakpointDatacxx . . $ QScriptBreakpointData# data = command.breakpointDatacxx . . $ QScriptDebuggerCommand#breakpointData(b121f71baeac5753).(); |
| 423 | breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->addBreakpointcxx . . $ QScriptBreakpointsModel#addBreakpoint(f20b3c29c55c72e7).(breakpointId, data); |
| 424 | } break; |
| 425 | case QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand#::SetBreakpointDatacxx . . $ QScriptDebuggerCommand#SetBreakpointData.: { |
| 426 | int breakpointId = command.breakpointIdcxx . . $ QScriptDebuggerCommand#breakpointId(455f465bc33b4cdf).(); |
| 427 | QScriptBreakpointDatacxx . . $ QScriptBreakpointData# data = command.breakpointDatacxx . . $ QScriptDebuggerCommand#breakpointData(b121f71baeac5753).(); |
| 428 | breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->modifyBreakpointcxx . . $ QScriptBreakpointsModel#modifyBreakpoint(f20b3c29c55c72e7).(breakpointId, data); |
| 429 | } break; |
| 430 | case QScriptDebuggerCommandcxx . . $ QScriptDebuggerCommand#::DeleteBreakpointcxx . . $ QScriptDebuggerCommand#DeleteBreakpoint.: { |
| 431 | int breakpointId = command.breakpointIdcxx . . $ QScriptDebuggerCommand#breakpointId(455f465bc33b4cdf).(); |
| 432 | breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->removeBreakpointcxx . . $ QScriptBreakpointsModel#removeBreakpoint(d4f767463ce0a6b3).(breakpointId); |
| 433 | } break; |
| 434 | default: |
| 435 | Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(false); |
| 436 | } |
| 437 | } |
| 438 | } else if (response.asynccxx . . $ QScriptDebuggerResponse#async(50ce9a9e25b4a850).()) { |
| 439 | interactivecxx . . $ QScriptDebuggerPrivate#interactive. = false; |
| 440 | // disable/invalidate/enable stuff |
| 441 | if (continueActioncxx . . $ QScriptDebuggerPrivate#continueAction.) |
| 442 | continueActioncxx . . $ QScriptDebuggerPrivate#continueAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(false); |
| 443 | if (stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction.) |
| 444 | stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(false); |
| 445 | if (stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction.) |
| 446 | stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(false); |
| 447 | if (stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction.) |
| 448 | stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(false); |
| 449 | if (runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction.) |
| 450 | runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(false); |
| 451 | if (runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction.) |
| 452 | runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(false); |
| 453 | if (interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction.) |
| 454 | interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(true); |
| 455 | |
| 456 | // the timer is to avoid flicker when stepping |
| 457 | if (stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.) { |
| 458 | stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->setUpdatesEnabledcxx . . $ QWidget#setUpdatesEnabled(b45ddcbc8423892c).(false); |
| 459 | stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(false); |
| 460 | if (updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId. == -1) |
| 461 | updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId. = q->startTimercxx . . $ QObject#startTimer(8f5c34535afe9742).(75); |
| 462 | } |
| 463 | if (localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.) { |
| 464 | localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.->setUpdatesEnabledcxx . . $ QWidget#setUpdatesEnabled(b45ddcbc8423892c).(false); |
| 465 | localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(false); |
| 466 | if (updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId. == -1) |
| 467 | updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId. = q->startTimercxx . . $ QObject#startTimer(8f5c34535afe9742).(75); |
| 468 | } |
| 469 | if (codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.) |
| 470 | codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->invalidateExecutionLineNumberscxx . . $ QScriptDebuggerCodeWidgetInterface#invalidateExecutionLineNumbers(49f6e7a06ebc5aa8).(); |
| 471 | |
| 472 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! q->startedcxx . . $ QScriptDebugger#started(83f5f38750778ac8).(); |
| 473 | } |
| 474 | |
| 475 | QScriptDebuggerResponseHandlerInterfacecxx . . $ QScriptDebuggerResponseHandlerInterface# *realHandler = responseHandlers.take(commandId); |
| 476 | if (realHandler) |
| 477 | realHandler->handleResponsecxx . . $ QScriptDebuggerResponseHandlerInterface#handleResponse(46b5ea012c87a176).(response, commandId); |
| 478 | } |
| 479 | |
| 480 | /* |
| 481 | \reimp |
| 482 | |
| 483 | Handles a debugger event from the frontend. |
| 484 | */ |
| 485 | bool QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::debuggerEventcxx . . $ QScriptDebuggerPrivate#debuggerEvent(638909683c8aa233).(const QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent# &event) |
| 486 | { |
| 487 | Q_Qcxx . . $ `<external>/15045578679651060896/qglobal.h:1178:9`!(QScriptDebugger); |
| 488 | switch (event.typecxx . . $ QScriptDebuggerEvent#type(853c47ddf6247019).()) { |
| 489 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::Nonecxx . . $ QScriptDebuggerEvent#None.: |
| 490 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::UserEventcxx . . $ QScriptDebuggerEvent#UserEvent.: |
| 491 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::MaxUserEventcxx . . $ QScriptDebuggerEvent#MaxUserEvent.: |
| 492 | Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(false); |
| 493 | break; |
| 494 | |
| 495 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::Tracecxx . . $ QScriptDebuggerEvent#Trace.: |
| 496 | if (!debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget. && widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.) |
| 497 | q->setDebugOutputWidgetcxx . . $ QScriptDebugger#setDebugOutputWidget(457462ed8d4f632e).(widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.->createDebugOutputWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createDebugOutputWidget(af6eabf25091852c).()); |
| 498 | if (debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget.) |
| 499 | debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtDebugMsgcxx . . $ QtDebugMsg., event.messagecxx . . $ QScriptDebuggerEvent#message(6ef7b6c27b00b43d).()); |
| 500 | return true; // trace doesn't stall execution |
| 501 | |
| 502 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::SteppingFinishedcxx . . $ QScriptDebuggerEvent#SteppingFinished.: { |
| 503 | if (!consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget. && widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.) |
| 504 | q->setConsoleWidgetcxx . . $ QScriptDebugger#setConsoleWidget(2ed7f442c2986159).(widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.->createConsoleWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createConsoleWidget(1ea9b7d6ade8541f).()); |
| 505 | if (consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) { |
| 506 | QStringcxx . . $ QString# msg = event.messagecxx . . $ QScriptDebuggerEvent#message(6ef7b6c27b00b43d).(); |
| 507 | if (!msg.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()) |
| 508 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtDebugMsgcxx . . $ QtDebugMsg., msg); |
| 509 | } |
| 510 | } break; |
| 511 | |
| 512 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::Interruptedcxx . . $ QScriptDebuggerEvent#Interrupted.: |
| 513 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::LocationReachedcxx . . $ QScriptDebuggerEvent#LocationReached.: |
| 514 | break; |
| 515 | |
| 516 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::Breakpointcxx . . $ QScriptDebuggerEvent#Breakpoint.: { |
| 517 | int bpId = event.breakpointIdcxx . . $ QScriptDebuggerEvent#breakpointId(455f465bc33b4cdf).(); |
| 518 | if (!consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget. && widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.) |
| 519 | q->setConsoleWidgetcxx . . $ QScriptDebugger#setConsoleWidget(2ed7f442c2986159).(widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.->createConsoleWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createConsoleWidget(1ea9b7d6ade8541f).()); |
| 520 | if (consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) { |
| 521 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtDebugMsgcxx . . $ QtDebugMsg., |
| 522 | QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("Breakpoint %0 at %1, line %2.") |
| 523 | .argcxx . . $ QString#arg(64ab2ed17cc11715).(bpId).argcxx . . $ QString#arg(bc823072288cbbb5).(event.fileNamecxx . . $ QScriptDebuggerEvent#fileName(6ef7b6c27b00b43d).()) |
| 524 | .argcxx . . $ QString#arg(64ab2ed17cc11715).(event.lineNumbercxx . . $ QScriptDebuggerEvent#lineNumber(455f465bc33b4cdf).())); |
| 525 | } |
| 526 | if (breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->breakpointDatacxx . . $ QScriptBreakpointsModel#breakpointData(f47377ac0cc278c1).(bpId).isSingleShotcxx . . $ QScriptBreakpointData#isSingleShot(50ce9a9e25b4a850).()) |
| 527 | breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->removeBreakpointcxx . . $ QScriptBreakpointsModel#removeBreakpoint(d4f767463ce0a6b3).(bpId); |
| 528 | } break; |
| 529 | |
| 530 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::Exceptioncxx . . $ QScriptDebuggerEvent#Exception.: { |
| 531 | if (event.hasExceptionHandlercxx . . $ QScriptDebuggerEvent#hasExceptionHandler(50ce9a9e25b4a850).()) { |
| 532 | // Let the exception be handled like normal. |
| 533 | // We may want to add a "Break on all exceptions" option |
| 534 | // to be able to customize this behavior. |
| 535 | return true; |
| 536 | } |
| 537 | if (!consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget. && widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.) |
| 538 | q->setConsoleWidgetcxx . . $ QScriptDebugger#setConsoleWidget(2ed7f442c2986159).(widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.->createConsoleWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createConsoleWidget(1ea9b7d6ade8541f).()); |
| 539 | if (!errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget. && widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.) |
| 540 | q->setErrorLogWidgetcxx . . $ QScriptDebugger#setErrorLogWidget(1d0ff6b66f138862).(widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.->createErrorLogWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createErrorLogWidget(3f0010a650e12828).()); |
| 541 | if (consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget. || errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.) { |
| 542 | QStringcxx . . $ QString# fn = event.fileNamecxx . . $ QScriptDebuggerEvent#fileName(6ef7b6c27b00b43d).(); |
| 543 | if (fn.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()) { |
| 544 | if (event.scriptIdcxx . . $ QScriptDebuggerEvent#scriptId(98833e9ab7de59a4).() != -1) |
| 545 | fn =cxx . . $ QString#`operator=`(4f35bf974e7f8568). QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("<anonymous script, id=%0>").argcxx . . $ QString#arg(bc2efffa9f9cbddb).(event.scriptIdcxx . . $ QScriptDebuggerEvent#scriptId(98833e9ab7de59a4).()); |
| 546 | else |
| 547 | fn =cxx . . $ QString#`operator=`(4f35bf974e7f8568). QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("<native>"); |
| 548 | } |
| 549 | QStringcxx . . $ QString# msg = QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("Uncaught exception at %0:%1: %2").argcxx . . $ QString#arg(bc823072288cbbb5).(fn) |
| 550 | .argcxx . . $ QString#arg(64ab2ed17cc11715).(event.lineNumbercxx . . $ QScriptDebuggerEvent#lineNumber(455f465bc33b4cdf).()).argcxx . . $ QString#arg(bc823072288cbbb5).(event.messagecxx . . $ QScriptDebuggerEvent#message(6ef7b6c27b00b43d).()); |
| 551 | if (consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) |
| 552 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtCriticalMsgcxx . . $ QtCriticalMsg., msg); |
| 553 | if (errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.) |
| 554 | errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtCriticalMsgcxx . . $ QtCriticalMsg., msg); |
| 555 | } |
| 556 | } break; |
| 557 | |
| 558 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::InlineEvalFinishedcxx . . $ QScriptDebuggerEvent#InlineEvalFinished.: { |
| 559 | QScriptDebuggerValuecxx . . $ QScriptDebuggerValue# result = event.scriptValuecxx . . $ QScriptDebuggerEvent#scriptValue(73c7f2fc16c9f19c).(); |
| 560 | Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(console != 0); |
| 561 | int action = consolecxx . . $ QScriptDebuggerPrivate#console.->evaluateActioncxx . . $ QScriptDebuggerConsole#evaluateAction(455f465bc33b4cdf).(); |
| 562 | consolecxx . . $ QScriptDebuggerPrivate#console.->setEvaluateActioncxx . . $ QScriptDebuggerConsole#setEvaluateAction(d4f767463ce0a6b3).(0); |
| 563 | switch (action) { |
| 564 | case 0: { // eval command |
| 565 | if (activeJobcxx . . $ QScriptDebuggerPrivate#activeJob.) { |
| 566 | if (activeJobHibernatingcxx . . $ QScriptDebuggerPrivate#activeJobHibernating.) { |
| 567 | activeJobHibernatingcxx . . $ QScriptDebuggerPrivate#activeJobHibernating. = false; |
| 568 | activeJobcxx . . $ QScriptDebuggerPrivate#activeJob.->evaluateFinishedcxx . . $ QScriptDebuggerJob#evaluateFinished(98e9fe25954e1086).(result); |
| 569 | } |
| 570 | } else if (consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) { |
| 571 | // ### if the result is an object, need to do a tostring job on it |
| 572 | // messageHandler->message(QtDebugMsg, result.toString()); |
| 573 | if (result.typecxx . . $ QScriptDebuggerValue#type(8473348a2e0c39be).() != QScriptDebuggerValuecxx . . $ QScriptDebuggerValue#::UndefinedValuecxx . . $ QScriptDebuggerValue#UndefinedValue.) |
| 574 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtDebugMsgcxx . . $ QtDebugMsg., event.messagecxx . . $ QScriptDebuggerEvent#message(6ef7b6c27b00b43d).()); |
| 575 | } |
| 576 | } break; |
| 577 | case 1: { // return command |
| 578 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(this, this); |
| 579 | frontend.scheduleForceReturncxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleForceReturn(f0089cc06c16ddf8).(consolecxx . . $ QScriptDebuggerPrivate#console.->currentFrameIndexcxx . . $ QScriptDebuggerConsole#currentFrameIndex(455f465bc33b4cdf).(), result); |
| 580 | } return false; |
| 581 | } |
| 582 | if (!event.isNestedEvaluatecxx . . $ QScriptDebuggerEvent#isNestedEvaluate(50ce9a9e25b4a850).()) { |
| 583 | // in the case when evaluate() was called while the |
| 584 | // engine was not running, we don't want to enter interactive mode |
| 585 | return true; |
| 586 | } |
| 587 | } break; |
| 588 | |
| 589 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::DebuggerInvocationRequestcxx . . $ QScriptDebuggerEvent#DebuggerInvocationRequest.: { |
| 590 | if (!consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget. && widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.) |
| 591 | q->setConsoleWidgetcxx . . $ QScriptDebugger#setConsoleWidget(2ed7f442c2986159).(widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.->createConsoleWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createConsoleWidget(1ea9b7d6ade8541f).()); |
| 592 | if (consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) { |
| 593 | QStringcxx . . $ QString# fn = event.fileNamecxx . . $ QScriptDebuggerEvent#fileName(6ef7b6c27b00b43d).(); |
| 594 | if (fn.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()) |
| 595 | fn =cxx . . $ QString#`operator=`(4f35bf974e7f8568). QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("<anonymous script, id=%0>").argcxx . . $ QString#arg(bc2efffa9f9cbddb).(event.scriptIdcxx . . $ QScriptDebuggerEvent#scriptId(98833e9ab7de59a4).()); |
| 596 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtDebugMsgcxx . . $ QtDebugMsg., |
| 597 | QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("Debugger invoked from %1, line %2.") |
| 598 | .argcxx . . $ QString#arg(bc823072288cbbb5).(fn).argcxx . . $ QString#arg(64ab2ed17cc11715).(event.lineNumbercxx . . $ QScriptDebuggerEvent#lineNumber(455f465bc33b4cdf).())); |
| 599 | } |
| 600 | } break; |
| 601 | |
| 602 | case QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::ForcedReturncxx . . $ QScriptDebuggerEvent#ForcedReturn.: { |
| 603 | } break; |
| 604 | |
| 605 | } |
| 606 | |
| 607 | if (widgetInPaintEventcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/widgetInPaintEvent.) { |
| 608 | QStringcxx . . $ QString# msg = QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("Suspending evaluation in paintEvent() is not supported; resuming."); |
| 609 | if (!consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget. && widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.) |
| 610 | q->setConsoleWidgetcxx . . $ QScriptDebugger#setConsoleWidget(2ed7f442c2986159).(widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.->createConsoleWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createConsoleWidget(1ea9b7d6ade8541f).()); |
| 611 | if (!errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget. && widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.) |
| 612 | q->setErrorLogWidgetcxx . . $ QScriptDebugger#setErrorLogWidget(1d0ff6b66f138862).(widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.->createErrorLogWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createErrorLogWidget(3f0010a650e12828).()); |
| 613 | if (consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) |
| 614 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtWarningMsgcxx . . $ QtWarningMsg., msg); |
| 615 | if (errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.) |
| 616 | errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtCriticalMsgcxx . . $ QtCriticalMsg., msg); |
| 617 | return true; |
| 618 | } |
| 619 | |
| 620 | if (activeJobHibernatingcxx . . $ QScriptDebuggerPrivate#activeJobHibernating.) { |
| 621 | // evaluate() did not finish normally (e.g. due to a breakpoint), |
| 622 | // so cancel the job that's waiting for it |
| 623 | delete activeJobcxx . . $ QScriptDebuggerPrivate#activeJob.; |
| 624 | activeJobcxx . . $ QScriptDebuggerPrivate#activeJob. = 0; |
| 625 | activeJobHibernatingcxx . . $ QScriptDebuggerPrivate#activeJobHibernating. = false; |
| 626 | } |
| 627 | |
| 628 | startInteractioncxx . . $ QScriptDebuggerPrivate#startInteraction(5282ad483646d81b).(event.typecxx . . $ QScriptDebuggerEvent#type(853c47ddf6247019).(), event.scriptIdcxx . . $ QScriptDebuggerEvent#scriptId(98833e9ab7de59a4).(), event.lineNumbercxx . . $ QScriptDebuggerEvent#lineNumber(455f465bc33b4cdf).()); |
| 629 | return !interactivecxx . . $ QScriptDebuggerPrivate#interactive.; |
| 630 | } |
| 631 | |
| 632 | class QScriptToolTipJobcxx . . $ QScriptToolTipJob# : public QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob# |
| 633 | { |
| 634 | public: |
| 635 | QScriptToolTipJobcxx . . $ QScriptToolTipJob#QScriptToolTipJob(cad0d2e444d00198).(const QPointcxx . . $ QPoint# &pos, int frameIndex, |
| 636 | int lineNumber, const QStringListcxx . . $ QStringList# &path, |
| 637 | QScriptDebuggerCommandSchedulerInterfacecxx . . $ QScriptDebuggerCommandSchedulerInterface# *scheduler) |
| 638 | : QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob#(scheduler), m_poscxx . . $ QScriptToolTipJob#m_pos.(pos), |
| 639 | m_frameIndexcxx . . $ QScriptToolTipJob#m_frameIndex.(frameIndex), m_lineNumbercxx . . $ QScriptToolTipJob#m_lineNumber.(lineNumber), m_path(path) |
| 640 | {} |
| 641 | |
| 642 | void startcxx . . $ QScriptToolTipJob#start(49f6e7a06ebc5aa8).() |
| 643 | { |
| 644 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 645 | frontend.scheduleGetPropertyExpressionValuecxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetPropertyExpressionValue(c3c66d1ce4170080).(m_frameIndexcxx . . $ QScriptToolTipJob#m_frameIndex., m_lineNumbercxx . . $ QScriptToolTipJob#m_lineNumber., m_path); |
| 646 | } |
| 647 | void handleResponsecxx . . $ QScriptToolTipJob#handleResponse(46b5ea012c87a176).(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, int /*commandId*/) |
| 648 | { |
| 649 | QStringcxx . . $ QString# tip = response.resultcxx . . $ QScriptDebuggerResponse#result(23280f95d1ccaa1f).().toStringcxx . . $ QVariant#toString(6ef7b6c27b00b43d).(); |
| 650 | if (tip.indexOfcxx . . $ QString#indexOf(75b556ba78e4903c).(QLatin1Charcxx . . $ QChar#QChar(a50889c09eec06d9).('\n')) != -1) { |
| 651 | QStringListcxx . . $ QStringList# lines = tip.splitcxx . . $ QString#split(92030b8bf74e4227).(QLatin1Charcxx . . $ QChar#QChar(a50889c09eec06d9).('\n')); |
| 652 | int lineCount = lines.size(); |
| 653 | if (lineCount > 5) { |
| 654 | lines = lines.mid(0, 5); |
| 655 | lines.append(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("(... %0 more lines ...)").argcxx . . $ QString#arg(64ab2ed17cc11715).(lineCount - 5)); |
| 656 | } |
| 657 | tip = lines.join(QLatin1Stringcxx . . $ QLatin1String#QLatin1String(aac1607cfe1c1740).("\n")); |
| 658 | } |
| 659 | #if QT_CONFIGcxx . . $ `<external>/15045578679651060896/qglobal.h:86:9`!(tooltip) |
| 660 | QToolTipcxx . . $ QToolTip#::showTextcxx . . $ QToolTip#showText(e9f52f9969479d3b).(m_poscxx . . $ QScriptToolTipJob#m_pos., tip); |
| 661 | #endif |
| 662 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 663 | } |
| 664 | |
| 665 | private: |
| 666 | QPointcxx . . $ QPoint# m_poscxx . . $ QScriptToolTipJob#m_pos.; |
| 667 | int m_frameIndexcxx . . $ QScriptToolTipJob#m_frameIndex.; |
| 668 | int m_lineNumbercxx . . $ QScriptToolTipJob#m_lineNumber.; |
| 669 | QStringListcxx . . $ QStringList# m_pathcxx . . $ QScriptToolTipJob#m_path.; |
| 670 | }; |
| 671 | |
| 672 | /* |
| 673 | \reimp |
| 674 | */ |
| 675 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::showToolTipcxx . . $ QScriptDebuggerPrivate#showToolTip(e1adfe7e85c4c396).(const QPointcxx . . $ QPoint# &pos, int frameIndex, |
| 676 | int lineNumber, const QStringListcxx . . $ QStringList# &path) |
| 677 | { |
| 678 | if (frameIndex == -1) { |
| 679 | if (stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.) |
| 680 | frameIndex = stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->currentFrameIndexcxx . . $ QScriptDebuggerStackWidgetInterface#currentFrameIndex(455f465bc33b4cdf).(); |
| 681 | else |
| 682 | frameIndex = consolecxx . . $ QScriptDebuggerPrivate#console.->currentFrameIndexcxx . . $ QScriptDebuggerConsole#currentFrameIndex(455f465bc33b4cdf).(); |
| 683 | } |
| 684 | QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job = new QScriptToolTipJob(pos, frameIndex, lineNumber, path, this); |
| 685 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(job); |
| 686 | } |
| 687 | |
| 688 | /* |
| 689 | \reimp |
| 690 | */ |
| 691 | QScriptCompletionTaskInterfacecxx . . $ QScriptCompletionTaskInterface# *QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::createCompletionTaskcxx . . $ QScriptDebuggerPrivate#createCompletionTask(ac7591ebc87b4ce1).( |
| 692 | const QStringcxx . . $ QString# &contents, int cursorPosition, int frameIndex, int options) |
| 693 | { |
| 694 | return new QScriptCompletionTask( |
| 695 | contents, cursorPosition, frameIndex, this, this, |
| 696 | (options & QScriptCompletionProviderInterface::ConsoleCommandCompletion) ? console : 0); |
| 697 | } |
| 698 | |
| 699 | /* |
| 700 | Slot called when a line has been entered in the console widget. |
| 701 | */ |
| 702 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_onLineEnteredcxx . . $ QScriptDebuggerPrivate#_q_onLineEntered(3520e46b33348bf6).(const QStringcxx . . $ QString# &contents) |
| 703 | { |
| 704 | QScriptDebuggerConsoleCommandJobcxx . . $ QScriptDebuggerConsoleCommandJob# *commandJob; |
| 705 | commandJob = consolecxx . . $ QScriptDebuggerPrivate#console.->consumeInputcxx . . $ QScriptDebuggerConsole#consumeInput(f4e9a1a57be609bf).(contents, consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget., this); |
| 706 | if (commandJob != 0) { |
| 707 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(commandJob); |
| 708 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->setLineContinuationModecxx . . $ QScriptDebuggerConsoleWidgetInterface#setLineContinuationMode(b45ddcbc8423892c).(false); |
| 709 | } else if (consolecxx . . $ QScriptDebuggerPrivate#console.->hasIncompleteInputcxx . . $ QScriptDebuggerConsole#hasIncompleteInput(50ce9a9e25b4a850).()) { |
| 710 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->setLineContinuationModecxx . . $ QScriptDebuggerConsoleWidgetInterface#setLineContinuationMode(b45ddcbc8423892c).(true); |
| 711 | } |
| 712 | } |
| 713 | |
| 714 | /* |
| 715 | Slot called when the current index has changed in the stack widget. |
| 716 | */ |
| 717 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_onCurrentFrameChangedcxx . . $ QScriptDebuggerPrivate#_q_onCurrentFrameChanged(d4f767463ce0a6b3).(int frameIndex) |
| 718 | { |
| 719 | loadLocalscxx . . $ QScriptDebuggerPrivate#loadLocals(d4f767463ce0a6b3).(frameIndex); |
| 720 | selectScriptForFramecxx . . $ QScriptDebuggerPrivate#selectScriptForFrame(d4f767463ce0a6b3).(frameIndex); |
| 721 | } |
| 722 | |
| 723 | /* |
| 724 | Slot called when the current script has changed in the scripts widget. |
| 725 | */ |
| 726 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_onCurrentScriptChangedcxx . . $ QScriptDebuggerPrivate#_q_onCurrentScriptChanged(35cb52607f6af42f).(qint64cxx . . $ qint64# scriptId) |
| 727 | { |
| 728 | if (codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget. && (codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentScriptIdcxx . . $ QScriptDebuggerCodeWidgetInterface#currentScriptId(98833e9ab7de59a4).() != scriptId)) { |
| 729 | codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->setCurrentScriptcxx . . $ QScriptDebuggerCodeWidgetInterface#setCurrentScript(35cb52607f6af42f).(scriptId); |
| 730 | QScriptDebuggerCodeViewInterfacecxx . . $ QScriptDebuggerCodeViewInterface# *view = codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).(); |
| 731 | if (view) |
| 732 | view->setExecutionLineNumbercxx . . $ QScriptDebuggerCodeViewInterface#setExecutionLineNumber(918ebd27a9ddbad3).(-1, /*error=*/false); |
| 733 | } |
| 734 | } |
| 735 | |
| 736 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_onScriptLocationSelectedcxx . . $ QScriptDebuggerPrivate#_q_onScriptLocationSelected(d4f767463ce0a6b3).(int lineNumber) |
| 737 | { |
| 738 | QScriptDebuggerCodeViewInterfacecxx . . $ QScriptDebuggerCodeViewInterface# *view = codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).(); |
| 739 | if (!view) |
| 740 | return; |
| 741 | view->gotoLinecxx . . $ QScriptDebuggerCodeViewInterface#gotoLine(d4f767463ce0a6b3).(lineNumber); |
| 742 | } |
| 743 | |
| 744 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_interruptcxx . . $ QScriptDebuggerPrivate#_q_interrupt(49f6e7a06ebc5aa8).() |
| 745 | { |
| 746 | executeConsoleCommandcxx . . $ QScriptDebuggerPrivate#executeConsoleCommand(3520e46b33348bf6).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("interrupt")); |
| 747 | } |
| 748 | |
| 749 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_continuecxx . . $ QScriptDebuggerPrivate#_q_continue(49f6e7a06ebc5aa8).() |
| 750 | { |
| 751 | executeConsoleCommandcxx . . $ QScriptDebuggerPrivate#executeConsoleCommand(3520e46b33348bf6).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("continue")); |
| 752 | } |
| 753 | |
| 754 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_stepIntocxx . . $ QScriptDebuggerPrivate#_q_stepInto(49f6e7a06ebc5aa8).() |
| 755 | { |
| 756 | executeConsoleCommandcxx . . $ QScriptDebuggerPrivate#executeConsoleCommand(3520e46b33348bf6).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("step")); |
| 757 | } |
| 758 | |
| 759 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_stepOvercxx . . $ QScriptDebuggerPrivate#_q_stepOver(49f6e7a06ebc5aa8).() |
| 760 | { |
| 761 | executeConsoleCommandcxx . . $ QScriptDebuggerPrivate#executeConsoleCommand(3520e46b33348bf6).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("next")); |
| 762 | } |
| 763 | |
| 764 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_stepOutcxx . . $ QScriptDebuggerPrivate#_q_stepOut(49f6e7a06ebc5aa8).() |
| 765 | { |
| 766 | executeConsoleCommandcxx . . $ QScriptDebuggerPrivate#executeConsoleCommand(3520e46b33348bf6).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("finish")); |
| 767 | } |
| 768 | |
| 769 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_runToCursorcxx . . $ QScriptDebuggerPrivate#_q_runToCursor(49f6e7a06ebc5aa8).() |
| 770 | { |
| 771 | qint64cxx . . $ qint64# scriptId = codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentScriptIdcxx . . $ QScriptDebuggerCodeWidgetInterface#currentScriptId(98833e9ab7de59a4).(); |
| 772 | int lineNumber = codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).()->cursorLineNumbercxx . . $ QScriptDebuggerCodeViewInterface#cursorLineNumber(455f465bc33b4cdf).(); |
| 773 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(this, this); |
| 774 | frontend.scheduleRunToLocationcxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleRunToLocation(90123177bda81bd3).(scriptId, lineNumber); |
| 775 | } |
| 776 | |
| 777 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_runToNewScriptcxx . . $ QScriptDebuggerPrivate#_q_runToNewScript(49f6e7a06ebc5aa8).() |
| 778 | { |
| 779 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(this, this); |
| 780 | frontend.scheduleRunToLocationcxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleRunToLocation(a664fe1f05d5cb93).(QStringcxx . . $ QString#QString(ced63f7c635d850d).(), -1); |
| 781 | } |
| 782 | |
| 783 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_toggleBreakpointcxx . . $ QScriptDebuggerPrivate#_q_toggleBreakpoint(49f6e7a06ebc5aa8).() |
| 784 | { |
| 785 | Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(codeWidget != 0); |
| 786 | QScriptDebuggerCodeViewInterfacecxx . . $ QScriptDebuggerCodeViewInterface# *view = codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).(); |
| 787 | if (!view) |
| 788 | return; |
| 789 | qint64cxx . . $ qint64# scriptId = codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentScriptIdcxx . . $ QScriptDebuggerCodeWidgetInterface#currentScriptId(98833e9ab7de59a4).(); |
| 790 | int lineNumber = view->cursorLineNumbercxx . . $ QScriptDebuggerCodeViewInterface#cursorLineNumber(455f465bc33b4cdf).(); |
| 791 | Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(breakpointsModel != 0); |
| 792 | int bpId = breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->resolveBreakpointcxx . . $ QScriptBreakpointsModel#resolveBreakpoint(c59ecb89964b6eb7).(scriptId, lineNumber); |
| 793 | if (bpId != -1) { |
| 794 | breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->deleteBreakpointcxx . . $ QScriptBreakpointsModel#deleteBreakpoint(d4f767463ce0a6b3).(bpId); |
| 795 | } else { |
| 796 | QScriptBreakpointDatacxx . . $ QScriptBreakpointData# datacxx . . $ QScriptBreakpointData#QScriptBreakpointData(8ddcfaf041c5b3f7).(scriptId, lineNumber); |
| 797 | if (scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.) |
| 798 | data.setFileNamecxx . . $ QScriptBreakpointData#setFileName(3520e46b33348bf6).(scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.->scriptDatacxx . . $ QScriptDebuggerScriptsModel#scriptData(5fe4cebf2789381f).(scriptId).fileNamecxx . . $ QScriptScriptData#fileName(6ef7b6c27b00b43d).()); |
| 799 | breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->setBreakpointcxx . . $ QScriptBreakpointsModel#setBreakpoint(694486080f38713d).(data); |
| 800 | } |
| 801 | } |
| 802 | |
| 803 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_clearDebugOutputcxx . . $ QScriptDebuggerPrivate#_q_clearDebugOutput(49f6e7a06ebc5aa8).() |
| 804 | { |
| 805 | if (debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget.) |
| 806 | debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget.->clearcxx . . $ QScriptDebugOutputWidgetInterface#clear(49f6e7a06ebc5aa8).(); |
| 807 | } |
| 808 | |
| 809 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_clearErrorLogcxx . . $ QScriptDebuggerPrivate#_q_clearErrorLog(49f6e7a06ebc5aa8).() |
| 810 | { |
| 811 | if (errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.) |
| 812 | errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.->clearcxx . . $ QScriptErrorLogWidgetInterface#clear(49f6e7a06ebc5aa8).(); |
| 813 | } |
| 814 | |
| 815 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_clearConsolecxx . . $ QScriptDebuggerPrivate#_q_clearConsole(49f6e7a06ebc5aa8).() |
| 816 | { |
| 817 | if (consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) |
| 818 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->clearcxx . . $ QScriptDebuggerConsoleWidgetInterface#clear(49f6e7a06ebc5aa8).(); |
| 819 | } |
| 820 | |
| 821 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::executeConsoleCommandcxx . . $ QScriptDebuggerPrivate#executeConsoleCommand(3520e46b33348bf6).(const QStringcxx . . $ QString# &command) |
| 822 | { |
| 823 | QStringcxx . . $ QString# tmp = consolecxx . . $ QScriptDebuggerPrivate#console.->incompleteInputcxx . . $ QScriptDebuggerConsole#incompleteInput(6ef7b6c27b00b43d).(); |
| 824 | consolecxx . . $ QScriptDebuggerPrivate#console.->setIncompleteInputcxx . . $ QScriptDebuggerConsole#setIncompleteInput(3520e46b33348bf6).(QStringcxx . . $ QString#QString(ced63f7c635d850d).()); |
| 825 | QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job = consolecxx . . $ QScriptDebuggerPrivate#console.->consumeInputcxx . . $ QScriptDebuggerConsole#consumeInput(f4e9a1a57be609bf).(consolecxx . . $ QScriptDebuggerPrivate#console.->commandPrefixcxx . . $ QScriptDebuggerConsole#commandPrefix(6ef7b6c27b00b43d).() + command, debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget., this); |
| 826 | consolecxx . . $ QScriptDebuggerPrivate#console.->setIncompleteInputcxx . . $ QScriptDebuggerConsole#setIncompleteInput(3520e46b33348bf6).(tmp); |
| 827 | if (job != 0) { |
| 828 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(job); |
| 829 | // once to send the command... |
| 830 | QCoreApplicationcxx . . $ QCoreApplication#::processEventscxx . . $ QCoreApplication#processEvents(5ce75b802d22674c).(); |
| 831 | // ... and once to receive the response |
| 832 | QCoreApplicationcxx . . $ QCoreApplication#::processEventscxx . . $ QCoreApplication#processEvents(5ce75b802d22674c).(); |
| 833 | } |
| 834 | } |
| 835 | |
| 836 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_findInScriptcxx . . $ QScriptDebuggerPrivate#_q_findInScript(49f6e7a06ebc5aa8).() |
| 837 | { |
| 838 | if (!codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget. && widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.) |
| 839 | q_funccxx . . $ QScriptDebuggerPrivate#q_func(d33163235a6e82b3).()->setCodeFinderWidgetcxx . . $ QScriptDebugger#setCodeFinderWidget(d6e05ca52ab70828).(widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.->createCodeFinderWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createCodeFinderWidget(3b4a5509b490baaa).()); |
| 840 | if (codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.) { |
| 841 | codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).(); |
| 842 | codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->setFocuscxx . . $ QWidget#setFocus(49f6e7a06ebc5aa8).(Qtcxx . . $ Qt/::OtherFocusReasoncxx . . $ Qt/OtherFocusReason.); |
| 843 | } |
| 844 | } |
| 845 | |
| 846 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_findNextInScriptcxx . . $ QScriptDebuggerPrivate#_q_findNextInScript(49f6e7a06ebc5aa8).() |
| 847 | { |
| 848 | findCodecxx . . $ QScriptDebuggerPrivate#findCode(29ed8fcd127906b1).(codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->textcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#text(6ef7b6c27b00b43d).(), codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->findOptionscxx . . $ QScriptDebuggerCodeFinderWidgetInterface#findOptions(455f465bc33b4cdf).()); |
| 849 | } |
| 850 | |
| 851 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_findPreviousInScriptcxx . . $ QScriptDebuggerPrivate#_q_findPreviousInScript(49f6e7a06ebc5aa8).() |
| 852 | { |
| 853 | int options = codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->findOptionscxx . . $ QScriptDebuggerCodeFinderWidgetInterface#findOptions(455f465bc33b4cdf).(); |
| 854 | options |= QTextDocumentcxx . . $ QTextDocument#::FindBackwardcxx . . $ QTextDocument#FindBackward.; |
| 855 | findCodecxx . . $ QScriptDebuggerPrivate#findCode(29ed8fcd127906b1).(codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->textcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#text(6ef7b6c27b00b43d).(), options); |
| 856 | } |
| 857 | |
| 858 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_onFindCodeRequestcxx . . $ QScriptDebuggerPrivate#_q_onFindCodeRequest(29ed8fcd127906b1).( |
| 859 | const QStringcxx . . $ QString# &exp, int options) |
| 860 | { |
| 861 | findCodecxx . . $ QScriptDebuggerPrivate#findCode(29ed8fcd127906b1).(exp, options); |
| 862 | if (findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction.) |
| 863 | findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(!exp.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()); |
| 864 | if (findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction.) |
| 865 | findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(!exp.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()); |
| 866 | } |
| 867 | |
| 868 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::findCodecxx . . $ QScriptDebuggerPrivate#findCode(29ed8fcd127906b1).(const QStringcxx . . $ QString# &exp, int options) |
| 869 | { |
| 870 | QScriptDebuggerCodeViewInterfacecxx . . $ QScriptDebuggerCodeViewInterface# *view = codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).(); |
| 871 | if (!view) |
| 872 | return; |
| 873 | int result = view->findcxx . . $ QScriptDebuggerCodeViewInterface#find(a664fe1f05d5cb93).(exp, options); |
| 874 | codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->setOKcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#setOK(b45ddcbc8423892c).(((result & 0x1) != 0) || exp.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()); |
| 875 | codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->setWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#setWrapped(b45ddcbc8423892c).((result & 0x2) != 0); |
| 876 | } |
| 877 | |
| 878 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::_q_goToLinecxx . . $ QScriptDebuggerPrivate#_q_goToLine(49f6e7a06ebc5aa8).() |
| 879 | { |
| 880 | QScriptDebuggerCodeViewInterfacecxx . . $ QScriptDebuggerCodeViewInterface# *view = codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).(); |
| 881 | if (!view) |
| 882 | return; |
| 883 | #ifndef QT_NO_INPUTDIALOG |
| 884 | bool ok = false; |
| 885 | int lineNumber = QInputDialogcxx . . $ QInputDialog#::getIntcxx . . $ QInputDialog#getInt(a36d2085f104a42a).(0, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Go to Line"), |
| 886 | QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Line:"), |
| 887 | view->cursorLineNumbercxx . . $ QScriptDebuggerCodeViewInterface#cursorLineNumber(455f465bc33b4cdf).(), |
| 888 | 1, INT_MAXcxx . . $ `<external>/67164224788392828/limits.h:120:9`!, 1, &ok); |
| 889 | if (ok) |
| 890 | view->gotoLinecxx . . $ QScriptDebuggerCodeViewInterface#gotoLine(d4f767463ce0a6b3).(lineNumber); |
| 891 | #endif |
| 892 | } |
| 893 | |
| 894 | class QScriptDebuggerShowLineJobcxx . . $ QScriptDebuggerShowLineJob# : public QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob# |
| 895 | { |
| 896 | public: |
| 897 | QScriptDebuggerShowLineJobcxx . . $ QScriptDebuggerShowLineJob#QScriptDebuggerShowLineJob(c8b0be1bdcbe6cd2).(qint64cxx . . $ qint64# scriptId, int lineNumber, |
| 898 | QScriptMessageHandlerInterfacecxx . . $ QScriptMessageHandlerInterface# *messageHandler, |
| 899 | QScriptDebuggerCommandSchedulerInterfacecxx . . $ QScriptDebuggerCommandSchedulerInterface# *scheduler) |
| 900 | : QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob#(scheduler), |
| 901 | m_scriptIdcxx . . $ QScriptDebuggerShowLineJob#m_scriptId.(scriptId), m_lineNumbercxx . . $ QScriptDebuggerShowLineJob#m_lineNumber.(lineNumber), |
| 902 | m_messageHandlercxx . . $ QScriptDebuggerShowLineJob#m_messageHandler.(messageHandler) {} |
| 903 | |
| 904 | void startcxx . . $ QScriptDebuggerShowLineJob#start(49f6e7a06ebc5aa8).() |
| 905 | { |
| 906 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 907 | frontend.scheduleGetScriptDatacxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetScriptData(a070d6d14e988596).(m_scriptIdcxx . . $ QScriptDebuggerShowLineJob#m_scriptId.); |
| 908 | } |
| 909 | void handleResponsecxx . . $ QScriptDebuggerShowLineJob#handleResponse(46b5ea012c87a176).(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, int /*commandId*/) |
| 910 | { |
| 911 | QScriptScriptDatacxx . . $ QScriptScriptData# data = response.resultAsScriptDatacxx . . $ QScriptDebuggerResponse#resultAsScriptData(280a40ecb5477b84).(); |
| 912 | QStringcxx . . $ QString# line = data.linescxx . . $ QScriptScriptData#lines(ece5cd7ccbfea8c7).(m_lineNumbercxx . . $ QScriptDebuggerShowLineJob#m_lineNumber., 1).value(0); |
| 913 | m_messageHandlercxx . . $ QScriptDebuggerShowLineJob#m_messageHandler.->messagecxx . . $ QScriptMessageHandlerInterface#message(2525eba6d4edee60).(QtDebugMsgcxx . . $ QtDebugMsg., QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("%0\t%1") |
| 914 | .argcxx . . $ QString#arg(64ab2ed17cc11715).(m_lineNumbercxx . . $ QScriptDebuggerShowLineJob#m_lineNumber.).argcxx . . $ QString#arg(bc823072288cbbb5).(line)); |
| 915 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 916 | } |
| 917 | |
| 918 | private: |
| 919 | qint64cxx . . $ qint64# m_scriptIdcxx . . $ QScriptDebuggerShowLineJob#m_scriptId.; |
| 920 | int m_lineNumbercxx . . $ QScriptDebuggerShowLineJob#m_lineNumber.; |
| 921 | QScriptMessageHandlerInterfacecxx . . $ QScriptMessageHandlerInterface# *m_messageHandlercxx . . $ QScriptDebuggerShowLineJob#m_messageHandler.; |
| 922 | }; |
| 923 | |
| 924 | namespacecxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ { |
| 925 | |
| 926 | class SyncStackJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob# : public QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob# |
| 927 | { |
| 928 | public: |
| 929 | SyncStackJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#SyncStackJob(675e123db9602166).(QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *debugger) |
| 930 | : QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob#(debugger), |
| 931 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_debugger.(debugger), m_indexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_index.(0) {} |
| 932 | void startcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#start(49f6e7a06ebc5aa8).() |
| 933 | { |
| 934 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 935 | frontend.scheduleGetContextInfocxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetContextInfo(7864480464b09eea).(m_indexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_index.); // ### getContextInfos() |
| 936 | } |
| 937 | void handleResponsecxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#handleResponse(46b5ea012c87a176).(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, |
| 938 | int) |
| 939 | { |
| 940 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 941 | if (response.errorcxx . . $ QScriptDebuggerResponse#error(bf0d80c2e43f76a7).() != QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::InvalidContextIndexcxx . . $ QScriptDebuggerResponse#InvalidContextIndex.) { |
| 942 | m_infos.append(response.resultAsContextInfo()); |
| 943 | frontend.scheduleGetContextInfocxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetContextInfo(7864480464b09eea).(++m_indexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_index.); |
| 944 | } else { |
| 945 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_debugger.->stackModelcxx . . $ QScriptDebuggerPrivate#stackModel.->setContextInfoscxx . . $ QScriptDebuggerStackModel#setContextInfos(13644bcec1b7148d).(m_infos); |
| 946 | if (m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_debugger.->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->currentFrameIndexcxx . . $ QScriptDebuggerStackWidgetInterface#currentFrameIndex(455f465bc33b4cdf).() == -1) |
| 947 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_debugger.->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->setCurrentFrameIndexcxx . . $ QScriptDebuggerStackWidgetInterface#setCurrentFrameIndex(d4f767463ce0a6b3).(0); |
| 948 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_debugger.->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->setUpdatesEnabledcxx . . $ QWidget#setUpdatesEnabled(b45ddcbc8423892c).(true); |
| 949 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_debugger.->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(true); |
| 950 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 951 | } |
| 952 | } |
| 953 | |
| 954 | private: |
| 955 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_debugger.; |
| 956 | int m_indexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_index.; |
| 957 | QListcxx . . $ QList#<QScriptContextInfocxx . . $ QScriptContextInfo#> m_infoscxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#m_infos.; |
| 958 | }; |
| 959 | |
| 960 | class SyncScriptsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob# : public QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob# |
| 961 | { |
| 962 | public: |
| 963 | SyncScriptsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#SyncScriptsJob(675e123db9602166).(QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *debugger) |
| 964 | : QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob#(debugger), |
| 965 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_debugger.(debugger), m_indexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_index.(-1) {} |
| 966 | |
| 967 | void startcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#start(49f6e7a06ebc5aa8).() |
| 968 | { |
| 969 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 970 | frontend.scheduleScriptsCheckpointcxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleScriptsCheckpoint(b126dc7c1de90089).(); |
| 971 | } |
| 972 | void handleResponsecxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#handleResponse(46b5ea012c87a176).(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, |
| 973 | int) |
| 974 | { |
| 975 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 976 | if (m_indexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_index. == -1) { |
| 977 | QScriptScriptsDeltacxx . . $ QScriptScriptsDelta# delta; |
| 978 | delta = qvariant_castcxx . . $ qvariant_cast(c08a979ef106920f).<QScriptScriptsDeltacxx . . $ QScriptScriptsDelta#>(response.resultcxx . . $ QScriptDebuggerResponse#result(23280f95d1ccaa1f).()); |
| 979 | |
| 980 | const QListcxx . . $ QList#<qint64cxx . . $ qint64#> &removed = delta.second; |
| 981 | for (int i = 0; i <cxx . . $ `operator<`(9d1caf642710d3b0). removed.size(); ++i) |
| 982 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_debugger.->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.->removeScriptcxx . . $ QScriptDebuggerScriptsModel#removeScript(35cb52607f6af42f).(removed.at(i)); |
| 983 | |
| 984 | m_added = delta.first; |
| 985 | if (!m_added.isEmpty()) { |
| 986 | frontend.scheduleGetScriptDatacxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetScriptData(a070d6d14e988596).(m_added.at(++m_index)); |
| 987 | } else { |
| 988 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_debugger.->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.->commitcxx . . $ QScriptDebuggerScriptsModel#commit(49f6e7a06ebc5aa8).(); |
| 989 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 990 | } |
| 991 | } else { |
| 992 | QScriptScriptDatacxx . . $ QScriptScriptData# data = response.resultAsScriptDatacxx . . $ QScriptDebuggerResponse#resultAsScriptData(280a40ecb5477b84).(); |
| 993 | qint64cxx . . $ qint64# scriptId = m_added.at(m_index); |
| 994 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_debugger.->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.->addScriptcxx . . $ QScriptDebuggerScriptsModel#addScript(be35113e58fb83c4).(scriptId, data); |
| 995 | |
| 996 | // ### could be slow, might want to do this in a separate thread |
| 997 | // Q_ASSERT_X(false, Q_FUNC_INFO, "implement me"); |
| 998 | QStringcxx . . $ QString# xmlcxx . . $ QString#QString(ced63f7c635d850d).; // = qt_scriptToXml(data.contents(), data.baseLineNumber()); |
| 999 | QScriptXmlParsercxx . . $ QScriptXmlParser#::Resultcxx . . $ QScriptXmlParser#Result# extraInfo = QScriptXmlParsercxx . . $ QScriptXmlParser#::parsecxx . . $ QScriptXmlParser#parse(5facb9de2f195b34).(xml); |
| 1000 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_debugger.->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.->addExtraScriptInfocxx . . $ QScriptDebuggerScriptsModel#addExtraScriptInfo(de46cd72547b2f22).( |
| 1001 | scriptId, extraInfo.functionsInfo, extraInfo.executableLineNumbers); |
| 1002 | |
| 1003 | if (++m_index < m_added.size()) |
| 1004 | frontend.scheduleGetScriptDatacxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetScriptData(a070d6d14e988596).(m_added.at(m_index)); |
| 1005 | else { |
| 1006 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_debugger.->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.->commitcxx . . $ QScriptDebuggerScriptsModel#commit(49f6e7a06ebc5aa8).(); |
| 1007 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 1008 | } |
| 1009 | } |
| 1010 | } |
| 1011 | |
| 1012 | private: |
| 1013 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_debugger.; |
| 1014 | int m_indexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_index.; |
| 1015 | QListcxx . . $ QList#<qint64cxx . . $ qint64#> m_addedcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#m_added.; |
| 1016 | }; |
| 1017 | |
| 1018 | class SyncBreakpointsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob# : public QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob# |
| 1019 | { |
| 1020 | public: |
| 1021 | SyncBreakpointsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#SyncBreakpointsJob(675e123db9602166).(QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *debugger) |
| 1022 | : QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob#(debugger), |
| 1023 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#m_debugger.(debugger) {} |
| 1024 | void startcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#start(49f6e7a06ebc5aa8).() |
| 1025 | { |
| 1026 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 1027 | frontend.scheduleGetBreakpointscxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetBreakpoints(b126dc7c1de90089).(); |
| 1028 | } |
| 1029 | void handleResponsecxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#handleResponse(46b5ea012c87a176).(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, |
| 1030 | int) |
| 1031 | { |
| 1032 | QScriptBreakpointMapcxx . . $ QScriptBreakpointMap# breakpoints = response.resultAsBreakpoints(); |
| 1033 | QScriptBreakpointMap::const_iterator it; |
| 1034 | for (it = breakpoints.constBegin(); it !=cxx . . $ `operator!=`(abb235a625a921b3). breakpoints.constEnd(); ++it) { |
| 1035 | int id = it.key(); |
| 1036 | QScriptBreakpointDatacxx . . $ QScriptBreakpointData# newData = it.value(); |
| 1037 | QScriptBreakpointDatacxx . . $ QScriptBreakpointData# existingData = m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#m_debugger.->breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->breakpointDatacxx . . $ QScriptBreakpointsModel#breakpointData(f47377ac0cc278c1).(id); |
| 1038 | if (existingData.isValidcxx . . $ QScriptBreakpointData#isValid(50ce9a9e25b4a850).() && (existingData !=cxx . . $ QScriptBreakpointData#`operator!=`(335ec2be1772e605). newData)) |
| 1039 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#m_debugger.->breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.->modifyBreakpointcxx . . $ QScriptBreakpointsModel#modifyBreakpoint(f20b3c29c55c72e7).(id, newData); |
| 1040 | } |
| 1041 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 1042 | } |
| 1043 | |
| 1044 | private: |
| 1045 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#m_debugger.; |
| 1046 | QListcxx . . $ QList#<QScriptContextInfocxx . . $ QScriptContextInfo#> m_infoscxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#m_infos.; |
| 1047 | }; |
| 1048 | |
| 1049 | class SyncLocalsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncLocalsJob# : public QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob# |
| 1050 | { |
| 1051 | public: |
| 1052 | SyncLocalsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncLocalsJob#SyncLocalsJob(675e123db9602166).(QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *debugger) |
| 1053 | : QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob#(debugger), |
| 1054 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncLocalsJob#m_debugger.(debugger) {} |
| 1055 | |
| 1056 | void startcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncLocalsJob#start(49f6e7a06ebc5aa8).() |
| 1057 | { |
| 1058 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 1059 | frontend.scheduleContextsCheckpointcxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleContextsCheckpoint(b126dc7c1de90089).(); |
| 1060 | } |
| 1061 | void handleResponsecxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncLocalsJob#handleResponse(46b5ea012c87a176).(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, |
| 1062 | int) |
| 1063 | { |
| 1064 | QScriptContextsDeltacxx . . $ QScriptContextsDelta# delta = qvariant_cast<QScriptContextsDelta>(response.result()); |
| 1065 | for (int i = 0; i <cxx . . $ `operator<`(9d1caf642710d3b0). delta.first.size(); ++i) { |
| 1066 | QScriptDebuggerLocalsModelcxx . . $ QScriptDebuggerLocalsModel# *model = m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncLocalsJob#m_debugger.->localsModels.take(delta.first.at(i)); |
| 1067 | delete model; |
| 1068 | } |
| 1069 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 1070 | } |
| 1071 | |
| 1072 | private: |
| 1073 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncLocalsJob#m_debugger.; |
| 1074 | }; |
| 1075 | |
| 1076 | class LoadLocalsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob# : public QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob# |
| 1077 | { |
| 1078 | public: |
| 1079 | LoadLocalsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#LoadLocalsJob(e07cb4b96816f8eb).(QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *debugger, int frameIndex) |
| 1080 | : QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob#(debugger), |
| 1081 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.(debugger), m_frameIndexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_frameIndex.(frameIndex) {} |
| 1082 | |
| 1083 | void startcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#start(49f6e7a06ebc5aa8).() |
| 1084 | { |
| 1085 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 1086 | frontend.scheduleGetContextIdcxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetContextId(7864480464b09eea).(m_frameIndexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_frameIndex.); |
| 1087 | } |
| 1088 | void handleResponsecxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#handleResponse(46b5ea012c87a176).(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, |
| 1089 | int) |
| 1090 | { |
| 1091 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 1092 | qint64cxx . . $ qint64# contextId = response.resultAsLongLongcxx . . $ QScriptDebuggerResponse#resultAsLongLong(98833e9ab7de59a4).(); |
| 1093 | QScriptDebuggerLocalsModelcxx . . $ QScriptDebuggerLocalsModel# *model = m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.->localsModels.value(contextId); |
| 1094 | if (model) { |
| 1095 | model->synccxx . . $ QScriptDebuggerLocalsModel#sync(d4f767463ce0a6b3).(m_frameIndexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_frameIndex.); |
| 1096 | } else { |
| 1097 | model = m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.->createLocalsModelcxx . . $ QScriptDebuggerPrivate#createLocalsModel(a877a4090058ae2c).(); |
| 1098 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.->localsModels.insert(contextId, model); |
| 1099 | model->initcxx . . $ QScriptDebuggerLocalsModel#init(d4f767463ce0a6b3).(m_frameIndexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_frameIndex.); |
| 1100 | } |
| 1101 | if (m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.) { |
| 1102 | if (m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.->localsModelcxx . . $ QScriptDebuggerLocalsWidgetInterface#localsModel(e707ec8da26927e9).() != model) // ### bug in qtreeview |
| 1103 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.->setLocalsModelcxx . . $ QScriptDebuggerLocalsWidgetInterface#setLocalsModel(17cea713735b9d3e).(model); |
| 1104 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.->setUpdatesEnabledcxx . . $ QWidget#setUpdatesEnabled(b45ddcbc8423892c).(true); |
| 1105 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(true); |
| 1106 | } |
| 1107 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 1108 | } |
| 1109 | |
| 1110 | private: |
| 1111 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_debugger.; |
| 1112 | int m_frameIndexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#m_frameIndex.; |
| 1113 | }; |
| 1114 | |
| 1115 | class EmitStoppedSignalJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/EmitStoppedSignalJob# : public QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# |
| 1116 | { |
| 1117 | public: |
| 1118 | EmitStoppedSignalJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/EmitStoppedSignalJob#EmitStoppedSignalJob(675e123db9602166).(QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *debugger) |
| 1119 | : m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/EmitStoppedSignalJob#m_debugger.(debugger) {} |
| 1120 | |
| 1121 | void startcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/EmitStoppedSignalJob#start(49f6e7a06ebc5aa8).() |
| 1122 | { |
| 1123 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/EmitStoppedSignalJob#m_debugger.->emitStoppedSignalcxx . . $ QScriptDebuggerPrivate#emitStoppedSignal(49f6e7a06ebc5aa8).(); |
| 1124 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 1125 | } |
| 1126 | |
| 1127 | private: |
| 1128 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/EmitStoppedSignalJob#m_debugger.; |
| 1129 | }; |
| 1130 | |
| 1131 | } // namespace |
| 1132 | |
| 1133 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::startInteractioncxx . . $ QScriptDebuggerPrivate#startInteraction(5282ad483646d81b).(QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::Typecxx . . $ QScriptDebuggerEvent#Type# type, |
| 1134 | qint64cxx . . $ qint64# scriptId, int lineNumber) |
| 1135 | { |
| 1136 | Q_Qcxx . . $ `<external>/15045578679651060896/qglobal.h:1178:9`!(QScriptDebugger); |
| 1137 | if (type != QScriptDebuggerEventcxx . . $ QScriptDebuggerEvent#::InlineEvalFinishedcxx . . $ QScriptDebuggerEvent#InlineEvalFinished.) { |
| 1138 | if (stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.) |
| 1139 | stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->setCurrentFrameIndexcxx . . $ QScriptDebuggerStackWidgetInterface#setCurrentFrameIndex(d4f767463ce0a6b3).(0); |
| 1140 | consolecxx . . $ QScriptDebuggerPrivate#console.->setCurrentFrameIndexcxx . . $ QScriptDebuggerConsole#setCurrentFrameIndex(d4f767463ce0a6b3).(0); |
| 1141 | consolecxx . . $ QScriptDebuggerPrivate#console.->setCurrentScriptIdcxx . . $ QScriptDebuggerConsole#setCurrentScriptId(35cb52607f6af42f).(scriptId); |
| 1142 | consolecxx . . $ QScriptDebuggerPrivate#console.->setCurrentLineNumbercxx . . $ QScriptDebuggerConsole#setCurrentLineNumber(d4f767463ce0a6b3).(lineNumber); |
| 1143 | } |
| 1144 | |
| 1145 | if ((scriptId != -1) && consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) { |
| 1146 | QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job = new QScriptDebuggerShowLineJob(scriptId, lineNumber, consoleWidget, this); |
| 1147 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(job); |
| 1148 | } |
| 1149 | |
| 1150 | synccxx . . $ QScriptDebuggerPrivate#sync(49f6e7a06ebc5aa8).(); |
| 1151 | |
| 1152 | if (!interactivecxx . . $ QScriptDebuggerPrivate#interactive.) { |
| 1153 | interactivecxx . . $ QScriptDebuggerPrivate#interactive. = true; |
| 1154 | if (updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId. != -1) { |
| 1155 | q->killTimercxx . . $ QObject#killTimer(d4f767463ce0a6b3).(updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId.); |
| 1156 | updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId. = -1; |
| 1157 | } |
| 1158 | consolecxx . . $ QScriptDebuggerPrivate#console.->bumpSessionIdcxx . . $ QScriptDebuggerConsole#bumpSessionId(49f6e7a06ebc5aa8).(); |
| 1159 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(new EmitStoppedSignalJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/EmitStoppedSignalJob#(this)); |
| 1160 | } |
| 1161 | |
| 1162 | if (consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) |
| 1163 | consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.->activateWindowcxx . . $ QWidget#activateWindow(49f6e7a06ebc5aa8).(); |
| 1164 | else if (codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.) |
| 1165 | codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->activateWindowcxx . . $ QWidget#activateWindow(49f6e7a06ebc5aa8).(); |
| 1166 | |
| 1167 | if (continueActioncxx . . $ QScriptDebuggerPrivate#continueAction.) |
| 1168 | continueActioncxx . . $ QScriptDebuggerPrivate#continueAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(true); |
| 1169 | if (stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction.) |
| 1170 | stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(true); |
| 1171 | if (stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction.) |
| 1172 | stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(true); |
| 1173 | if (stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction.) |
| 1174 | stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(true); |
| 1175 | if (runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction.) |
| 1176 | runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(true); |
| 1177 | if (runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction.) |
| 1178 | runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(true); |
| 1179 | if (interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction.) |
| 1180 | interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(false); |
| 1181 | |
| 1182 | bool hasScript = (codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget. != 0); |
| 1183 | if (findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.) |
| 1184 | findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(hasScript); |
| 1185 | if (toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction.) |
| 1186 | toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(hasScript); |
| 1187 | if (goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction.) |
| 1188 | goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(hasScript); |
| 1189 | } |
| 1190 | |
| 1191 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::synccxx . . $ QScriptDebuggerPrivate#sync(49f6e7a06ebc5aa8).() |
| 1192 | { |
| 1193 | if (localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.) { |
| 1194 | QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job = new SyncLocalsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncLocalsJob#(this); |
| 1195 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(job); |
| 1196 | } |
| 1197 | if (scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.) { |
| 1198 | QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job = new SyncScriptsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#(this); |
| 1199 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(job); |
| 1200 | } |
| 1201 | if (stackModelcxx . . $ QScriptDebuggerPrivate#stackModel.) { |
| 1202 | QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job = new SyncStackJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#(this); |
| 1203 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(job); |
| 1204 | } |
| 1205 | if (breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.) { |
| 1206 | // need to sync because the ignore-count could have changed |
| 1207 | QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job = new SyncBreakpointsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#(this); |
| 1208 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(job); |
| 1209 | } |
| 1210 | |
| 1211 | if (stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget. && (stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->currentFrameIndexcxx . . $ QScriptDebuggerStackWidgetInterface#currentFrameIndex(455f465bc33b4cdf).() != -1)) { |
| 1212 | int index = stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->currentFrameIndexcxx . . $ QScriptDebuggerStackWidgetInterface#currentFrameIndex(455f465bc33b4cdf).(); |
| 1213 | loadLocalscxx . . $ QScriptDebuggerPrivate#loadLocals(d4f767463ce0a6b3).(index); |
| 1214 | selectScriptForFramecxx . . $ QScriptDebuggerPrivate#selectScriptForFrame(d4f767463ce0a6b3).(index); |
| 1215 | } else if (codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget. && (consolecxx . . $ QScriptDebuggerPrivate#console.->currentFrameIndexcxx . . $ QScriptDebuggerConsole#currentFrameIndex(455f465bc33b4cdf).() != -1)) { |
| 1216 | selectScriptForFramecxx . . $ QScriptDebuggerPrivate#selectScriptForFrame(d4f767463ce0a6b3).(consolecxx . . $ QScriptDebuggerPrivate#console.->currentFrameIndexcxx . . $ QScriptDebuggerConsole#currentFrameIndex(455f465bc33b4cdf).()); |
| 1217 | } |
| 1218 | } |
| 1219 | |
| 1220 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::loadLocalscxx . . $ QScriptDebuggerPrivate#loadLocals(d4f767463ce0a6b3).(int frameIndex) |
| 1221 | { |
| 1222 | LoadLocalsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob# *job = new LoadLocalsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/LoadLocalsJob#(this, frameIndex); |
| 1223 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(job); |
| 1224 | } |
| 1225 | |
| 1226 | QScriptDebuggerLocalsModelcxx . . $ QScriptDebuggerLocalsModel# *QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::createLocalsModelcxx . . $ QScriptDebuggerPrivate#createLocalsModel(a877a4090058ae2c).() |
| 1227 | { |
| 1228 | return new QScriptDebuggerLocalsModel(this, this, q_func()); |
| 1229 | } |
| 1230 | |
| 1231 | namespacecxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ { |
| 1232 | |
| 1233 | class ShowFrameCodeJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob# : public QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob# |
| 1234 | { |
| 1235 | public: |
| 1236 | ShowFrameCodeJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#ShowFrameCodeJob(e07cb4b96816f8eb).(QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *debugger, int frameIndex) |
| 1237 | : QScriptDebuggerCommandSchedulerJobcxx . . $ QScriptDebuggerCommandSchedulerJob#(debugger), |
| 1238 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_debugger.(debugger), m_frameIndexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_frameIndex.(frameIndex) {} |
| 1239 | |
| 1240 | void startcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#start(49f6e7a06ebc5aa8).() |
| 1241 | { |
| 1242 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 1243 | frontend.scheduleGetContextInfocxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetContextInfo(7864480464b09eea).(m_frameIndexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_frameIndex.); |
| 1244 | } |
| 1245 | void handleResponsecxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#handleResponse(46b5ea012c87a176).(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response, |
| 1246 | int) |
| 1247 | { |
| 1248 | if (m_info.isNull()) { |
| 1249 | m_info = response.resultAsContextInfo(); |
| 1250 | QScriptDebuggerCommandSchedulerFrontendcxx . . $ QScriptDebuggerCommandSchedulerFrontend# frontend(commandSchedulercxx . . $ QScriptDebuggerCommandSchedulerJob#commandScheduler(80d89317ed956ed9).(), this); |
| 1251 | frontend.scheduleGetContextStatecxx . . $ QScriptDebuggerCommandSchedulerFrontend#scheduleGetContextState(7864480464b09eea).(m_frameIndexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_frameIndex.); |
| 1252 | } else { |
| 1253 | int contextState = response.resultAsIntcxx . . $ QScriptDebuggerResponse#resultAsInt(455f465bc33b4cdf).(); |
| 1254 | bool error = (contextState == QScriptContextcxx . . $ QScriptContext#::ExceptionStatecxx . . $ QScriptContext#ExceptionState.); |
| 1255 | if (m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_debugger.->scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget.) { |
| 1256 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_debugger.->scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget.->setCurrentScriptcxx . . $ QScriptDebuggerScriptsWidgetInterface#setCurrentScript(35cb52607f6af42f).(m_info.scriptId()); |
| 1257 | } |
| 1258 | if (m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_debugger.->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.) { |
| 1259 | m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_debugger.->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->setCurrentScriptcxx . . $ QScriptDebuggerCodeWidgetInterface#setCurrentScript(35cb52607f6af42f).(m_info.scriptId()); |
| 1260 | QScriptDebuggerCodeViewInterfacecxx . . $ QScriptDebuggerCodeViewInterface# *view = m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_debugger.->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).(); |
| 1261 | if (view) |
| 1262 | view->setExecutionLineNumbercxx . . $ QScriptDebuggerCodeViewInterface#setExecutionLineNumber(918ebd27a9ddbad3).(m_info.lineNumber(), error); |
| 1263 | } |
| 1264 | finishcxx . . $ QScriptDebuggerJob#finish(49f6e7a06ebc5aa8).(); |
| 1265 | } |
| 1266 | } |
| 1267 | |
| 1268 | private: |
| 1269 | QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# *m_debuggercxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_debugger.; |
| 1270 | int m_frameIndexcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_frameIndex.; |
| 1271 | QScriptContextInfocxx . . $ QScriptContextInfo# m_infocxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#m_info.; |
| 1272 | }; |
| 1273 | |
| 1274 | } // namespace |
| 1275 | |
| 1276 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::selectScriptForFramecxx . . $ QScriptDebuggerPrivate#selectScriptForFrame(d4f767463ce0a6b3).(int frameIndex) |
| 1277 | { |
| 1278 | QScriptDebuggerJobcxx . . $ QScriptDebuggerJob# *job = new ShowFrameCodeJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/ShowFrameCodeJob#(this, frameIndex); |
| 1279 | scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(job); |
| 1280 | } |
| 1281 | |
| 1282 | void QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#::emitStoppedSignalcxx . . $ QScriptDebuggerPrivate#emitStoppedSignal(49f6e7a06ebc5aa8).() |
| 1283 | { |
| 1284 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! q_funccxx . . $ QScriptDebuggerPrivate#q_func(d33163235a6e82b3).()->stoppedcxx . . $ QScriptDebugger#stopped(83f5f38750778ac8).(); |
| 1285 | } |
| 1286 | |
| 1287 | /*! |
| 1288 | Constructs a new QScriptDebugger object. |
| 1289 | */ |
| 1290 | QScriptDebuggercxx . . $ QScriptDebugger#::QScriptDebuggercxx . . $ QScriptDebugger#QScriptDebugger(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent) |
| 1291 | : QObjectcxx . . $ QObject#(*new QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate#QScriptDebuggerPrivate(49f6e7a06ebc5aa8)., parent) |
| 1292 | { |
| 1293 | ++scriptDebuggerCountcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/scriptDebuggerCount.; |
| 1294 | } |
| 1295 | |
| 1296 | /*! |
| 1297 | Destroys this QScriptDebugger. |
| 1298 | */ |
| 1299 | QScriptDebuggercxx . . $ QScriptDebugger#::~cxx . . $ QScriptDebugger#`~QScriptDebugger`(ced63f7c635d850d).QScriptDebuggercxx . . $ QScriptDebugger#() |
| 1300 | { |
| 1301 | --scriptDebuggerCountcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/scriptDebuggerCount.; |
| 1302 | if ((scriptDebuggerCountcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/scriptDebuggerCount. == 0) && eventCallbackRegisteredcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/eventCallbackRegistered.) { |
| 1303 | eventCallbackRegisteredcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/eventCallbackRegistered. = false; |
| 1304 | QInternalcxx . . $ QInternal#::unregisterCallbackcxx . . $ QInternal#unregisterCallback(50b775c9802e3dd2).(QInternalcxx . . $ QInternal#::EventNotifyCallbackcxx . . $ QInternal#EventNotifyCallback., |
| 1305 | scriptDebuggerEventCallbackcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/scriptDebuggerEventCallback(c9f66a34bf16b03b).); |
| 1306 | } |
| 1307 | } |
| 1308 | |
| 1309 | /*! |
| 1310 | \internal |
| 1311 | */ |
| 1312 | QScriptDebuggercxx . . $ QScriptDebugger#::QScriptDebuggercxx . . $ QScriptDebugger#QScriptDebugger(f36e58d6045da74e).(QScriptDebuggerPrivatecxx . . $ QScriptDebuggerPrivate# &dd, QObjectcxx . . $ QObject# *parent) |
| 1313 | : QObjectcxx . . $ QObject#(dd, parent) |
| 1314 | { |
| 1315 | } |
| 1316 | |
| 1317 | QScriptDebuggerFrontendcxx . . $ QScriptDebuggerFrontend# *QScriptDebuggercxx . . $ QScriptDebugger#::frontendcxx . . $ QScriptDebugger#frontend(44acb6bbe863407).() const |
| 1318 | { |
| 1319 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1320 | return d->frontendcxx . . $ QScriptDebuggerPrivate#frontend.; |
| 1321 | } |
| 1322 | |
| 1323 | void QScriptDebuggercxx . . $ QScriptDebugger#::setFrontendcxx . . $ QScriptDebugger#setFrontend(afb86326fe2cc46).(QScriptDebuggerFrontendcxx . . $ QScriptDebuggerFrontend# *frontend) |
| 1324 | { |
| 1325 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1326 | if (d->frontendcxx . . $ QScriptDebuggerPrivate#frontend.) |
| 1327 | d->frontendcxx . . $ QScriptDebuggerPrivate#frontend.->setEventHandlercxx . . $ QScriptDebuggerFrontend#setEventHandler(15c4f8064a84e127).(0); |
| 1328 | d->frontendcxx . . $ QScriptDebuggerPrivate#frontend. = frontend; |
| 1329 | if (frontend) { |
| 1330 | frontend->setEventHandlercxx . . $ QScriptDebuggerFrontend#setEventHandler(15c4f8064a84e127).(d); |
| 1331 | if (!eventCallbackRegisteredcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/eventCallbackRegistered.) { |
| 1332 | eventCallbackRegisteredcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/eventCallbackRegistered. = true; |
| 1333 | QInternalcxx . . $ QInternal#::registerCallbackcxx . . $ QInternal#registerCallback(50b775c9802e3dd2).(QInternalcxx . . $ QInternal#::EventNotifyCallbackcxx . . $ QInternal#EventNotifyCallback., |
| 1334 | scriptDebuggerEventCallbackcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/scriptDebuggerEventCallback(c9f66a34bf16b03b).); |
| 1335 | } |
| 1336 | } |
| 1337 | } |
| 1338 | |
| 1339 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(DebuggerActioncxx . . $ QScriptDebugger#DebuggerAction# action, QObjectcxx . . $ QObject# *parent) |
| 1340 | { |
| 1341 | switch (action) { |
| 1342 | case InterruptActioncxx . . $ QScriptDebugger#InterruptAction.: |
| 1343 | return interruptActioncxx . . $ QScriptDebugger#interruptAction(413aa0c9cdadb886).(parent); |
| 1344 | case ContinueActioncxx . . $ QScriptDebugger#ContinueAction.: |
| 1345 | return continueActioncxx . . $ QScriptDebugger#continueAction(413aa0c9cdadb886).(parent); |
| 1346 | case StepIntoActioncxx . . $ QScriptDebugger#StepIntoAction.: |
| 1347 | return stepIntoActioncxx . . $ QScriptDebugger#stepIntoAction(413aa0c9cdadb886).(parent); |
| 1348 | case StepOverActioncxx . . $ QScriptDebugger#StepOverAction.: |
| 1349 | return stepOverActioncxx . . $ QScriptDebugger#stepOverAction(413aa0c9cdadb886).(parent); |
| 1350 | case StepOutActioncxx . . $ QScriptDebugger#StepOutAction.: |
| 1351 | return stepOutActioncxx . . $ QScriptDebugger#stepOutAction(413aa0c9cdadb886).(parent); |
| 1352 | case RunToCursorActioncxx . . $ QScriptDebugger#RunToCursorAction.: |
| 1353 | return runToCursorActioncxx . . $ QScriptDebugger#runToCursorAction(413aa0c9cdadb886).(parent); |
| 1354 | case RunToNewScriptActioncxx . . $ QScriptDebugger#RunToNewScriptAction.: |
| 1355 | return runToNewScriptActioncxx . . $ QScriptDebugger#runToNewScriptAction(413aa0c9cdadb886).(parent); |
| 1356 | case ToggleBreakpointActioncxx . . $ QScriptDebugger#ToggleBreakpointAction.: |
| 1357 | return toggleBreakpointActioncxx . . $ QScriptDebugger#toggleBreakpointAction(413aa0c9cdadb886).(parent); |
| 1358 | case ClearDebugOutputActioncxx . . $ QScriptDebugger#ClearDebugOutputAction.: |
| 1359 | return clearDebugOutputActioncxx . . $ QScriptDebugger#clearDebugOutputAction(413aa0c9cdadb886).(parent); |
| 1360 | case ClearErrorLogActioncxx . . $ QScriptDebugger#ClearErrorLogAction.: |
| 1361 | return clearErrorLogActioncxx . . $ QScriptDebugger#clearErrorLogAction(413aa0c9cdadb886).(parent); |
| 1362 | case ClearConsoleActioncxx . . $ QScriptDebugger#ClearConsoleAction.: |
| 1363 | return clearConsoleActioncxx . . $ QScriptDebugger#clearConsoleAction(413aa0c9cdadb886).(parent); |
| 1364 | case FindInScriptActioncxx . . $ QScriptDebugger#FindInScriptAction.: |
| 1365 | return findInScriptActioncxx . . $ QScriptDebugger#findInScriptAction(413aa0c9cdadb886).(parent); |
| 1366 | case FindNextInScriptActioncxx . . $ QScriptDebugger#FindNextInScriptAction.: |
| 1367 | return findNextInScriptActioncxx . . $ QScriptDebugger#findNextInScriptAction(413aa0c9cdadb886).(parent); |
| 1368 | case FindPreviousInScriptActioncxx . . $ QScriptDebugger#FindPreviousInScriptAction.: |
| 1369 | return findPreviousInScriptActioncxx . . $ QScriptDebugger#findPreviousInScriptAction(413aa0c9cdadb886).(parent); |
| 1370 | case GoToLineActioncxx . . $ QScriptDebugger#GoToLineAction.: |
| 1371 | return goToLineActioncxx . . $ QScriptDebugger#goToLineAction(413aa0c9cdadb886).(parent); |
| 1372 | } |
| 1373 | return 0; |
| 1374 | } |
| 1375 | |
| 1376 | QWidgetcxx . . $ QWidget# *QScriptDebuggercxx . . $ QScriptDebugger#::widgetcxx . . $ QScriptDebugger#widget(7d4672df5dd5766d).(DebuggerWidgetcxx . . $ QScriptDebugger#DebuggerWidget# widget) |
| 1377 | { |
| 1378 | switch (widget) { |
| 1379 | case ConsoleWidgetcxx . . $ QScriptDebugger#ConsoleWidget.: { |
| 1380 | QScriptDebuggerConsoleWidgetInterfacecxx . . $ QScriptDebuggerConsoleWidgetInterface# *w = consoleWidgetcxx . . $ QScriptDebugger#consoleWidget(488305ab1fb55e78).(); |
| 1381 | if (!w && widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()) { |
| 1382 | w = widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()->createConsoleWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createConsoleWidget(1ea9b7d6ade8541f).(); |
| 1383 | setConsoleWidgetcxx . . $ QScriptDebugger#setConsoleWidget(2ed7f442c2986159).(w); |
| 1384 | } |
| 1385 | return w; |
| 1386 | } |
| 1387 | case StackWidgetcxx . . $ QScriptDebugger#StackWidget.: { |
| 1388 | QScriptDebuggerStackWidgetInterfacecxx . . $ QScriptDebuggerStackWidgetInterface# *w = stackWidgetcxx . . $ QScriptDebugger#stackWidget(7a701b0cd44e31e5).(); |
| 1389 | if (!w && widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()) { |
| 1390 | w = widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()->createStackWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createStackWidget(1fc303529556d086).(); |
| 1391 | setStackWidgetcxx . . $ QScriptDebugger#setStackWidget(65e4b9fbb3e93e1e).(w); |
| 1392 | } |
| 1393 | return w; |
| 1394 | } |
| 1395 | case ScriptsWidgetcxx . . $ QScriptDebugger#ScriptsWidget.: { |
| 1396 | QScriptDebuggerScriptsWidgetInterfacecxx . . $ QScriptDebuggerScriptsWidgetInterface# *w = scriptsWidgetcxx . . $ QScriptDebugger#scriptsWidget(fd973c2b5921c0e3).(); |
| 1397 | if (!w && widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()) { |
| 1398 | w = widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()->createScriptsWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createScriptsWidget(a80721c82bfa5af2).(); |
| 1399 | setScriptsWidgetcxx . . $ QScriptDebugger#setScriptsWidget(2e1e6f11490c5e62).(w); |
| 1400 | } |
| 1401 | return w; |
| 1402 | } |
| 1403 | case LocalsWidgetcxx . . $ QScriptDebugger#LocalsWidget.: { |
| 1404 | QScriptDebuggerLocalsWidgetInterfacecxx . . $ QScriptDebuggerLocalsWidgetInterface# *w = localsWidgetcxx . . $ QScriptDebugger#localsWidget(de9c19f97858f700).(); |
| 1405 | if (!w && widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()) { |
| 1406 | w = widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()->createLocalsWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createLocalsWidget(1e000a6b3dfefdd8).(); |
| 1407 | setLocalsWidgetcxx . . $ QScriptDebugger#setLocalsWidget(26ae1e66fdd7b7ac).(w); |
| 1408 | } |
| 1409 | return w; |
| 1410 | } |
| 1411 | case CodeWidgetcxx . . $ QScriptDebugger#CodeWidget.: { |
| 1412 | QScriptDebuggerCodeWidgetInterfacecxx . . $ QScriptDebuggerCodeWidgetInterface# *w = codeWidgetcxx . . $ QScriptDebugger#codeWidget(9e69014ef22311e0).(); |
| 1413 | if (!w && widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()) { |
| 1414 | w = widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()->createCodeWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createCodeWidget(2b744fa0a0d9bbfe).(); |
| 1415 | setCodeWidgetcxx . . $ QScriptDebugger#setCodeWidget(43601a8be133605e).(w); |
| 1416 | } |
| 1417 | return w; |
| 1418 | } |
| 1419 | case CodeFinderWidgetcxx . . $ QScriptDebugger#CodeFinderWidget.: { |
| 1420 | QScriptDebuggerCodeFinderWidgetInterfacecxx . . $ QScriptDebuggerCodeFinderWidgetInterface# *w = codeFinderWidgetcxx . . $ QScriptDebugger#codeFinderWidget(83240d128ed846d5).(); |
| 1421 | if (!w && widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()) { |
| 1422 | w = widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()->createCodeFinderWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createCodeFinderWidget(3b4a5509b490baaa).(); |
| 1423 | setCodeFinderWidgetcxx . . $ QScriptDebugger#setCodeFinderWidget(d6e05ca52ab70828).(w); |
| 1424 | } |
| 1425 | return w; |
| 1426 | } |
| 1427 | case BreakpointsWidgetcxx . . $ QScriptDebugger#BreakpointsWidget.: { |
| 1428 | QScriptBreakpointsWidgetInterfacecxx . . $ QScriptBreakpointsWidgetInterface# *w = breakpointsWidgetcxx . . $ QScriptDebugger#breakpointsWidget(bb17d7ef42aff91d).(); |
| 1429 | if (!w && widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()) { |
| 1430 | w = widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()->createBreakpointsWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createBreakpointsWidget(8015b8776486e68b).(); |
| 1431 | setBreakpointsWidgetcxx . . $ QScriptDebugger#setBreakpointsWidget(5ba4a2e3b635592f).(w); |
| 1432 | } |
| 1433 | return w; |
| 1434 | } |
| 1435 | case DebugOutputWidgetcxx . . $ QScriptDebugger#DebugOutputWidget.: { |
| 1436 | QScriptDebugOutputWidgetInterfacecxx . . $ QScriptDebugOutputWidgetInterface# *w = debugOutputWidgetcxx . . $ QScriptDebugger#debugOutputWidget(9a85c1cdcdddf7c3).(); |
| 1437 | if (!w && widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()) { |
| 1438 | w = widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()->createDebugOutputWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createDebugOutputWidget(af6eabf25091852c).(); |
| 1439 | setDebugOutputWidgetcxx . . $ QScriptDebugger#setDebugOutputWidget(457462ed8d4f632e).(w); |
| 1440 | } |
| 1441 | return w; |
| 1442 | } |
| 1443 | case ErrorLogWidgetcxx . . $ QScriptDebugger#ErrorLogWidget.: { |
| 1444 | QScriptErrorLogWidgetInterfacecxx . . $ QScriptErrorLogWidgetInterface# *w = errorLogWidgetcxx . . $ QScriptDebugger#errorLogWidget(46c0e384203fb3e6).(); |
| 1445 | if (!w && widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()) { |
| 1446 | w = widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).()->createErrorLogWidgetcxx . . $ QScriptDebuggerWidgetFactoryInterface#createErrorLogWidget(3f0010a650e12828).(); |
| 1447 | setErrorLogWidgetcxx . . $ QScriptDebugger#setErrorLogWidget(1d0ff6b66f138862).(w); |
| 1448 | } |
| 1449 | return w; |
| 1450 | } |
| 1451 | } |
| 1452 | return 0; |
| 1453 | } |
| 1454 | |
| 1455 | QScriptDebuggerConsoleWidgetInterfacecxx . . $ QScriptDebuggerConsoleWidgetInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::consoleWidgetcxx . . $ QScriptDebugger#consoleWidget(488305ab1fb55e78).() const |
| 1456 | { |
| 1457 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1458 | return d->consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.; |
| 1459 | } |
| 1460 | |
| 1461 | void QScriptDebuggercxx . . $ QScriptDebugger#::setConsoleWidgetcxx . . $ QScriptDebugger#setConsoleWidget(2ed7f442c2986159).(QScriptDebuggerConsoleWidgetInterfacecxx . . $ QScriptDebuggerConsoleWidgetInterface# *consoleWidget) |
| 1462 | { |
| 1463 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1464 | if (d->consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget.) { |
| 1465 | QObjectcxx . . $ QObject#::disconnectcxx . . $ QObject#disconnect(bb355c0e5cae20e4).(d->consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget., 0, this, 0); |
| 1466 | } |
| 1467 | d->consoleWidgetcxx . . $ QScriptDebuggerPrivate#consoleWidget. = consoleWidget; |
| 1468 | if (consoleWidget) { |
| 1469 | consoleWidget->setCommandHistoriancxx . . $ QScriptDebuggerConsoleWidgetInterface#setCommandHistorian(50ad25ef07072510).(d->consolecxx . . $ QScriptDebuggerPrivate#console.); |
| 1470 | consoleWidget->setCompletionProvidercxx . . $ QScriptDebuggerConsoleWidgetInterface#setCompletionProvider(b2911e2fa694b2a9).(d); |
| 1471 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(consoleWidget, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(lineEntered(QString)), |
| 1472 | this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_onLineEntered(QString))); |
| 1473 | |
| 1474 | d->consolecxx . . $ QScriptDebuggerPrivate#console.->showDebuggerInfoMessagecxx . . $ QScriptDebuggerConsole#showDebuggerInfoMessage(be5dd84400410413).(consoleWidget); |
| 1475 | } |
| 1476 | } |
| 1477 | |
| 1478 | QScriptDebuggerStackWidgetInterfacecxx . . $ QScriptDebuggerStackWidgetInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::stackWidgetcxx . . $ QScriptDebugger#stackWidget(7a701b0cd44e31e5).() const |
| 1479 | { |
| 1480 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1481 | return d->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.; |
| 1482 | } |
| 1483 | |
| 1484 | void QScriptDebuggercxx . . $ QScriptDebugger#::setStackWidgetcxx . . $ QScriptDebugger#setStackWidget(65e4b9fbb3e93e1e).(QScriptDebuggerStackWidgetInterfacecxx . . $ QScriptDebuggerStackWidgetInterface# *stackWidget) |
| 1485 | { |
| 1486 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1487 | if (d->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.) { |
| 1488 | QObjectcxx . . $ QObject#::disconnectcxx . . $ QObject#disconnect(bb355c0e5cae20e4).(d->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget., 0, this, 0); |
| 1489 | } |
| 1490 | d->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget. = stackWidget; |
| 1491 | if (stackWidget) { |
| 1492 | if (!d->stackModelcxx . . $ QScriptDebuggerPrivate#stackModel.) { |
| 1493 | d->stackModel = new QScriptDebuggerStackModel(this); |
| 1494 | if (d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.) |
| 1495 | d->scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(new SyncStackJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncStackJob#(d)); |
| 1496 | } |
| 1497 | stackWidget->setStackModelcxx . . $ QScriptDebuggerStackWidgetInterface#setStackModel(c6e1f1e42522b780).(d->stackModelcxx . . $ QScriptDebuggerPrivate#stackModel.); |
| 1498 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(stackWidget, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(currentFrameChanged(int)), |
| 1499 | this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_onCurrentFrameChanged(int))); |
| 1500 | } |
| 1501 | } |
| 1502 | |
| 1503 | QScriptDebuggerScriptsWidgetInterfacecxx . . $ QScriptDebuggerScriptsWidgetInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::scriptsWidgetcxx . . $ QScriptDebugger#scriptsWidget(fd973c2b5921c0e3).() const |
| 1504 | { |
| 1505 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1506 | return d->scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget.; |
| 1507 | } |
| 1508 | |
| 1509 | void QScriptDebuggercxx . . $ QScriptDebugger#::setScriptsWidgetcxx . . $ QScriptDebugger#setScriptsWidget(2e1e6f11490c5e62).(QScriptDebuggerScriptsWidgetInterfacecxx . . $ QScriptDebuggerScriptsWidgetInterface# *scriptsWidget) |
| 1510 | { |
| 1511 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1512 | if (d->scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget.) { |
| 1513 | QObjectcxx . . $ QObject#::disconnectcxx . . $ QObject#disconnect(bb355c0e5cae20e4).(d->scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget., 0, this, 0); |
| 1514 | } |
| 1515 | d->scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget. = scriptsWidget; |
| 1516 | if (scriptsWidget) { |
| 1517 | if (!d->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.) { |
| 1518 | d->scriptsModel = new QScriptDebuggerScriptsModel(this); |
| 1519 | if (d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.) |
| 1520 | d->scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(new SyncScriptsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#(d)); |
| 1521 | } |
| 1522 | scriptsWidget->setScriptsModelcxx . . $ QScriptDebuggerScriptsWidgetInterface#setScriptsModel(32ce85fcbcfe135c).(d->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.); |
| 1523 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(scriptsWidget, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(currentScriptChanged(qint64)), |
| 1524 | this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_onCurrentScriptChanged(qint64))); |
| 1525 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->scriptsWidgetcxx . . $ QScriptDebuggerPrivate#scriptsWidget., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(scriptLocationSelected(int)), |
| 1526 | this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_onScriptLocationSelected(int))); |
| 1527 | } |
| 1528 | } |
| 1529 | |
| 1530 | QScriptDebuggerLocalsWidgetInterfacecxx . . $ QScriptDebuggerLocalsWidgetInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::localsWidgetcxx . . $ QScriptDebugger#localsWidget(de9c19f97858f700).() const |
| 1531 | { |
| 1532 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1533 | return d->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.; |
| 1534 | } |
| 1535 | |
| 1536 | void QScriptDebuggercxx . . $ QScriptDebugger#::setLocalsWidgetcxx . . $ QScriptDebugger#setLocalsWidget(26ae1e66fdd7b7ac).(QScriptDebuggerLocalsWidgetInterfacecxx . . $ QScriptDebuggerLocalsWidgetInterface# *localsWidget) |
| 1537 | { |
| 1538 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1539 | if (d->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.) { |
| 1540 | // ### d->localsWidget->setLocalsModel(0); |
| 1541 | } |
| 1542 | localsWidget->setCompletionProvidercxx . . $ QScriptDebuggerLocalsWidgetInterface#setCompletionProvider(b2911e2fa694b2a9).(d); |
| 1543 | d->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget. = localsWidget; |
| 1544 | } |
| 1545 | |
| 1546 | QScriptDebuggerCodeWidgetInterfacecxx . . $ QScriptDebuggerCodeWidgetInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::codeWidgetcxx . . $ QScriptDebugger#codeWidget(9e69014ef22311e0).() const |
| 1547 | { |
| 1548 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1549 | return d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.; |
| 1550 | } |
| 1551 | |
| 1552 | void QScriptDebuggercxx . . $ QScriptDebugger#::setCodeWidgetcxx . . $ QScriptDebugger#setCodeWidget(43601a8be133605e).(QScriptDebuggerCodeWidgetInterfacecxx . . $ QScriptDebuggerCodeWidgetInterface# *codeWidget) |
| 1553 | { |
| 1554 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1555 | if (d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.) { |
| 1556 | d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->removeEventFiltercxx . . $ QObject#removeEventFilter(749de1b6ae65bddd).(this); |
| 1557 | } |
| 1558 | d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget. = codeWidget; |
| 1559 | if (codeWidget) { |
| 1560 | if (!d->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.) { |
| 1561 | d->scriptsModel = new QScriptDebuggerScriptsModel(this); |
| 1562 | if (d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.) |
| 1563 | d->scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(new SyncScriptsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncScriptsJob#(d)); |
| 1564 | } |
| 1565 | codeWidget->setScriptsModelcxx . . $ QScriptDebuggerCodeWidgetInterface#setScriptsModel(32ce85fcbcfe135c).(d->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.); |
| 1566 | if (!d->breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.) { |
| 1567 | d->breakpointsModel = new QScriptBreakpointsModel(d, d, this); |
| 1568 | if (d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.) |
| 1569 | d->scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(new SyncBreakpointsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#(d)); |
| 1570 | } |
| 1571 | codeWidget->setBreakpointsModelcxx . . $ QScriptDebuggerCodeWidgetInterface#setBreakpointsModel(33dec847fe365311).(d->breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.); |
| 1572 | codeWidget->setToolTipProvidercxx . . $ QScriptDebuggerCodeWidgetInterface#setToolTipProvider(8ccc002c0071c7ea).(d); |
| 1573 | codeWidget->installEventFiltercxx . . $ QObject#installEventFilter(749de1b6ae65bddd).(this); |
| 1574 | } |
| 1575 | bool hasScript = (codeWidget != 0) && (codeWidget->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).() != 0); |
| 1576 | if (d->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.) |
| 1577 | d->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(hasScript && (d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget. != 0)); |
| 1578 | if (d->goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction.) |
| 1579 | d->goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(hasScript); |
| 1580 | if (d->toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction.) |
| 1581 | d->toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(hasScript); |
| 1582 | } |
| 1583 | |
| 1584 | QScriptDebuggerCodeFinderWidgetInterfacecxx . . $ QScriptDebuggerCodeFinderWidgetInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::codeFinderWidgetcxx . . $ QScriptDebugger#codeFinderWidget(83240d128ed846d5).() const |
| 1585 | { |
| 1586 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1587 | return d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.; |
| 1588 | } |
| 1589 | |
| 1590 | void QScriptDebuggercxx . . $ QScriptDebugger#::setCodeFinderWidgetcxx . . $ QScriptDebugger#setCodeFinderWidget(d6e05ca52ab70828).(QScriptDebuggerCodeFinderWidgetInterfacecxx . . $ QScriptDebuggerCodeFinderWidgetInterface# *codeFinderWidget) |
| 1591 | { |
| 1592 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1593 | if (d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.) { |
| 1594 | QObjectcxx . . $ QObject#::disconnectcxx . . $ QObject#disconnect(bb355c0e5cae20e4).(d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget., 0, this, 0); |
| 1595 | } |
| 1596 | d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget. = codeFinderWidget; |
| 1597 | if (codeFinderWidget) { |
| 1598 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(codeFinderWidget, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(findRequest(QString,int)), |
| 1599 | this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_onFindCodeRequest(QString,int))); |
| 1600 | } |
| 1601 | if (d->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.) { |
| 1602 | d->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).( |
| 1603 | (codeFinderWidget != 0) |
| 1604 | && (d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget. != 0) |
| 1605 | && (d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).() != 0)); |
| 1606 | } |
| 1607 | } |
| 1608 | |
| 1609 | QScriptDebugOutputWidgetInterfacecxx . . $ QScriptDebugOutputWidgetInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::debugOutputWidgetcxx . . $ QScriptDebugger#debugOutputWidget(9a85c1cdcdddf7c3).() const |
| 1610 | { |
| 1611 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1612 | return d->debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget.; |
| 1613 | } |
| 1614 | |
| 1615 | void QScriptDebuggercxx . . $ QScriptDebugger#::setDebugOutputWidgetcxx . . $ QScriptDebugger#setDebugOutputWidget(457462ed8d4f632e).(QScriptDebugOutputWidgetInterfacecxx . . $ QScriptDebugOutputWidgetInterface# *debugOutputWidget) |
| 1616 | { |
| 1617 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1618 | d->debugOutputWidgetcxx . . $ QScriptDebuggerPrivate#debugOutputWidget. = debugOutputWidget; |
| 1619 | } |
| 1620 | |
| 1621 | QScriptBreakpointsWidgetInterfacecxx . . $ QScriptBreakpointsWidgetInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::breakpointsWidgetcxx . . $ QScriptDebugger#breakpointsWidget(bb17d7ef42aff91d).() const |
| 1622 | { |
| 1623 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1624 | return d->breakpointsWidgetcxx . . $ QScriptDebuggerPrivate#breakpointsWidget.; |
| 1625 | } |
| 1626 | |
| 1627 | void QScriptDebuggercxx . . $ QScriptDebugger#::setBreakpointsWidgetcxx . . $ QScriptDebugger#setBreakpointsWidget(5ba4a2e3b635592f).(QScriptBreakpointsWidgetInterfacecxx . . $ QScriptBreakpointsWidgetInterface# *breakpointsWidget) |
| 1628 | { |
| 1629 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1630 | if (d->breakpointsWidgetcxx . . $ QScriptDebuggerPrivate#breakpointsWidget.) { |
| 1631 | // ### invalidate |
| 1632 | } |
| 1633 | d->breakpointsWidgetcxx . . $ QScriptDebuggerPrivate#breakpointsWidget. = breakpointsWidget; |
| 1634 | if (breakpointsWidget) { |
| 1635 | if (!d->breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.) { |
| 1636 | d->breakpointsModel = new QScriptBreakpointsModel(d, d, this); |
| 1637 | if (d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.) |
| 1638 | d->scheduleJobcxx . . $ QScriptDebuggerPrivate#scheduleJob(40f7c20f23bab508).(new SyncBreakpointsJobcxx . . $ `$anonymous_namespace_src/scripttools/debugging/qscriptdebugger.cpp`/SyncBreakpointsJob#(d)); |
| 1639 | } |
| 1640 | d->breakpointsWidgetcxx . . $ QScriptDebuggerPrivate#breakpointsWidget.->setBreakpointsModelcxx . . $ QScriptBreakpointsWidgetInterface#setBreakpointsModel(33dec847fe365311).(d->breakpointsModelcxx . . $ QScriptDebuggerPrivate#breakpointsModel.); |
| 1641 | d->breakpointsWidgetcxx . . $ QScriptDebuggerPrivate#breakpointsWidget.->setScriptsModelcxx . . $ QScriptBreakpointsWidgetInterface#setScriptsModel(32ce85fcbcfe135c).(d->scriptsModelcxx . . $ QScriptDebuggerPrivate#scriptsModel.); |
| 1642 | } |
| 1643 | } |
| 1644 | |
| 1645 | QScriptErrorLogWidgetInterfacecxx . . $ QScriptErrorLogWidgetInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::errorLogWidgetcxx . . $ QScriptDebugger#errorLogWidget(46c0e384203fb3e6).() const |
| 1646 | { |
| 1647 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1648 | return d->errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget.; |
| 1649 | } |
| 1650 | |
| 1651 | void QScriptDebuggercxx . . $ QScriptDebugger#::setErrorLogWidgetcxx . . $ QScriptDebugger#setErrorLogWidget(1d0ff6b66f138862).(QScriptErrorLogWidgetInterfacecxx . . $ QScriptErrorLogWidgetInterface# *errorLogWidget) |
| 1652 | { |
| 1653 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1654 | d->errorLogWidgetcxx . . $ QScriptDebuggerPrivate#errorLogWidget. = errorLogWidget; |
| 1655 | } |
| 1656 | |
| 1657 | QScriptDebuggerWidgetFactoryInterfacecxx . . $ QScriptDebuggerWidgetFactoryInterface# *QScriptDebuggercxx . . $ QScriptDebugger#::widgetFactorycxx . . $ QScriptDebugger#widgetFactory(4719930bd603268b).() const |
| 1658 | { |
| 1659 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1660 | return d->widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory.; |
| 1661 | } |
| 1662 | |
| 1663 | void QScriptDebuggercxx . . $ QScriptDebugger#::setWidgetFactorycxx . . $ QScriptDebugger#setWidgetFactory(657609330d989540).(QScriptDebuggerWidgetFactoryInterfacecxx . . $ QScriptDebuggerWidgetFactoryInterface# *factory) |
| 1664 | { |
| 1665 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1666 | d->widgetFactorycxx . . $ QScriptDebuggerPrivate#widgetFactory. = factory; |
| 1667 | } |
| 1668 | |
| 1669 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::interruptActioncxx . . $ QScriptDebugger#interruptAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1670 | { |
| 1671 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1672 | if (!d->interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction.) { |
| 1673 | QIconcxx . . $ QIcon# interruptIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1674 | interruptIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("interrupt.png")), QIconcxx . . $ QIcon#::Normalcxx . . $ QIcon#Normal.); |
| 1675 | interruptIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("d_interrupt.png")), QIconcxx . . $ QIcon#::Disabledcxx . . $ QIcon#Disabled.); |
| 1676 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1677 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(interruptIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Interrupt"), parent); |
| 1678 | d->interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(!d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.); |
| 1679 | #ifndef QT_NO_SHORTCUT |
| 1680 | d->interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Shift+F5")); |
| 1681 | #endif |
| 1682 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1683 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_interrupt())); |
| 1684 | } |
| 1685 | return d->interruptActioncxx . . $ QScriptDebuggerPrivate#interruptAction.; |
| 1686 | } |
| 1687 | |
| 1688 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::continueActioncxx . . $ QScriptDebugger#continueAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1689 | { |
| 1690 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1691 | if (!d->continueActioncxx . . $ QScriptDebuggerPrivate#continueAction.) { |
| 1692 | QIconcxx . . $ QIcon# continueIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1693 | continueIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("play.png")), QIconcxx . . $ QIcon#::Normalcxx . . $ QIcon#Normal.); |
| 1694 | continueIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("d_play.png")), QIconcxx . . $ QIcon#::Disabledcxx . . $ QIcon#Disabled.); |
| 1695 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1696 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->continueActioncxx . . $ QScriptDebuggerPrivate#continueAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(continueIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Continue"), parent); |
| 1697 | d->continueActioncxx . . $ QScriptDebuggerPrivate#continueAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.); |
| 1698 | #ifndef QT_NO_SHORTCUT |
| 1699 | d->continueActioncxx . . $ QScriptDebuggerPrivate#continueAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("F5")); |
| 1700 | #endif |
| 1701 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->continueActioncxx . . $ QScriptDebuggerPrivate#continueAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1702 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_continue())); |
| 1703 | } |
| 1704 | return d->continueActioncxx . . $ QScriptDebuggerPrivate#continueAction.; |
| 1705 | } |
| 1706 | |
| 1707 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::stepIntoActioncxx . . $ QScriptDebugger#stepIntoAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1708 | { |
| 1709 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1710 | if (!d->stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction.) { |
| 1711 | QIconcxx . . $ QIcon# stepIntoIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1712 | stepIntoIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("stepinto.png")), QIconcxx . . $ QIcon#::Normalcxx . . $ QIcon#Normal.); |
| 1713 | stepIntoIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("d_stepinto.png")), QIconcxx . . $ QIcon#::Disabledcxx . . $ QIcon#Disabled.); |
| 1714 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1715 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(stepIntoIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Step Into"), parent); |
| 1716 | d->stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.); |
| 1717 | #ifndef QT_NO_SHORTCUT |
| 1718 | d->stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("F11")); |
| 1719 | #endif |
| 1720 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1721 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_stepInto())); |
| 1722 | } |
| 1723 | return d->stepIntoActioncxx . . $ QScriptDebuggerPrivate#stepIntoAction.; |
| 1724 | } |
| 1725 | |
| 1726 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::stepOverActioncxx . . $ QScriptDebugger#stepOverAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1727 | { |
| 1728 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1729 | if (!d->stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction.) { |
| 1730 | QIconcxx . . $ QIcon# stepOverIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1731 | stepOverIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("stepover.png")), QIconcxx . . $ QIcon#::Normalcxx . . $ QIcon#Normal.); |
| 1732 | stepOverIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("d_stepover.png")), QIconcxx . . $ QIcon#::Disabledcxx . . $ QIcon#Disabled.); |
| 1733 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1734 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(stepOverIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Step Over"), parent); |
| 1735 | d->stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.); |
| 1736 | #ifndef QT_NO_SHORTCUT |
| 1737 | d->stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("F10")); |
| 1738 | #endif |
| 1739 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1740 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_stepOver())); |
| 1741 | } |
| 1742 | return d->stepOverActioncxx . . $ QScriptDebuggerPrivate#stepOverAction.; |
| 1743 | } |
| 1744 | |
| 1745 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::stepOutActioncxx . . $ QScriptDebugger#stepOutAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1746 | { |
| 1747 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1748 | if (!d->stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction.) { |
| 1749 | QIconcxx . . $ QIcon# stepOutIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1750 | stepOutIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("stepout.png")), QIconcxx . . $ QIcon#::Normalcxx . . $ QIcon#Normal.); |
| 1751 | stepOutIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("d_stepout.png")), QIconcxx . . $ QIcon#::Disabledcxx . . $ QIcon#Disabled.); |
| 1752 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1753 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(stepOutIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Step Out"), parent); |
| 1754 | d->stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.); |
| 1755 | #ifndef QT_NO_SHORTCUT |
| 1756 | d->stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Shift+F11")); |
| 1757 | #endif |
| 1758 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1759 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_stepOut())); |
| 1760 | } |
| 1761 | return d->stepOutActioncxx . . $ QScriptDebuggerPrivate#stepOutAction.; |
| 1762 | } |
| 1763 | |
| 1764 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::runToCursorActioncxx . . $ QScriptDebugger#runToCursorAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1765 | { |
| 1766 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1767 | if (!d->runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction.) { |
| 1768 | QIconcxx . . $ QIcon# runToCursorIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1769 | runToCursorIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("runtocursor.png")), QIconcxx . . $ QIcon#::Normalcxx . . $ QIcon#Normal.); |
| 1770 | runToCursorIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("d_runtocursor.png")), QIconcxx . . $ QIcon#::Disabledcxx . . $ QIcon#Disabled.); |
| 1771 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1772 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(runToCursorIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Run to Cursor"), parent); |
| 1773 | d->runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.); |
| 1774 | #ifndef QT_NO_SHORTCUT |
| 1775 | d->runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Ctrl+F10")); |
| 1776 | #endif |
| 1777 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1778 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_runToCursor())); |
| 1779 | } |
| 1780 | return d->runToCursorActioncxx . . $ QScriptDebuggerPrivate#runToCursorAction.; |
| 1781 | } |
| 1782 | |
| 1783 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::runToNewScriptActioncxx . . $ QScriptDebugger#runToNewScriptAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1784 | { |
| 1785 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1786 | if (!d->runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction.) { |
| 1787 | QIconcxx . . $ QIcon# runToNewScriptIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1788 | runToNewScriptIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("runtonewscript.png")), QIconcxx . . $ QIcon#::Normalcxx . . $ QIcon#Normal.); |
| 1789 | runToNewScriptIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("d_breakonscriptload.png")), QIconcxx . . $ QIcon#::Disabledcxx . . $ QIcon#Disabled.); |
| 1790 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1791 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(runToNewScriptIcon, |
| 1792 | QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Run to New Script"), parent); |
| 1793 | d->runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.); |
| 1794 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1795 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_runToNewScript())); |
| 1796 | } |
| 1797 | return d->runToNewScriptActioncxx . . $ QScriptDebuggerPrivate#runToNewScriptAction.; |
| 1798 | } |
| 1799 | |
| 1800 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::toggleBreakpointActioncxx . . $ QScriptDebugger#toggleBreakpointAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1801 | { |
| 1802 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1803 | if (!d->toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction.) { |
| 1804 | QIconcxx . . $ QIcon# toggleBreakpointIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1805 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1806 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(toggleBreakpointIcon, |
| 1807 | QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Toggle Breakpoint"), parent); |
| 1808 | #ifndef QT_NO_SHORTCUT |
| 1809 | d->toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("F9")); |
| 1810 | #endif |
| 1811 | d->toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).((d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget. != 0) && (d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).() != 0)); |
| 1812 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1813 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_toggleBreakpoint())); |
| 1814 | } |
| 1815 | return d->toggleBreakpointActioncxx . . $ QScriptDebuggerPrivate#toggleBreakpointAction.; |
| 1816 | } |
| 1817 | |
| 1818 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::clearDebugOutputActioncxx . . $ QScriptDebugger#clearDebugOutputAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1819 | { |
| 1820 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1821 | if (!d->clearDebugOutputActioncxx . . $ QScriptDebuggerPrivate#clearDebugOutputAction.) { |
| 1822 | QIconcxx . . $ QIcon# clearDebugOutputIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1823 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1824 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->clearDebugOutputActioncxx . . $ QScriptDebuggerPrivate#clearDebugOutputAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(clearDebugOutputIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Clear Debug Output"), parent); |
| 1825 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->clearDebugOutputActioncxx . . $ QScriptDebuggerPrivate#clearDebugOutputAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1826 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_clearDebugOutput())); |
| 1827 | } |
| 1828 | return d->clearDebugOutputActioncxx . . $ QScriptDebuggerPrivate#clearDebugOutputAction.; |
| 1829 | } |
| 1830 | |
| 1831 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::clearErrorLogActioncxx . . $ QScriptDebugger#clearErrorLogAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1832 | { |
| 1833 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1834 | if (!d->clearErrorLogActioncxx . . $ QScriptDebuggerPrivate#clearErrorLogAction.) { |
| 1835 | QIconcxx . . $ QIcon# clearErrorLogIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1836 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1837 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->clearErrorLogActioncxx . . $ QScriptDebuggerPrivate#clearErrorLogAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(clearErrorLogIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Clear Error Log"), parent); |
| 1838 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->clearErrorLogActioncxx . . $ QScriptDebuggerPrivate#clearErrorLogAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1839 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_clearErrorLog())); |
| 1840 | } |
| 1841 | return d->clearErrorLogActioncxx . . $ QScriptDebuggerPrivate#clearErrorLogAction.; |
| 1842 | } |
| 1843 | |
| 1844 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::clearConsoleActioncxx . . $ QScriptDebugger#clearConsoleAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1845 | { |
| 1846 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1847 | if (!d->clearConsoleActioncxx . . $ QScriptDebuggerPrivate#clearConsoleAction.) { |
| 1848 | QIconcxx . . $ QIcon# clearConsoleIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1849 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1850 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->clearConsoleActioncxx . . $ QScriptDebuggerPrivate#clearConsoleAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(clearConsoleIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Clear Console"), parent); |
| 1851 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->clearConsoleActioncxx . . $ QScriptDebuggerPrivate#clearConsoleAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1852 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_clearConsole())); |
| 1853 | } |
| 1854 | return d->clearConsoleActioncxx . . $ QScriptDebuggerPrivate#clearConsoleAction.; |
| 1855 | } |
| 1856 | |
| 1857 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::findInScriptActioncxx . . $ QScriptDebugger#findInScriptAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1858 | { |
| 1859 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1860 | if (!d->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.) { |
| 1861 | QIconcxx . . $ QIcon# findInScriptIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1862 | findInScriptIcon.addPixmapcxx . . $ QIcon#addPixmap(148c119025559ed9).(d->pixmapcxx . . $ QScriptDebuggerPrivate#pixmap(13bf8f5656ba7097).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).("find.png")), QIconcxx . . $ QIcon#::Normalcxx . . $ QIcon#Normal.); |
| 1863 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1864 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(findInScriptIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("&Find in Script..."), parent); |
| 1865 | #ifndef QT_NO_SHORTCUT |
| 1866 | d->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Ctrl+F")); |
| 1867 | #endif |
| 1868 | d->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).( |
| 1869 | (d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget. != 0) |
| 1870 | && (d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget. != 0) |
| 1871 | && (d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).() != 0)); |
| 1872 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1873 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_findInScript())); |
| 1874 | } |
| 1875 | return d->findInScriptActioncxx . . $ QScriptDebuggerPrivate#findInScriptAction.; |
| 1876 | } |
| 1877 | |
| 1878 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::findNextInScriptActioncxx . . $ QScriptDebugger#findNextInScriptAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1879 | { |
| 1880 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1881 | if (!d->findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction.) { |
| 1882 | QIconcxx . . $ QIcon# findNextInScriptIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1883 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1884 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(findNextInScriptIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Find &Next"), parent); |
| 1885 | d->findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget. && !d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->textcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#text(6ef7b6c27b00b43d).().isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()); |
| 1886 | #ifndef QT_NO_SHORTCUT |
| 1887 | d->findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("F3")); |
| 1888 | #endif |
| 1889 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1890 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_findNextInScript())); |
| 1891 | } |
| 1892 | return d->findNextInScriptActioncxx . . $ QScriptDebuggerPrivate#findNextInScriptAction.; |
| 1893 | } |
| 1894 | |
| 1895 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::findPreviousInScriptActioncxx . . $ QScriptDebugger#findPreviousInScriptAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1896 | { |
| 1897 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1898 | if (!d->findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction.) { |
| 1899 | QIconcxx . . $ QIcon# findPreviousInScriptIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1900 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1901 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(findPreviousInScriptIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Find &Previous"), parent); |
| 1902 | d->findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).(d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget. && !d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->textcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#text(6ef7b6c27b00b43d).().isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()); |
| 1903 | #ifndef QT_NO_SHORTCUT |
| 1904 | d->findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Shift+F3")); |
| 1905 | #endif |
| 1906 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1907 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_findPreviousInScript())); |
| 1908 | } |
| 1909 | return d->findPreviousInScriptActioncxx . . $ QScriptDebuggerPrivate#findPreviousInScriptAction.; |
| 1910 | } |
| 1911 | |
| 1912 | QActioncxx . . $ QAction# *QScriptDebuggercxx . . $ QScriptDebugger#::goToLineActioncxx . . $ QScriptDebugger#goToLineAction(413aa0c9cdadb886).(QObjectcxx . . $ QObject# *parent) const |
| 1913 | { |
| 1914 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1915 | if (!d->goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction.) { |
| 1916 | QIconcxx . . $ QIcon# goToLineIconcxx . . $ QIcon#QIcon(ced63f7c635d850d).; |
| 1917 | QScriptDebuggercxx . . $ QScriptDebugger# *that = const_cast<QScriptDebuggercxx . . $ QScriptDebugger#*>(this); |
| 1918 | that->d_funccxx . . $ QScriptDebugger#d_func(71426b5c39df8884).()->goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction. = new QActioncxx . . $ QAction#QAction(ef44fe276c987e61).(goToLineIcon, QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Go to Line"), parent); |
| 1919 | #ifndef QT_NO_SHORTCUT |
| 1920 | d->goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction.->setShortcutcxx . . $ QAction#setShortcut(462600f892e8a1ee).(QScriptDebuggercxx . . $ QKeySequence#QKeySequence(6905a94d1418a018).::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Ctrl+G")); |
| 1921 | #endif |
| 1922 | d->goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction.->setEnabledcxx . . $ QAction#setEnabled(b45ddcbc8423892c).((d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget. != 0) && (d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.->currentViewcxx . . $ QScriptDebuggerCodeWidgetInterface#currentView(9e0257a7ba21be).() != 0)); |
| 1923 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), |
| 1924 | that, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_goToLine())); |
| 1925 | } |
| 1926 | return d->goToLineActioncxx . . $ QScriptDebuggerPrivate#goToLineAction.; |
| 1927 | } |
| 1928 | |
| 1929 | QMenucxx . . $ QMenu# *QScriptDebuggercxx . . $ QScriptDebugger#::createStandardMenucxx . . $ QScriptDebugger#createStandardMenu(232c34e897e16662).(QWidgetcxx . . $ QWidget# *widgetParent, QObjectcxx . . $ QObject# *actionParent) |
| 1930 | { |
| 1931 | QMenucxx . . $ QMenu# *menu = new QMenucxx . . $ QMenu#QMenu(108f35f7aa7f3cf9).(widgetParent); |
| 1932 | menu->setTitlecxx . . $ QMenu#setTitle(3520e46b33348bf6).(QScriptDebuggercxx . . $ QScriptDebugger#::trcxx . . $ QScriptDebugger#tr(75d9f1c324b4579d).("Debug")); |
| 1933 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(ContinueActioncxx . . $ QScriptDebugger#ContinueAction., actionParent)); |
| 1934 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(InterruptActioncxx . . $ QScriptDebugger#InterruptAction., actionParent)); |
| 1935 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(StepIntoActioncxx . . $ QScriptDebugger#StepIntoAction., actionParent)); |
| 1936 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(StepOverActioncxx . . $ QScriptDebugger#StepOverAction., actionParent)); |
| 1937 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(StepOutActioncxx . . $ QScriptDebugger#StepOutAction., actionParent)); |
| 1938 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(RunToCursorActioncxx . . $ QScriptDebugger#RunToCursorAction., actionParent)); |
| 1939 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(RunToNewScriptActioncxx . . $ QScriptDebugger#RunToNewScriptAction., actionParent)); |
| 1940 | |
| 1941 | menu->addSeparatorcxx . . $ QMenu#addSeparator(a590eff9f1ec9a95).(); |
| 1942 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(ToggleBreakpointActioncxx . . $ QScriptDebugger#ToggleBreakpointAction., actionParent)); |
| 1943 | |
| 1944 | menu->addSeparatorcxx . . $ QMenu#addSeparator(a590eff9f1ec9a95).(); |
| 1945 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(ClearDebugOutputActioncxx . . $ QScriptDebugger#ClearDebugOutputAction., actionParent)); |
| 1946 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(ClearErrorLogActioncxx . . $ QScriptDebugger#ClearErrorLogAction., actionParent)); |
| 1947 | menu->addActioncxx . . $ QMenu#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(ClearConsoleActioncxx . . $ QScriptDebugger#ClearConsoleAction., actionParent)); |
| 1948 | |
| 1949 | return menu; |
| 1950 | } |
| 1951 | |
| 1952 | #ifndef QT_NO_TOOLBAR |
| 1953 | QToolBarcxx . . $ QToolBar# *QScriptDebuggercxx . . $ QScriptDebugger#::createStandardToolBarcxx . . $ QScriptDebugger#createStandardToolBar(a6804a15b5f9adf3).(QWidgetcxx . . $ QWidget# *widgetParent, QObjectcxx . . $ QObject# *actionParent) |
| 1954 | { |
| 1955 | QToolBarcxx . . $ QToolBar# *tb = new QToolBarcxx . . $ QToolBar#QToolBar(108f35f7aa7f3cf9).(widgetParent); |
| 1956 | tb->setObjectNamecxx . . $ QObject#setObjectName(3520e46b33348bf6).(QLatin1Stringcxx . . $ QLatin1String#QLatin1String(aac1607cfe1c1740).("qtscriptdebugger_standardToolBar")); |
| 1957 | tb->addActioncxx . . $ QToolBar#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(ContinueActioncxx . . $ QScriptDebugger#ContinueAction., actionParent)); |
| 1958 | tb->addActioncxx . . $ QToolBar#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(InterruptActioncxx . . $ QScriptDebugger#InterruptAction., actionParent)); |
| 1959 | tb->addActioncxx . . $ QToolBar#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(StepIntoActioncxx . . $ QScriptDebugger#StepIntoAction., actionParent)); |
| 1960 | tb->addActioncxx . . $ QToolBar#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(StepOverActioncxx . . $ QScriptDebugger#StepOverAction., actionParent)); |
| 1961 | tb->addActioncxx . . $ QToolBar#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(StepOutActioncxx . . $ QScriptDebugger#StepOutAction., actionParent)); |
| 1962 | tb->addActioncxx . . $ QToolBar#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(RunToCursorActioncxx . . $ QScriptDebugger#RunToCursorAction., actionParent)); |
| 1963 | tb->addActioncxx . . $ QToolBar#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(RunToNewScriptActioncxx . . $ QScriptDebugger#RunToNewScriptAction., actionParent)); |
| 1964 | tb->addSeparatorcxx . . $ QToolBar#addSeparator(a590eff9f1ec9a95).(); |
| 1965 | tb->addActioncxx . . $ QToolBar#addAction(92b1e80c0a7f1406).(actioncxx . . $ QScriptDebugger#action(6474643d7ffadc88).(FindInScriptActioncxx . . $ QScriptDebugger#FindInScriptAction., actionParent)); |
| 1966 | return tb; |
| 1967 | } |
| 1968 | #endif |
| 1969 | |
| 1970 | bool QScriptDebuggercxx . . $ QScriptDebugger#::isInteractivecxx . . $ QScriptDebugger#isInteractive(50ce9a9e25b4a850).() const |
| 1971 | { |
| 1972 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebugger); |
| 1973 | return d->interactivecxx . . $ QScriptDebuggerPrivate#interactive.; |
| 1974 | } |
| 1975 | |
| 1976 | /*! |
| 1977 | \reimp |
| 1978 | */ |
| 1979 | bool QScriptDebuggercxx . . $ QScriptDebugger#::eventFiltercxx . . $ QScriptDebugger#eventFilter(978aa4af1d030efa).(QObjectcxx . . $ QObject# *watched, QEventcxx . . $ QEvent# *e) |
| 1980 | { |
| 1981 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1982 | if (watched == d->codeWidgetcxx . . $ QScriptDebuggerPrivate#codeWidget.) { |
| 1983 | if (e->typecxx . . $ QEvent#type(916a8de57f4d422b).() == QEventcxx . . $ QEvent#::KeyPresscxx . . $ QEvent#KeyPress.) { |
| 1984 | d->_q_findInScriptcxx . . $ QScriptDebuggerPrivate#_q_findInScript(49f6e7a06ebc5aa8).(); |
| 1985 | d->codeFinderWidgetcxx . . $ QScriptDebuggerPrivate#codeFinderWidget.->setTextcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#setText(3520e46b33348bf6).(static_cast<QKeyEvent*>(e)->text()); |
| 1986 | return true; |
| 1987 | } |
| 1988 | } |
| 1989 | return false; |
| 1990 | } |
| 1991 | |
| 1992 | /*! |
| 1993 | \reimp |
| 1994 | */ |
| 1995 | void QScriptDebuggercxx . . $ QScriptDebugger#::timerEventcxx . . $ QScriptDebugger#timerEvent(b9e57d1150f23bf5).(QTimerEventcxx . . $ QTimerEvent# *e) |
| 1996 | { |
| 1997 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebugger); |
| 1998 | if (e->timerIdcxx . . $ QTimerEvent#timerId(455f465bc33b4cdf).() == d->updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId.) { |
| 1999 | killTimercxx . . $ QObject#killTimer(d4f767463ce0a6b3).(d->updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId.); |
| 2000 | d->updatesEnabledTimerIdcxx . . $ QScriptDebuggerPrivate#updatesEnabledTimerId. = -1; |
| 2001 | if (d->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.) |
| 2002 | d->stackWidgetcxx . . $ QScriptDebuggerPrivate#stackWidget.->setUpdatesEnabledcxx . . $ QWidget#setUpdatesEnabled(b45ddcbc8423892c).(true); |
| 2003 | if (d->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.) |
| 2004 | d->localsWidgetcxx . . $ QScriptDebuggerPrivate#localsWidget.->setUpdatesEnabledcxx . . $ QWidget#setUpdatesEnabled(b45ddcbc8423892c).(true); |
| 2005 | } else { |
| 2006 | QObjectcxx . . $ QObject#::timerEventcxx . . $ QObject#timerEvent(b9e57d1150f23bf5).(e); |
| 2007 | } |
| 2008 | } |
| 2009 | |
| 2010 | QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`! |
| 2011 | |
| 2012 | #include "moc_qscriptdebugger_p.cpp"cxx . . $ `<file>/src/scripttools/.moc/moc_qscriptdebugger_p.cpp`/ |