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 #21935 is a reply to message #21856] Thu, 11 June 2009 19:23 Go to previous messageGo to previous message
mirek is currently offline  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
 
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 14:04:57 CEST 2024

Total time taken to generate the page: 0.02504 seconds