Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Debugging console app?
Re: Debugging console app? [message #21935 is a reply to message #21856] |
Thu, 11 June 2009 19:23 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
skyhawk wrote on Mon, 08 June 2009 08:14 | I'm using the SVN head revision TheIde on Ubuntu 8.04 and ofcourse gdb.
This simple console program will reproduce the problem:
#include <stdio.h>
#include <unistd.h>
int main( int argc, const char* argv[] )
{
fprintf(stderr, "start\n");
usleep(20000*1000);
fprintf(stderr, "stop\n");
}
when running in the debugger (F5), the console doesn't show and pressing shift-F5 to stop debugging within the 20 seconds of the sleep will hang TheIde until the programs ends by itself.
However, when I use ctrl-F5 the console shows fine, and I can see the printf's.
Greetings,
Jan
|
Well, it is perhaps sad, be we cannot do this yet. The problem is that gdb uses single console, at least in mode we are using.
Hopefuly, we will find a way around soon.
Mirek
|
|
|
|
|
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: Wed May 15 01:26:26 CEST 2024
Total time taken to generate the page: 0.03126 seconds
|