Jump to content
  • Advertisement
Sign in to follow this  
Pet123

Console window left open when debugging stoped

This topic is 2992 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi everybody, i allocated a console window (AllocConsole, synced with stdio) as debug output, recently i found it will be left open when i stopped debugging, for example, there is an assert failure then i pressed 'stop' (vs2008). the wild console window cant be closed by pressing its close button nor be killed via task manager, it behaves just like the normal one unless it cant be destroyed and even worse : the computer cant be turned off like usual (i guess the system is waiting for those consoles to be terminated but it never make it). here is some background info.: 1. vs 2008 2. the console will be correctly freed with FreeConsole when exit normally Further, i am now wondering what is the debugger going to do with a interrupted program when i stop debugging? Will the debugger continue to do the final clean jobs like free memorys, consoles, stop running threads? ( the process is stopped so the threads will be terminated very likely), what's your opinion? any hints would be helpful thank you. Pet

Share this post


Link to post
Share on other sites
Advertisement
Is it possible you are running into the bug in the Windows-Update KB978037? If so, manually uninstalling it will fix the problem. (See also here)

Share this post


Link to post
Share on other sites
Quote:
Original post by Pet123
hope they will get this fixed asap.


I would not hold my breath. I first ran into this problem nearly a month ago and very apparently the problem is still there. Uninstalling the Update will probably save yourself time and nerves.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!