mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_debugger_execute_command (markdown)
parent
5a8e539caf
commit
80c542e4bb
|
@ -1,13 +1,23 @@
|
||||||
## Definition
|
## Definition
|
||||||
|
|
||||||
<tt>GB_debugger_execute_command([[GB_gameboy_t]] *gb, char *input);</code>
|
<tt>void GB_debugger_execute_command([[GB_gameboy_t]] *gb, char *input);</code>
|
||||||
|
|
||||||
In `debugger.h`
|
In `debugger.h`
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
TBD
|
Executes a debugger command `input` in an emulator instance, and returns its (potentially formatted) output via the [[logging interface|GB_set_log_callback]].
|
||||||
|
|
||||||
|
The contents of `input` are destroyed upon returning from this function.
|
||||||
|
|
||||||
## Thread Safety
|
## Thread Safety
|
||||||
|
|
||||||
`GB_debugger_execute_command` 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_execute_command` must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
Some flow-control commands, such as `continue` and `step`, are not supported by this function and may not behave as expected.
|
||||||
|
|
||||||
|
## See Also
|
||||||
|
|
||||||
|
* [[GB_debugger_evaluate]]
|
Loading…
Reference in New Issue