WinUAE
WinUAE copied to clipboard
Breakpoints are breaking execution context
"z" or "t" command after landing at some breakpoint, doesn't work. It throws many exceptions in debugger console, looses current state, and program continues executes without a debugger, then finishes its execution.
After some investigation:
/* ORSR.W #<data>.W */
uae_u32 REGPARAM2 CPUFUNC(op_007c_11)(uae_u32 opcode)
{
int count_cycles = 0;
{if (!regs.s) { Exception (8); goto l_110018; }
It is strange, that on the same commands, stepping doesn't execute "uae_u32 REGPARAM2 CPUFUNC(op_007c_11)(uae_u32 opcode)" function. It looks like the execution context of other threads breaks with execution context of my program.
Sounds more like JIT being enabled. It is not debugger compatible.