mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
HackStudio: Add evaluate expression popup to debugger
This implements a dialog that can be used to evaluate a JS expression in the HackStudio's Debugger context. It also implements simple C++ Variable <-> JS Value conversion, allowing for JS expressions to read/write variables in the debugger scope. Currently, C++ structs are mapped to JS objects by way of a JS proxy, however this leads to issues when printing, so this will be changed in a later commit.
This commit is contained in:
parent
bee16bb83a
commit
60d329a186
7 changed files with 378 additions and 1 deletions
|
@ -103,6 +103,7 @@ private:
|
|||
bool m_hovering_editor { false };
|
||||
bool m_hovering_clickable { false };
|
||||
bool m_autocomplete_in_focus { false };
|
||||
RefPtr<GUI::Action> m_evaluate_expression_action;
|
||||
|
||||
OwnPtr<LanguageClient> m_language_client;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue