x13pixels / remedybg-issues

Public repository for tracking issues (bugs and features) for the RemedyBG debugger
85 stars 0 forks source link

Feature request: Trigger breakpoint by hit count #271

Open sonictk opened 2 years ago

sonictk commented 2 years ago

This would be really useful for iterating over large loops/arrays and you know that you only want to break after a certain number of times the breakpoint has actually been hit. Equivalent to this functionality. in Visual Studio: image

Currently I end up writing the condition myself in code and re-compiling, but that's very inconvenient on larger projects to do.

x13pixels commented 2 years ago

Plan is to add a "__hitcount" pseudo-variable that can be used in the context of a breakpoint's conditional expression. It might also be worth exposing this in the UI for visibility.