当我运行这个应用程序时,我一直收到这个错误:
private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e) if (Debugger.IsAttached) // An unhandled exception has occurred; break into
好吧,假设这段代码在调试模式下运行-{ foreach (StackFrame frame in trace.GetFrames()) if (frame.GetFileLineNumber当我检查Exception.StackTrace字符串时,为什么堆栈帧没有行号,它显然有任何非框架代码的行号?从我不知道的