home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!timbuk.cray.com!equalizer!sdcrsi!xlnt!ventura!tim@UCSD.EDU
- From: ventura!tim@UCSD.EDU (Tim Dierks)
- Newsgroups: comp.lang.c++
- Subject: Need Help on Debugging Objects
- Keywords: object, debug, constructor
- Message-ID: <256@ventura.UUCP>
- Date: 8 Jan 93 00:27:56 GMT
- Sender: news@ventura.UUCP
- Reply-To: ventura!tim@UCSD.EDU
- Organization: Ventura Software, Inc., A XEROX Company
- Lines: 18
- Nntp-Posting-Host: vptim
-
- I am looking for ideas on how to track the creation/deletion of objects for
- debugging purposes in an application I am writing. For the PC, The Microsoft
- Foundation Class offers a TRACE macro that lets you display a message, but I'd like
- more functionality, and I don't plan on use the MFC. I'd like to be able to do
- things like those listed below:
-
- - Display a message each time an object is created/deleted, identifying what type of
- object it is, and some unique identifier for the object.
- - Identify the creator of each object when created.
- - Be able to dump the data members of any object currently in existence.
- - Be able to list all the objects currently in existence at any time.
-
- Has anyone had any experience with this? Are there already existing class
- libraries or tools that do this sort of thing? I'd appreciate any ideas.
-
- --
- Tim Dierks internet -- ventura!tim@ucsd.edu
- Ventura Software, Inc. uunet -- ucsd!ventura!tim
-