Click here to Skip to main content
13,297,266 members (60,860 online)
Click here to Skip to main content
Add your own
alternative version


42 bookmarked
Posted 10 Jul 2011

How to log the current call stack in .NET

, 10 Jul 2011
This article explains how to log the current call stack by using the StackFrame and StackTrace classes of the .NET Framework.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Daniele Mazzeranghi
Technical Lead Esaote
Italy Italy

Since 1998, I'm a software project leader at Esaote, one of the world's major manufacturers of non-invasive diagnostic equipment and system, as well as the leading European manufacturer of ultrasound imaging equipment.

My professional skills include:

  • Programming Languages: C#, C/C++, ASP.NET, XML, XSLT, Prolog.
  • Libraries: .NET Framework, STL, MFC.
  • Paradigms and Standards: Object-Oriented Programming, Design Patterns, Code Generation, Extreme Programming, Design by Contract, Dicom.
  • Tools: Visual Studio .NET, SQL Server.

You can contact me at my Web site (

| | Privacy | Terms of Use | Mobile
Web04 | 2.8.171207.1 | Last Updated 10 Jul 2011
Article Copyright 2011 by Daniele Mazzeranghi
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid