By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,655 Members | 1,005 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,655 IT Pros & Developers. It's quick & easy.

stack trace

P: n/a
bob
Hi,

I have no idea if this is possible but I'll ask anyways.

I'd like to know if there are any techniques/patterns/libraries
available (I'm thinking Boost) that will provide details of a stack
trace upon crash. Something similar to that available in Java.

The codebase is legacy so it would have to integrate with that.
Upgrades and such like aren't really a possibility so something thats
pluggable or easily integrated into an existing codebase is what I'm
after.

thanks and regards

GrahamOooooooooooooooooo

Jun 14 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
bo*@blah.com wrote:
Hi,

I have no idea if this is possible but I'll ask anyways.

I'd like to know if there are any techniques/patterns/libraries
available (I'm thinking Boost) that will provide details of a stack
trace upon crash. Something similar to that available in Java.

The codebase is legacy so it would have to integrate with that.
Upgrades and such like aren't really a possibility so something thats
pluggable or easily integrated into an existing codebase is what I'm
after.

Rather OT, but you could either run the app in a debugger, or if your
platform supports them, look at the generated core file.

--
Ian Collins.
Jun 14 '06 #2

P: n/a
bo*@blah.com wrote:

I'd like to know if there are any techniques/patterns/libraries
available (I'm thinking Boost) that will provide details of a stack
trace upon crash. Something similar to that available in Java.


There's a tool that does this. It's called a debugger. <g> Java builds
one into every application, whether you need it or not.

--

Pete Becker
Roundhouse Consulting, Ltd.
Jun 14 '06 #3

P: n/a
bob
Thanks Peter whats a debugger ? (thats common feature of the english
language called sarcasm and its built into most languages).

Thanks Ian but no corefile available, I'm on windows.

Anybody have any other ideas... apart from Pete ;)

G

Pete Becker wrote:
bo*@blah.com wrote:

I'd like to know if there are any techniques/patterns/libraries
available (I'm thinking Boost) that will provide details of a stack
trace upon crash. Something similar to that available in Java.


There's a tool that does this. It's called a debugger. <g> Java builds
one into every application, whether you need it or not.

--

Pete Becker
Roundhouse Consulting, Ltd.


Jun 14 '06 #4

P: n/a
bob
thanks dude. Just what I was after.

G

owillebo wrote:
http://www.codeproject.com/threads/StackWalker.asp


Jun 15 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.