WinUAE icon indicating copy to clipboard operation
WinUAE copied to clipboard

Breakpoints are breaking execution context

Open lab313ru opened this issue 9 years ago • 2 comments

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

lab313ru avatar Dec 16 '15 21:12 lab313ru

Sounds more like JIT being enabled. It is not debugger compatible.

tonioni avatar Oct 07 '16 18:10 tonioni