Stopping Debug Output

koby meir
2011-11-17
2013-05-29
  • koby meir
    koby meir
    2011-11-17

    Hi,
    I have started  using Launchy, but there is a slight problem.
    i'm using DebugView  (http://technet.microsoft.com/en-us/sysinternals/bb896647) To debug my Own application and Launchy is writing and it a bit annoying, it there a way to shut it down,or alternatively add a Prefix so it can be filtered?

     
  • Koshoyo
    Koshoyo
    2012-01-03

    I second that!
    On my development machine this is a serious problem if you want to watch debug logs.
    I already compiled my own version with all debug outputs removed via a quick search and replace.
    But my own version cannot handle plugins since i have no old compatible Visual Studio 2005 for compiling.

    I would recommend wrapping all debug outs with sth. like that:

    #define DEBUG

    #ifdef DEBUG
    printf("x is %d\n", x);
    #endif

     
  • Koshoyo
    Koshoyo
    2012-01-03

    Forgot to clarify:
    Only put
    #define DEBUG
    manually on debugging session in otherwise we would have the same result in the release as we have now ;)