Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!ll-xn!adelie!axiom!linus!philabs!pwa-b!mmintl!johnt From: johnt@mmintl.UUCP (John Tangney) Newsgroups: net.lang.c Subject: Listing structs Message-ID: <1893@mmintl.UUCP> Date: Tue, 21-Oct-86 17:24:55 EDT Article-I.D.: mmintl.1893 Posted: Tue Oct 21 17:24:55 1986 Date-Received: Sat, 25-Oct-86 01:37:04 EDT Organization: Multimate International, E. Hartford, CT Lines: 30 [] Debugging tool/C parser wanted I need help in acquiring a tool which can be used to dump a struct at runtime; that is, list names and values of every member. We are using Microsoft C 4.00 (in conjunction with Designer C++). The names and types of struct members are only known at compile time. Ideally, the compiler would make this information known, (by writing it to a separate file, embedding it in the object, etc) but the Microsoft compiler has no such facility. I could write a utility which will parse the struct definitions and extract the information needed for dumping structures. That seems like quite a bit of work, and if I could get my hands on such a tool, (or even the source of a C compiler which I could modify) that task would be a lot easier. (Creating tools is *part* of the project -- not a project in itself. :-) ) So, if either a ready-to-run tool, or pieces from which I can build one exist, please let me know by mail. Thanks in advance ...philabs!pwa-b!mmintl!johnt Multimate International, 52 Oakland Ave, East Hartford, CT 06108 phone: (203) 522-2116 (work) (203) 247-1140 (home)