Mail Archives: djgpp/2001/08/03/07:30:13
From: | "Rafal Maj (Raf256)" <raf256 AT go2 DOT pl>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Call stack print ?
|
Date: | Thu, 2 Aug 2001 02:32:50 +0200
|
Organization: | Academic Computer Center CYFRONET AGH
|
Lines: | 23
|
Message-ID: | <9ke1t8$m3u$1@info.cyf-kr.edu.pl>
|
NNTP-Posting-Host: | d-94-53-02.cyfronet.krakow.pl
|
X-Trace: | info.cyf-kr.edu.pl 996838120 22654 149.156.1.162 (3 Aug 2001 11:28:40 GMT)
|
X-Complaints-To: | news AT cyf-kr DOT edu DOT pl
|
NNTP-Posting-Date: | Fri, 3 Aug 2001 11:28:40 +0000 (UTC)
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi,
is there some way to print current call-stack (and as much additional debug
inforamations as possible) without exiting program ?
Like :
void fun() {
cerr<<"Now starting fun called from :\n" << stack_dump();
// this code WILL execute
}
I'm most interested in __LINE__/__FILE__ of functions on call stack, or only
or adresses of thoes functions.
Thanks in advice :)
--
Raf256 C++ TP JAVA 3DMax POV HTML <== Email me if U need developer
,--, _ ,- _ _ _ ,---------------------------------------------,
|,-'`_|_|_ `_||_'|_' | raf256 AT go2 DOT pl http://strony.wp.pl/wp/raf256 |
| `\(_) | |_,,_||_| | upt256 AT wp DOT pl SMS 504-727-464 |
- Raw text -