mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 02:43:29 +00:00
Implemented advanced features of DAP
Respect client "supportsVariableType" capability Implement "breakpointLocations" request Implement "restart" request Implement "evaluate" request Fix error messages not being shown, and improved wrong path message Removed thread option and behavior Implemented detailed inspection of complex variables Fix "const"ness of functions Added a configurable timeout for requests Implement Godot custom data request/event Implement syncing of breakpoints Added support for debugging native platforms
This commit is contained in:
parent
d8a8d32f2e
commit
292ed61c18
20 changed files with 845 additions and 67 deletions
|
|
@ -1370,6 +1370,14 @@ Array ScriptTextEditor::get_breakpoints() {
|
|||
return code_editor->get_text_editor()->get_breakpointed_lines();
|
||||
}
|
||||
|
||||
void ScriptTextEditor::set_breakpoint(int p_line, bool p_enabled) {
|
||||
code_editor->get_text_editor()->set_line_as_breakpoint(p_line, p_enabled);
|
||||
}
|
||||
|
||||
void ScriptTextEditor::clear_breakpoints() {
|
||||
code_editor->get_text_editor()->clear_breakpointed_lines();
|
||||
}
|
||||
|
||||
void ScriptTextEditor::set_tooltip_request_func(String p_method, Object *p_obj) {
|
||||
code_editor->get_text_editor()->set_tooltip_request_func(p_obj, p_method, this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue