Reputation: 20119
Just for fun, how close can we get to debug an application in C# using only the command-line out-of-the-box? No other software, just the command-line. That is, for instance, is there a way to peek at the values of variables, interact with output, etc. like the VS debugger does?
EDIT: And just for completeness' sake, here is the mono equivalent: http://mono-project.com/Guide:Debugger, although it doesn't seem to be very stable.
Thanks.
Upvotes: 11
Views: 4002
Reputation: 1038790
There are command line debuggers that come with Debugging Tools for Windows like CDB . For managed applications you will also need the SOS module.
Upvotes: 1
Reputation: 164291
You can use the CLR debugger, which is part of the framework installation; and does not depend on VS.
An alternative (and more appropiate for your question) is MDbg, which is a command line debugger for managed code.
Upvotes: 7