Skip to content

Commit

Permalink
Fix crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpartanJ committed Jan 16, 2025
1 parent 45e9865 commit 5396a12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tools/ecode/plugins/debugger/debuggerplugin.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "debuggerplugin.hpp"
#include "../../notificationcenter.hpp"
#include "../../projectbuild.hpp"
#include "../../terminalmanager.hpp"
Expand All @@ -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"
Expand Down Expand Up @@ -1410,7 +1410,6 @@ void DebuggerPlugin::runConfig( const std::string& debugger, const std::string&
return;
}


auto args = configIt->args;
// needsToResolveInputs( args );

Expand Down Expand Up @@ -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<EvaluateInfo>& info ) {
Expand Down

0 comments on commit 5396a12

Please sign in to comment.