What option in Visual Studio let catching exception where it occurred?

Posted by macias on Stack Overflow See other posts from Stack Overflow or by macias
Published on 2010-12-27T11:47:38Z Indexed on 2010/12/27 11:54 UTC
Read the original article Hit count: 280

Filed under:
|
|
|

VS 2010. The same WPF project, debug mode, two computers:

  • A -- when exception occurrs the caret is placed at the point of exception
  • B -- when the exception occurrs, correct exception is placed but always caret is placed at "win.ShowDialog()" in App.xaml.cs -- this is main entry for showing & running my application, in such case it is very tiresome to track down where the exception occurred

What kind of settings control such behaviour? Of course I would like to switch B, so when exception hits I would be place at the point of exception, not at the main entry.

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio