Skip to content

Breakpoints on method return statements #49466

Answered by canton7
Connell1 asked this question in Ideas
Discussion options

You must be logged in to vote

If you step onto the closing brace, you can see the return value in the Locals window, and you can also put $ReturnValue into the Watch window:

However, this doesn't seem to happen if you put a breakpoint explicitly on the closing brace: you have to step onto the closing brace.

You can also see the return value in the Locals window after the method has returned:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Connell1
Comment options

Answer selected by Connell1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants