Bug In StackTrace (System.Diagnostics)?  
Author Message
Kaveh Shahbazian





PostPosted: .NET Base Class Library, Bug In StackTrace (System.Diagnostics)? Top

I wrote a class with overloaded operations '==' and '!=' and also methods 'Equals' and 'GetHashCode'(or GetTypeCode').
I wrote a tracer class for myself to trace and debug my programs by using 'StackTrace' and 'StackFrame'.
It seems that 'StackTrace' can not access the trace history of CLR when passing by a static overloaded operator (like '==' for me). Because there have happened an exception; something that was like : "There is not enough trace information..." or like that.
I am not wrong, are I
Please hack through.
Vaery Thanks



.NET Development21  
 
 
TimLa





PostPosted: .NET Base Class Library, Bug In StackTrace (System.Diagnostics)? Top

Moving to a better forum.

Tim<MSFT>


 
 
John Cunningham - MSFT





PostPosted: .NET Base Class Library, Bug In StackTrace (System.Diagnostics)? Top

Moving this out of VS De**** Forum,

This needs to be answered by the .Net framework team.

John



 
 
Mike Stall - MSFT





PostPosted: .NET Base Class Library, Bug In StackTrace (System.Diagnostics)? Top

I'm confused about what you're asking. Is there a simple sample code snippet you can use to illustrate the point

 
 
Peter Ritchie





PostPosted: .NET Base Class Library, Bug In StackTrace (System.Diagnostics)? Top

Could you please provide the exact exception message, "something that was like" doesn't give us anything to go on...