Run unit tests with debugger+MDA+exception catching on

If I try to debug unit test with MDA and managed exception catching turn
on, I will have to stumble through the exception and "LoadFromContext" warning
from R# before going to my code. Is it possible to reduce those errors/warnings?


2 comments
Comment actions Permalink

Hello Nat,

could you please clarify what exception do you get when debugging unit tests?
You can disable the 'LoadFromContext' warning
using the Debug|Exceptions|Managed Debugging Assistants dialog.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

If I try to debug unit test with MDA and managed exception catching
turn on, I will have to stumble through the exception and
"LoadFromContext" warning from R# before going to my code. Is it
possible to reduce those errors/warnings?



0
Comment actions Permalink

Hello Dmitry,

You can try to follow the same steps I took. You will should see the same
thing. One of them is from NUnitTestRunner.cs I believe.

Nat

Hello Nat,

could you please clarify what exception do you get when debugging unit
tests?
You can disable the 'LoadFromContext' warning
using the Debug|Exceptions|Managed Debugging Assistants dialog.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> If I try to debug unit test with MDA and managed exception catching
>> turn on, I will have to stumble through the exception and
>> "LoadFromContext" warning from R# before going to my code. Is it
>> possible to reduce those errors/warnings?
>>


0

Please sign in to leave a comment.