MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / req_pause

Method req_pause

editor/debugger/debug_adapter/debug_adapter_parser.cpp:288–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288Dictionary DebugAdapterParser::req_pause(const Dictionary &p_params) const {
289 EditorRunBar::get_singleton()->get_pause_button()->set_pressed(true);
290 EditorDebuggerNode::get_singleton()->_paused();
291
292 DebugAdapterProtocol::get_singleton()->notify_stopped_paused();
293
294 return prepare_success_response(p_params);
295}
296
297Dictionary DebugAdapterParser::req_continue(const Dictionary &p_params) const {
298 EditorRunBar::get_singleton()->get_pause_button()->set_pressed(false);

Callers

nothing calls this directly

Calls 4

get_pause_buttonMethod · 0.80
_pausedMethod · 0.80
notify_stopped_pausedMethod · 0.80
set_pressedMethod · 0.45

Tested by

no test coverage detected