TASEmulators / TASEmulators/BizHawk

PSX debugger can't evaluate multiple breakpoint conditions (2.6.2)

Open
#2,792 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

App: EmuHawk Request: Feature/Enhancement
Dominant language
C#
Stars
2.8k
Forks
468
PR merge metrics
No merged PRs in 30d

Description

Summary

PSX debugger only evaluates breakpoint hits using the first break condition. When adding multiple read/write conditions for different addresses, the emulator ignores every condition except the first despite read/writes happening to these other addresses. Deactivating or deleting the first condition don't make any other condition work, you have to delete all conditions and then add the next condition as the first in order for the debugger to detect a breakpoint hit.

Repro
  1. Add multiple breakpoint conditions that you're sure you're going to hit in the next frame. Only the first condition will hit.
  2. To make sure that other conditions aren't being evaluated, you can toggle the first condition off and check whether the address of the other condition are being changed. Despite the changes happening, the emulator doesn't detect breakpoint hits.
Host env.
  • BizHawk 2.6.2; Windows 10 Home, AMD processor.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the PSX debugger on BizHawk 2.6.2 using multiple read/write breakpoint conditions, then trace the debugger's breakpoint-condition evaluation path. Done means each active condition can trigger independently, including conditions added after the first, while toggling or deleting one condition does not disable the others.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.