Skip to content

GB_debugger_execute_command

Lior Halphon edited this page Nov 30, 2024 · 4 revisions

Definition

void GB_debugger_execute_command(GB_gameboy_t *gb, char *input);

In debugger.h

Description

Executes a debugger command input in an emulator instance and returns its (potentially formatted) output via the logging interface.

The contents of input are destroyed upon returning from this function.

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).

Notes

Some flow control commands, such as continue and step, are not supported by this function and may not behave as expected.

See Also

Clone this wiki locally