U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Linux console apps (no U++) hang while debuging
Linux console apps (no U++) hang while debuging [message #16948] Tue, 22 July 2008 16:13 Go to next message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
...when the application does not quit immediately, like when running a server.

But TheIDE also hangs when debugging something as simple as:
#include "stdio.h"

int main(int argc, const char *argv[])
{
	printf("%s\n", "caca");
	getchar();
	return 0;
}
Re: Linux console apps (no U++) hang while debuging [message #17012 is a reply to message #16948] Thu, 24 July 2008 23:30 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 22 July 2008 10:13

...when the application does not quit immediately, like when running a server.

But TheIDE also hangs when debugging something as simple as:
#include "stdio.h"

int main(int argc, const char *argv[])
{
	printf("%s\n", "caca");
	getchar();
	return 0;
}



They do not hang. They just do not open a console.

Sorry, I have not figured how to fix that yet. Not that simple...

Mirek
Re: Linux console apps (no U++) hang while debuging [message #17014 is a reply to message #17012] Thu, 24 July 2008 23:43 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
What I mean with hang is that after I press F5 I need to kill TheIDE because it no longer responds to any commands, including "Stop!".
Re: Linux console apps (no U++) hang while debuging [message #17021 is a reply to message #17014] Fri, 25 July 2008 09:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
cbpporter wrote on Thu, 24 July 2008 17:43

What I mean with hang is that after I press F5 I need to kill TheIDE because it no longer responds to any commands, including "Stop!".


I think this depends on application. I am having the same issue sometimes, sometimes I can Stop.

You know, that nasty gdb interface stuff is disaster.... I am afraid that the only working solution here (and for the console problem as well) is to implement the debugger just as in Win32....

The real problem is how to get symbolic info from the binary.

Mirek
Re: Linux console apps (no U++) hang while debuging [message #17475 is a reply to message #17021] Sat, 16 August 2008 20:56 Go to previous message
cas_ is currently offline  cas_
Messages: 20
Registered: July 2008
Location: Poland
Promising Member
luzr wrote on Fri, 25 July 2008 09:14


The real problem is how to get symbolic info from the binary.


That should be possible with libdwarf, altough I've never used it so I'm no expert Wink
Previous Topic: dependancies
Next Topic: [BUG] Wrong png file name theide.desktop and theide-48.png is corrupted
Goto Forum:
  


Current Time: Tue Apr 28 23:43:39 GMT+2 2026

Total time taken to generate the page: 0.00531 seconds