remedybg-issues icon indicating copy to clipboard operation
remedybg-issues copied to clipboard

Feature request: Trigger breakpoint by hit count

Open sonictk opened this issue 2 years ago • 1 comments

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.

sonictk avatar Oct 06 '22 23:10 sonictk

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.

x13pixels avatar Oct 16 '22 15:10 x13pixels