mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-31 19:05:53 +00:00
Change python scripting 'debug' button to just attach, not run
This commit is contained in:
@@ -106,8 +106,8 @@ public:
|
||||
bool LoadScriptFromFilename(rdcstr filename) override;
|
||||
void CreateNewScriptEditor(rdcstr name, rdcstr text) override;
|
||||
rdcstr GetScriptText() override;
|
||||
void RunScript() override { runScript(false); }
|
||||
void DebugScript() override { runScript(true); }
|
||||
void RunScript() override;
|
||||
void AttachDebugger(const rdcstr &extensionName) override;
|
||||
|
||||
void SetExtensionOutputFilter(const rdcstr &extensionName) override;
|
||||
void SetScriptOutputFilter() override;
|
||||
@@ -135,7 +135,7 @@ private slots:
|
||||
void on_saveAsScript_clicked();
|
||||
|
||||
void on_runScript_clicked();
|
||||
void on_debugScript_clicked();
|
||||
void on_debugAttach_clicked();
|
||||
void on_abortRun_clicked();
|
||||
void on_outputContext_currentIndexChanged(int idx);
|
||||
|
||||
@@ -227,6 +227,7 @@ private:
|
||||
|
||||
void updateEditorCloseButton();
|
||||
void updateNonDebugWarning();
|
||||
void updateButtonStates();
|
||||
|
||||
void addRecentFile(rdcstr filename);
|
||||
void updateRecentFiles(bool added);
|
||||
@@ -240,8 +241,6 @@ private:
|
||||
PythonContext *newContext();
|
||||
void setGlobals(PythonContext *ret);
|
||||
|
||||
void runScript(bool debugging);
|
||||
|
||||
void doAutocomplete(ScintillaEdit *editor);
|
||||
void doFunccomplete(ScintillaEdit *editor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user