Thread: Would you like to debug this program?

  1. #1
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660

    Would you like to debug this program?

    Actually, no I would not.
    I'd just like an exit status so that I can proceed with the next automated test without having to sit around waiting to press a key to dismiss the popup.

    I've managed to disable "Would you like to tell Microsoft" part, but this one still remains.

    The question being, what do I need to do to make this annoyance vanish?

    Thanks,

    OS is XP-SP2
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  2. #2
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341
    I don't know about making that go away, but I can write a program to click ok or hit enter for you whenever that pops up.
    Don't quote me on that... ...seriously

  3. #3
    Lean Mean Coding Machine KONI's Avatar
    Join Date
    Mar 2007
    Location
    Luxembourg, Europe
    Posts
    444
    You could write a script with AutoIT that does that for you, it wouldn't take much more than 1-2 lines to do so.

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Windows has a defult debugger for unhandled exceptions.

    If you have a debugger installed it makes a registry entry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AeDebug

    There must be a change to make to that key that would fix your problem, but I cant find it as I'm in work at the moment.

    Try google on "AEDebug" - I'm sure the answer is a pretty common one

    P.S. this is the first time in many years I've had (or seen anyone have for that matter) the opportunity to tell Salem to go google something! Truely a landmark day in CProg history!


  5. #5
    Advanced Novice linucksrox's Avatar
    Join Date
    Apr 2004
    Location
    Michigan
    Posts
    198
    I googled AEDebug, and the very first link is MS knowledgebase on how to disable Dr. Watson. I would imagine that would fix the problem.
    http://support.microsoft.com/kb/188296
    "What are all you parallelograms doing here?" - Peter Griffin (to Joe and his wheelchair buddies)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with my program...
    By Noah in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 07:49 PM
  2. Plz help me to debug my program
    By Bage in forum Linux Programming
    Replies: 1
    Last Post: 04-02-2004, 01:54 PM
  3. my server program auto shut down
    By hanhao in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-13-2004, 10:49 PM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM