Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I add some comment while debugging my application?

Is there a way in Visual Studio to add some comment to my code while I am executing debugging?

If I try to do it Visual Studio tells me that changes are not allowed.

Searching on Google I found many people that ask about this feature but I can't find a real solution to insert some comment into my code (only bookmarks).

Is it impossible or is there a way to accomplish this operation?

I know that in Java (using Eclipse) I can do it and it is very comfortable

like image 627
AndreaNobili Avatar asked Sep 02 '25 06:09

AndreaNobili


1 Answers

Why not use the bookmark feature of visual studio?

Look under Edit->Bookmarks->Toggle Bookmark. On my machine that's a shortcut of holding Ctrl and tapping K twice.

There are shortcuts for previous/next bookmark, disable all, etc, etc.

You can also see a list of all bookmarks in the Bookmark Window (under the View menu) which allows you to name your bookmarks...

enter image description here

like image 190
Basic Avatar answered Sep 04 '25 19:09

Basic