fucrate

u/fucrate


r/VisualStudio•

I'm working on a video game using Unity and VS 2019 and I constantly have behavior I want to debug in realtime, usually animations, but it's really tricky to get a breakpoint into the specific point in time that I need to debug.

I was just thinking "damn, it would be awesome if I could just set a breakpoint at the start of this function and have it only activate if I held down a foot pedal."

I could just write a key check at the start of the function, but writing custom code in every function I would want to test like this is a lot more annoying than just setting a breakpoint.

I have no idea how you might add a plugin or whatever to VS, does anyone know if this would even be possible?

22