Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Debugging console app?
Re: Debugging console app? [message #29021 is a reply to message #29019] |
Sat, 02 October 2010 14:01   |
|
kattle87 wrote on Sat, 02 October 2010 12:48 | hello here, new user reporting in! I just found this tool like 2 days ago, and I already love it.
I'm posting here because I think this bug is strictly related to the one discussed in this thread.
I'm trying to debug a C++ (windows) console application: everything looks like working, including locals, watches, and whatever, but the console is not shown (EG: no "cmd" windows is opened, so input and output are not possible). I tried both creating an empty project and "core console app", but had no luck.
Of course, running program by ctrl+F5 works flawlessly. Is there anything that can be done about that? I don't care too much seing gdb lines around, but the "std::cout" of my code is somewhat important to me. 
|
Hi Francesco
Welcome to U++ and to the forum! Just a word of warning: U++ is highly addictive 
It is not a bug, strictly speaking, more of a design problem. Not sure if there is some solution, but I can offer you a workaround.
If you need to see only output, you can redirect it to a file and watch that. This can be done in Debug > Runtime options ... Than you can open the specified file and watch it during the debugging. Unfortunately there is no such workaround for stdin Actually attempt to read from stdin while running in debugger makes the app hang, if I am not mistaken...
Best regards,
Honza
|
|
|
 |
|
Debugging console app?
|
 |
|
Re: Debugging console app?
By: koldo on Mon, 08 June 2009 13:43
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: mirek on Thu, 11 June 2009 19:23
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: mirek on Fri, 12 June 2009 10:50
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: Goodwin on Sun, 05 July 2009 01:04
|
 |
|
Re: Debugging console app?
By: mirek on Wed, 08 July 2009 13:07
|
 |
|
Re: Debugging console app?
By: mr_ped on Wed, 08 July 2009 13:42
|
 |
|
Re: Debugging console app?
By: avpavp on Wed, 09 June 2010 21:03
|
 |
|
Re: Debugging console app?
By: kattle87 on Sat, 02 October 2010 12:48
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: kattle87 on Sat, 02 October 2010 15:22
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: kattle87 on Sat, 02 October 2010 19:38
|
 |
|
Re: Debugging console app?
By: mr_ped on Sun, 03 October 2010 01:05
|
Goto Forum:
Current Time: Mon Apr 28 06:33:23 CEST 2025
Total time taken to generate the page: 0.00843 seconds
|