Something is seriously wrong with my VS Debugger. I run my application and do a specific task and it produces an exception 'A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll', thats all well and good but it just crashes my app when I expect the debugger to kick in and show me where the exception occurred. The project is set to Debug and the debugger is attached. So why is it not working as it should?
Asked
Active
Viewed 1,731 times
1
-
Are you attaching the debugger to a remote process? If so, I think you'll need the PDB of the assembly in order for it to be debuggable. – aevitas Jan 08 '12 at 12:00
-
It does 2 projects both managed, both have PDBs available – craig1231 Jan 08 '12 at 12:06
1 Answers
0
Try to enable Exception handling in Visual Studio, it should help to you yo stop on exact possible row where source code and debug data (PDB) are available.
-
Thanks for your help :) I shall mark as the answer after the time ;) – craig1231 Jan 08 '12 at 12:09