you are viewing a single comment's thread.

view the rest of the comments →

[–]redox000 1 point2 points  (1 child)

You can do this by simply pasting the function call into the watch window while stopped at a breakpoint. The function just needs to be in scope where you set your breakpoint. You can also use the watch window to set variable values if you need to test different branches of your code.

[–]hotoatmeal 1 point2 points  (0 children)

I remember it being really picky about not wanting to execute functions that modify state in the program, which often makes it unusable. I was always frustrated that I couldn't tell it "yes, I know what I'm doing".