J
John A Grandy
I am trying to track down a mysterious null reference exception that occurs
on making a call to a method in a assembly referenced by my project ( i.e.
flow-of-control never arrives at the code inside the called method )
try
{
// call to method in referenced assembly ( c# )
}
catch ( Exception ex )
{
throw ex;
}
However, I can not evaluate ex ... the reason given is :
{Cannot evaluate expression because a thread is stopped at a point where
garbage collection is impossible, possibly because the code is optimized.}
How can I debug this ?
on making a call to a method in a assembly referenced by my project ( i.e.
flow-of-control never arrives at the code inside the called method )
try
{
// call to method in referenced assembly ( c# )
}
catch ( Exception ex )
{
throw ex;
}
However, I can not evaluate ex ... the reason given is :
{Cannot evaluate expression because a thread is stopped at a point where
garbage collection is impossible, possibly because the code is optimized.}
How can I debug this ?