IMPORTANT!!! CODEBLOCKS VISUAL DEBUGGER IS BROKEN (FIX)

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.

IMPORTANT!!! CODEBLOCKS VISUAL DEBUGGER IS BROKEN (FIX)

Postby devsh » Fri Jul 24, 2015 6:09 pm

This issue mostly affects Linux, unless you've updated your mingw on windows or performed a similar update on Mac
The issue came to my attention when I was using the latest CodeBlocks (13.12)


The problem is that CodeBlocks uses parsing of the GDB output to recover the debugging information, rather than using GDB properly (in the form of a library - a static library even better!).

Now between version 7.7 and 7.9 the output of GDB has changed slightly and now codeblocks is unable to pickup the PID of the debugged application and this results in being unable to stop the debugger, or break/pause (it simply says "No stack.").

If you downgrade to gdb 7.7 then there is no problem whatsoever.


You'll notice this issue if you upgrade from Ubuntu 14.04 or if you're on Linux Mint (due to the rolling release).
We chose to stream mesh data from Multiple OpenGL Contexts in many threads and do the other things, not because they are easy, but because they are hard! - JFK
User avatar
devsh
Competition winner
 
Posts: 1758
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK

Re: IMPORTANT!!! CODEBLOCKS VISUAL DEBUGGER IS BROKEN (FIX)

Postby CuteAlien » Sat Jul 25, 2015 9:56 am

Guess I'm lucky for once that Debian stable uses old software. I remember same problem happened in the switch from gdb 6 to 7. Not sure if gdb as library works by now - back then it was still in the works I think and everyone parsed.
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8291
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: IMPORTANT!!! CODEBLOCKS VISUAL DEBUGGER IS BROKEN (FIX)

Postby chronologicaldot » Sun Jul 26, 2015 4:38 am

devsh wrote:... or if you're on Linux Mint (due to the rolling release).

Glad I use Premake.

Thanks for the heads up.
User avatar
chronologicaldot
Competition winner
 
Posts: 519
Joined: Mon Sep 10, 2012 8:51 am

Re: IMPORTANT!!! CODEBLOCKS VISUAL DEBUGGER IS BROKEN (FIX)

Postby devsh » Sun Jul 26, 2015 10:30 am

Premake, that doesn't debug, does it?
We chose to stream mesh data from Multiple OpenGL Contexts in many threads and do the other things, not because they are easy, but because they are hard! - JFK
User avatar
devsh
Competition winner
 
Posts: 1758
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK

Re: IMPORTANT!!! CODEBLOCKS VISUAL DEBUGGER IS BROKEN (FIX)

Postby chronologicaldot » Sun Jul 26, 2015 9:40 pm

No, so I use gcc messages, and I have a list of other tools I can use if I really want something.
I did try out CodeBlocks some time ago and was heartily disappointed with it for reasons I can't recall. Hearing that it's broken conjures up memories.
User avatar
chronologicaldot
Competition winner
 
Posts: 519
Joined: Mon Sep 10, 2012 8:51 am

Re: IMPORTANT!!! CODEBLOCKS VISUAL DEBUGGER IS BROKEN (FIX)

Postby REDDemon » Mon Jul 27, 2015 4:12 am

this fix a blue screen here :D.
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
User avatar
REDDemon
Developer
 
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Re: IMPORTANT!!! CODEBLOCKS VISUAL DEBUGGER IS BROKEN (FIX)

Postby devsh » Sun Mar 19, 2017 1:39 pm

gdb 7.11 seems to work fine
We chose to stream mesh data from Multiple OpenGL Contexts in many threads and do the other things, not because they are easy, but because they are hard! - JFK
User avatar
devsh
Competition winner
 
Posts: 1758
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK


Return to Open Discussion and Dev Announcements

Who is online

Users browsing this forum: No registered users and 1 guest

cron