Results 1 to 4 of 4

Thread: Debugging in MSVS leaves zombie console window

  1. #1
    Join Date
    Feb 2007
    Location
    Wroclaw, Poland
    Posts
    72
    Thanks
    6
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Debugging in MSVS leaves zombie console window

    Some time ago Qt has start to leave console window if I stop debug process. I find console app in Task manager in App tab, but there's no sign of them in Process tab. And i can't close console otherwise then after computer hard reset.

    For example - program stops on my breakpoint and I decide to stop debugging by SHIFT-F5. App GUI vanishes, but console window stays. It's even more frustrating when program crashes - I can't push it further and the only thing I can i s to stop debug.
    On the other hand - if I choose 'Detach all' from Debug menu - then app and console disappears (sometimes even this won't help).
    In release mode - there's no problem, even during crash.

    It seams like debug service leaves some strange hook or connection and refuses to close console (or entire app).

    --
    Microsoft Visual Studio 2005 Pro edition.
    Qt 2009.05 OpenSource edition compiled under MSVS
    Project created by CMake

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugging in MSVS leaves zombie console window

    We observe this same on VS 2008 since about 1 week. Problem occurs only on Windows XP, not on Vista.

  3. #3
    Join Date
    Sep 2009
    Posts
    31
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugging in MSVS leaves zombie console window

    I've seen this problem in our application, I seems it is caused by microsoft path KB978037 - see http://social.answers.microsoft.com/...7-03331a203ac8 for more info. Unistalling of this path should fix it.

    I hope it will be useful.

  4. The following user says thank you to Piskvorkar for this useful post:

    T4ng10r (11th March 2010)

  5. #4
    Join Date
    Feb 2007
    Location
    Wroclaw, Poland
    Posts
    72
    Thanks
    6
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Debugging in MSVS leaves zombie console window

    After KB978037 update removed from system problem vanishes.
    I hope that Microsoft will solve this problem with other patches.
    Thx Piskvorkar.

Similar Threads

  1. Simulating a console window
    By Doug Broadwell in forum Newbie
    Replies: 3
    Last Post: 18th February 2011, 16:30
  2. Debugging a console application
    By Lorthirk in forum Qt Tools
    Replies: 1
    Last Post: 26th September 2009, 12:49
  3. Why there is not console window?
    By HelloDan in forum Qt Programming
    Replies: 2
    Last Post: 8th April 2009, 17:02
  4. QGraphicsItem leaves junk on screen
    By Gopala Krishna in forum Qt Programming
    Replies: 18
    Last Post: 12th December 2007, 07:23
  5. qt without console window
    By jh in forum Qt Programming
    Replies: 3
    Last Post: 28th January 2006, 21:01

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.