MCPcopy Create free account
hub / github.com/SpartanJ/eepp / setUIDebuggingState

Method setUIDebuggingState

src/tools/ecode/plugins/debugger/debuggerplugin.cpp:2396–2417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2394}
2395
2396void DebuggerPlugin::setUIDebuggingState( StatusDebuggerController::State state ) {
2397 if ( isShuttingDown() )
2398 return;
2399 mDebuggingState = state;
2400
2401 auto ctrl = getStatusDebuggerController();
2402 if ( ctrl ) {
2403 ctrl->setDebuggingState( state );
2404 }
2405
2406 if ( mPanelBoxButtons.box ) {
2407 if ( Engine::isMainThread() )
2408 updatePanelUIState( state );
2409 else
2410 mPanelBoxButtons.box->runOnMainThread( [this, state] { updatePanelUIState( state ); } );
2411 }
2412
2413 if ( state == StatusDebuggerController::State::NotStarted ||
2414 state == StatusDebuggerController::State::Running ) {
2415 resetExpressions();
2416 }
2417}
2418
2419void DebuggerPlugin::displayTooltip( UICodeEditor* editor, const std::string& expression,
2420 const EvaluateInfo& info, const Vector2f& position ) {

Callers 4

initUIMethod · 0.80
debuggeeStoppedMethod · 0.80
debuggeeContinuedMethod · 0.80

Calls 2

setDebuggingStateMethod · 0.80
runOnMainThreadMethod · 0.80

Tested by

no test coverage detected