开发者

debugging c# in the command line

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 com开发者_运维知识库pleteness' sake, here is the mono equivalent: http://mono-project.com/Guide:Debugger, although it doesn't seem to be very stable.

Thanks.


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.


There are command line debuggers that come with Debugging Tools for Windows like CDB . For managed applications you will also need the SOS module.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜