Project

General

Profile

Bug #281

Debugger R/W Breakpoints are Broken

Added by potatotomato almost 5 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Start date:
02/26/2020
API:
Cemu Version:
1.17.2b
GPU Vendor/Model:

Description

So it seems that read/write breakpoints are broken. As for steps for reproducing the issue, in Breath of the Wild [US v208] with all DLC I found my arrow count using the memory search, which I verified by changing the value and seeing the amount update in-game, and then decided to see what assembly instruction was modifying that amount when I shot an arrow. So using the PPC Debugger, I set a write breakpoint on the address and shot an arrow which then stopped the game's execution at 0x02eb66c0 which is a lwz which is a load word instruction so there is no way that is modifying the arrow count. Also, I stepped forward one instruction and as expected the arrow count stayed the same. Though, I actually do know that the instruction that writes to the arrow count is at 0x02eb6768 so the debugger is stopping at the wrong assembly instruction.

History

#1

Updated by Crementif almost 5 years ago

In the meantime, you could try using the singlecore-interpreter CPU Mode in the game profile settings. Pretty sure interpreter was the only mode that allowed for stepping previously either so it's a better mode for debugging all around.

#2

Updated by potatotomato almost 5 years ago

Ah alright. Thanks.

#3

Updated by potatotomato almost 5 years ago

Okay so it seems to work with the interpreter but it's a little odd because the breakpoint triggers one instruction after the desired instruction.

#4

Updated by Serfrost over 3 years ago

Last mention of Breakpoints was 1.22.2

  • Fixed memory breakpoints and made them work with our new threading code

However, this may still be broken.

Also available in: Atom PDF