diff --git a/src/tools/ecode/plugins/debugger/debuggerplugin.cpp b/src/tools/ecode/plugins/debugger/debuggerplugin.cpp index 21b2068c2..386a07ffd 100644 --- a/src/tools/ecode/plugins/debugger/debuggerplugin.cpp +++ b/src/tools/ecode/plugins/debugger/debuggerplugin.cpp @@ -1,4 +1,3 @@ -#include "debuggerplugin.hpp" #include "../../notificationcenter.hpp" #include "../../projectbuild.hpp" #include "../../terminalmanager.hpp" @@ -8,6 +7,7 @@ #include "bussocket.hpp" #include "bussocketprocess.hpp" #include "dap/debuggerclientdap.hpp" +#include "debuggerplugin.hpp" #include "models/breakpointsmodel.hpp" #include "models/variablesmodel.hpp" #include "statusdebuggercontroller.hpp" @@ -1410,7 +1410,6 @@ void DebuggerPlugin::runConfig( const std::string& debugger, const std::string& return; } - auto args = configIt->args; // needsToResolveInputs( args ); @@ -1775,6 +1774,9 @@ bool DebuggerPlugin::onMouseMove( UICodeEditor* editor, const Vector2i& position mCurrentHover = range; + if ( !mDebugger ) + return; + mDebugger->evaluate( expression, "hover", mListener->getCurrentFrameId(), [this, editor]( const std::string&, const std::optional& info ) {