Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Debugging console app?
Re: Debugging console app? [message #21856 is a reply to message #21855] |
Mon, 08 June 2009 14: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
Jan (skyhawk)
[Updated on: Mon, 08 June 2009 16:55] Report message to a moderator
|
|
|
 |
|
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:43 CEST 2025
Total time taken to generate the page: 0.00749 seconds
|