Add comments to code while debugging
When I'm debugging I look with different eyes at my code. It makes me wonder what things do and it would be a great time to add some comments to the code. Unluckily (while the executing code is not changed) I can not add comments and always have to remember where I wanted to add some extra comments,
Michael Paterson commented
Couldn't you do this with Edit and Continue?
Jason Glover commented
Either or both of the already specified options would be awesome
I would like that the editor would always allows us to edit code... even it cannot be compiled without restarting debugging. The editor could then mark lines that were edited so that we have a visual clue about changes. One possible way would be to display a pinned "note" similar to a pinned inspector in appearance where pending change could be displayed until the debugging session is completed.
Joshua DeLong commented
You can use bookmarks to mark your spot in code but it would be nice if you could add comments to those bookmarks.
Another idea is comments similar to in Excel where they are just flags so they lay on top of the code.