Tag: sosex

由sosex.mbp或sosex.mbm设置的断点不起作用

我正在使用VS.NET 2010.我编译了一个非常简单的.NET 4.0应用程序。 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TestWindbg { class Program { static void Main(string[] args) { Console.ReadLine(); Func1(); } static void Func1() { int i = 0; int j = i + 2; Console.WriteLine(j); } } } 我打开windbg 6.12.0002.633编译的可执行文件。 键入以下命令以加载sosex .loadby sosex clr 然后,键入以下命令以设置断点 !mbm TestWindbg.Program.Func1 !mbp Program.cs 16 […]