Beef icon indicating copy to clipboard operation
Beef copied to clipboard

[Enhancement] Add global hotkey in IDE for breaking at any point in the user code

Open marsej opened this issue 4 years ago • 1 comments

Add global hotkey in IDE for breaking at any point in the user code

The premise is that I can then press actionable keys in the game and also at same time break to debugger when the game is processing those keys in order to quickly debug code paths with the keys pressed.

System.Diagnostics.Debug.Break does not do the same thing as that breaks to the point in execution where that line is located.

edit: I mean by global hotkey that if the IDE is open in the background and focus is on the game app, it would still work say if you press pause/break-key.

Another way to do it would be to add a command to the System.Diagnostics.Debug that queues a "Break All" at the IDE side, with some delay to allow the game app to run normally when it breaks.

marsej avatar Apr 02 '21 13:04 marsej

This could be enhanced with some sort of "debug selected projects only" so that when breaking with say global break (eg.pause-break key) the debugger would land to code in the selected projects instead of dissassembly at somewhere.

marsej avatar Apr 02 '21 13:04 marsej