Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
janwilmans is currently offline  janwilmans
Messages: 51
Registered: January 2007
Member

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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Alternate "Copy as declaration/definition"
Next Topic: Compiling and linking problems
Goto Forum:
  


Current Time: Tue May 14 11:30:23 CEST 2024

Total time taken to generate the page: 0.02770 seconds