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 » BUG: debugger fails to start
BUG: debugger fails to start [message #46762] Sat, 30 July 2016 08:57 Go to next message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
linux
upp svn: 10082


my app compiles & runs but the debugger just flashes the outlines/borders of its debugging windows and then dies

any idea where I can look for the problem?
could not find any log-file - is there some settings I need to change?

(tried with gdb as external debugger but gdb dies with seg-fault when trying to read symbols form my app)

[Updated on: Sat, 30 July 2016 09:04]

Report message to a moderator

Re: BUG: debugger fails to start [message #46765 is a reply to message #46762] Sun, 31 July 2016 13:36 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I have just checked with latest nightly and it seems to work OK. But I only have some old linux mint here, I will recheck soon with latest kubuntu...

Mirek
Re: BUG: debugger fails to start [message #46771 is a reply to message #46765] Sun, 31 July 2016 19:32 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
It looks like it is not our fault:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68159

not sure what to do with that...

[Updated on: Sun, 31 July 2016 19:32]

Report message to a moderator

Re: BUG: debugger fails to start [message #46777 is a reply to message #46771] Tue, 02 August 2016 10:17 Go to previous messageGo to next message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
thx mirek

just had a look at that site (now 2 aug 16) and still not resolve there Sad

in the mean time am debugging the old way: printf's all the way (sigh)

PS: looks like the gdb-bug also make valgrind hang
Re: BUG: debugger fails to start [message #46778 is a reply to message #46762] Tue, 02 August 2016 10:30 Go to previous messageGo to next message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
had a hunch and just now tested that it may involve c++14 related code
result: if I revert to c++11 all works OK
so it seems that the gdb-maintainers messed up with c++14
(damn - there goes decltype(auto) for one)
Re: BUG: debugger fails to start [message #46780 is a reply to message #46777] Tue, 02 August 2016 18:34 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
slashupp wrote on Tue, 02 August 2016 10:17
thx mirek

just had a look at that site (now 2 aug 16) and still not resolve there Sad

in the mean time am debugging the old way: printf's all the way (sigh)

PS: looks like the gdb-bug also make valgrind hang


Try LOGs... Smile
Re: BUG: debugger fails to start [message #46929 is a reply to message #46780] Wed, 21 September 2016 07:55 Go to previous message
coolman is currently offline  coolman
Messages: 114
Registered: April 2006
Location: Czech Republic
Experienced Member
Hi,

I solved gdb demangling issue on Ubuntu 14.04 by downloading latest 7.11.1 gdb source code and rebuilding the gdb.

BR, Radek

#!/bin/bash

sudo apt-get install texinfo

# build gdb source code
cur_dir=`pwd`

mkdir -p /var/tmp/gdb-build
cd /var/tmp/gdb-build
wget -nc http://ftp.gnu.org/gnu/gdb/gdb-7.11.1.tar.gz
tar xf gdb-7.11.1.tar.gz
cd gdb-7.11.1
./configure
make
sudo make install

cd $cur_dir
Previous Topic: How to implement IPC for TheIDE?
Next Topic: [APPROVED] Two new Esc ide macros - GetLineLength() & Target()
Goto Forum:
  


Current Time: Fri Apr 19 20:14:31 CEST 2024

Total time taken to generate the page: 0.03593 seconds