Updated GB_debugger_evaluate (markdown)

Lior Halphon 2024-11-30 22:11:52 +02:00
parent 61b38406bb
commit 5a8e539caf
1 changed files with 9 additions and 1 deletions

@ -6,8 +6,16 @@ In `debugger.h`
## Description ## Description
TBD Evaluates the expression `string` in the context of an emulator instance. Return `true` if the expression was evaluated successfully.
If `result` is not `NULL`, it will be populated with the 16-bit result of the evaluated expression upon success.
If `result_bank` is not `NULL`, it will be populated with the bank of the evaluated expression, or `0xFFFF` if the result is not banked, upon success.
## Thread Safety ## Thread Safety
`GB_debugger_evaluate` must not be called if the instance is being run in another thread, but may be called from the current one (via a callback). `GB_debugger_evaluate` must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).
## See Also
* [[GB_debugger_execute_command]]