Mukesh Chauhan

Just another WordPress.com weblog

Show callstack from the C program

Dear all,

I am currently working to show call stack of the current thread from the code itself. For this purpose, I am analyzing StackWalk64 and CaptureStackBackTrace windows API. I will update the post once I get through it.

Though, external utilities can also be used. user dump of the process can be taken to see the call stack. Solaris (and linux) has pstack command which is very excellent utility.

Please leave a comment if you have more information regarding this.

Advertisement

July 27, 2011 - Posted by | Programming

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.