mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-27 17:38:08 +03:00
This is implemented by inserting special opcodes into the game's code. When the breakpoint handler is finished, it returns the original opcode so that execute_instruction can continue executing normally. E.g. * start xsystem4 with --debug option to drop into debugger immediately * run (bp "game_main") * ^d or \exit to close debugger REPL * ...drop into a debugger REPL again at the game_main function