Re: [Dotnet-sscli] Stackwalk from C#
Barry Bond <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.rotor |
|---|---|
| Message-ID | <4A8D7C3204072A46A7DC234B2D81C1CC656FBA@RED-MSG-43.redmond.corp.microsoft.com> |
Have you looked at System.Diagnostics.StackFrame? Sources are in clr\src\bcl\system\diagnostics\stacktrace.cs. This code uses an ECALL in stackframe.cs to call native DebugStackTrace::GetStackFramesInternal(), implemented in clr\src\vm\debugdebugger.cpp. It in turn calls StackWalkFrames(). Barry This posting is provided "AS IS" with no warranties, and confers no rights. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Johnston Stewart Sent: Friday, November 28, 2003 7:40 AM To: [email protected]; dotnet-sscli Subject: [Dotnet-sscli] Stackwalk from C# I am trying to call the StackWalkFramesEx function from c# code, in order to perform a stackwalk on a managed thread. I would be very grateful for pointers as to how to achieve this, as I am having trouble working out exactly how this should be done... Thanks, Johnny. _______________________________________________ Dotnet-sscli mailing list [email protected] http://mailserver.di.unipi.it/mailman/listinfo/dotnet-sscli =================================== This list is hosted by DevelopMentor® http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com