mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
Highlight current debugged line.
Hid debugger panel if other panel is opened. Silence the debugger by default.
This commit is contained in:
@@ -77,6 +77,8 @@ class DebuggerPlugin : public PluginBase {
|
||||
|
||||
void initStatusDebuggerController();
|
||||
|
||||
bool isSilent() const { return mSilence; }
|
||||
|
||||
protected:
|
||||
friend class DebuggerClientListener;
|
||||
|
||||
@@ -84,6 +86,7 @@ class DebuggerPlugin : public PluginBase {
|
||||
bool mFetchRegisters{ false };
|
||||
bool mFetchGlobals{ false };
|
||||
bool mChangingBreakpoint{ false };
|
||||
bool mSilence{ true };
|
||||
std::string mProjectPath;
|
||||
|
||||
std::vector<DapTool> mDaps;
|
||||
@@ -207,6 +210,9 @@ class DebuggerPlugin : public PluginBase {
|
||||
const Float& lineHeight, const Float& lineNumberWidth,
|
||||
const int& lineNumberDigits, const Float& fontSize ) override;
|
||||
|
||||
void drawBeforeLineText( UICodeEditor* editor, const Int64& index, Vector2f position,
|
||||
const Float& /*fontSize*/, const Float& lineHeight ) override;
|
||||
|
||||
bool setBreakpoint( UICodeEditor* editor, Uint32 lineNumber );
|
||||
|
||||
bool setBreakpoint( TextDocument* doc, Uint32 lineNumber );
|
||||
|
||||
Reference in New Issue
Block a user