开发者

Stack trace in visual studio express

开发者 https://www.devze.com 2023-03-20 13:56 出处:网络
I\'m working on a WPF application with Visual Studio 2010 Express. I have a WinForm component running inside a WindowsFormsHost, that apparently contains an error. The only error message that is print

I'm working on a WPF application with Visual Studio 2010 Express. I have a WinForm component running inside a WindowsFormsHost, that apparently contains an error. The only error message that is printed out in the console is

Eine Ausnahme (erste Chance) des Typs "System.Collections.Generic.KeyNotFoundException"

ist in mscorlib.dll aufgetreten.开发者_如何学Python

(I'm using the German version). It does not print out a stack trace, nor does it tell me on which line the error occured. I can find the error by debugging through the whole code, anyhow sometimes I just want to see the stack trace to resolve the problem quicker.

How can I do that?


Enable Exceptions : Debug-> Exceptions

EDIT

Check this out, express related section:

http://msdn.microsoft.com/en-us/library/038tzxdw.aspx

Regards

0

精彩评论

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