mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-12 01:20:13 +03:00
Fix crash.
This commit is contained in:
@@ -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<EvaluateInfo>& info ) {
|
||||
|
||||
Reference in New Issue
Block a user