开发者

Debug through the disassembled code (with Visual Studio)

开发者 https://www.devze.com 2022-12-14 14:05 出处:网络
There is a lot of disassemblers witch allows seeing the internal structure of .NET base assemblies. Is there a way, add-in or similar for Visual Studio that will permit debugging through the disassem

There is a lot of disassemblers witch allows seeing the internal structure of .NET base assemblies.

Is there a way, add-in or similar for Visual Studio that will permit debugging through the disassembled code?

By example I have a user control I set the Width = 开发者_如何学编程100 but the width always remains to 200. After a half on hour I remarked that the Minimum Size was set to 200. I reset the MinimumSize, but this does not help, With would not to change.


You don't decompile the code - you tell Visual Studio to use a Microsoft symbol server to get the code from. The most important bit of that page is this:

Microsoft Visual Studio 2008 SP1 connects to the Microsoft public symbol servers automatically when you click Load symbols from Microsoft symbol servers in the Options dialog box (Debugging category, Symbols page) or the shortcut menu (in the Modules Window of Call Stack Window).

Note that you can only press the "Load symbols..." button when you're already debugging - otherwise it's disabled.

You'll need to accept the licence from Microsoft to do this, but it's the right way to do it.

0

精彩评论

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