Two Questions

From: RJJ (RJJinvalid_at_Munged.c0m)
Date: 08/11/04


Date: Wed, 11 Aug 2004 18:05:43 +0100

Hi,

Firstly, I've just taken on a large project that looks like it's been
designed by a 2 year old. It's absolutely jam packed with very large macros
which invoke other large macros that use do/while, switch/case,
token-pasting, gotos etc. which I'm finding very difficult to debug. Is
there a piece of software/utility that will unravel/unroll/convert these
ridiculous structures into inline functions, or is there a way to "force"
the complier to single step through them in debug mode (visual c++ v6.0 on
XP).

Secondly, I trying to write some information out to a file from a dll I'm
debugging. Under what circumstances would the program seem to trace through
the code on a single step debug session but not create the file on the hard
drive (discount file space, incorrect filename etc - the code works in a
separate win32 project).

Any help appreciated,

RJJ.



Relevant Pages

  • Re: any macro-like construct/technique/trick?
    ... I prefer my debug code be more conspicuous rather ... Preprocessor Macros and their ilk have always seemed like an awful ... Python is probably the wrong language for your problem. ...
    (comp.lang.python)
  • RE: Excel 2002 debug prompt for all macros
    ... It then has a button below that is Debug. ... application and pressing CTRL+BREAK her macros work fine. ... What kind of debug prompt? ...
    (microsoft.public.excel)
  • Re: Obscure mutex problem
    ... and since I can't duplicate the problem, I can't debug it! ... Adding 'recursive' doesn't fix anything, it just hides a broken design. ... uses macros for creating loops, fails to avoid double evaluation of macro ... and then start tackling the real problem. ...
    (comp.os.linux.development.apps)
  • Re: Help with debugging techinques
    ... Nothing stopping you from continuing to use the DEBUGMSG/RETAILMSG macros. ... The key is to ensure that your debug port is still enabled, ... Note that retail builds will cause the DEBUGMSG ...
    (microsoft.public.windowsce.platbuilder)
  • Word 2003 Macro Runtime Error 5479
    ... I have a set of macros. ... document and pasting the strings into a second document. ... Switch to Word and close the dialog box." ... And a added Debug button if in debug mode. ...
    (microsoft.public.word.vba.general)