User forums > Help
Need help on a few things
XTAL256:
Hi all, i recently downloaded C::B as a replacement to Dev-C++ as a gcc IDE. I like the interface, features and plugins but i can't seem to get some things working. I solved some problems but i can't get the debugger to work. I searched the forums for all my problems but i can't find help on a few things so i decided to register.
The problem i am having is that the debugger quits as soon as it starts, when i click "run to cursor" or have a breakpoint, or just if i try to start it. There are a lot of posts on the forums but none helped me. I realised that i needed to set a Debug target (which i didn't already have since i imported the project from Dev-C++) but that didn't fix it. The debugger outputs: (Yes, it repeats it twice.)
--- Code: ---Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\Documents and Settings\David Hari\My Documents\Visual Studio 2005\Projects\Ballistic\src\BEdit\
Adding source dir: C:\Documents and Settings\David Hari\My Documents\Visual Studio 2005\Projects\Ballistic\src\BEdit\
Adding file: ..\..\BEdit.exe
Starting debugger:
done
Debugger finished with status 1
Build succeeded
Selecting target:
Debug
Adding source dir: C:\Documents and Settings\...\Projects\Ballistic\src\BEdit\
Adding source dir: C:\Documents and Settings\...\Projects\Ballistic\src\BEdit\
Adding file: ..\..\BEdit.exe
Starting debugger:
done
Debugger finished with status 1
--- End code ---
Also, where can i download plugins? The wiki just seems to have info on it and i can't find any link to a website or SourceForge where i can download it. The only other post i found regarding this just said "it should be where you download C::B", well it's not. The download section just has binaries for C::B itself. The main one i am looking for is Keyboard Shortcuts.
btw, I am using Windows XP.
thanks
Alexis:
--- Quote ---Debugger finished with status 1
--- End quote ---
I have the same issue ; Revisions greater than 5010 yield this problem. Debugger starts then stops immediately returning code error 1. I am thus forced to use Revision 5010.
My system is Windows XP Pro / SP2.
Somebody, any idea ?
XTAL256, you could try to revert to Revision 5010 and tell us if the issue still arises.
Thanks.
XTAL256:
Alright, i will try that. I was wondering if it was a version issue because i had issues with the Windows resource compiler too. When i installed C::B, i updated MinGW/gcc to the latest version, but i had a previous installation in both Dev-C++ and in "Program Files\GNU" so i wanted to only have one gcc that all IDEs use. The problem is that i downloaded the individual components and manually copied the files, and i missed downloading and copying some components. For this problem i made sure i had the most up-to-date version but it looks like that is actually the problem! :D
I don't know what Revision 5010 is, mine just says:
GNU gdb 4.17.1
Copyright 1998
I don't know why it says 1998, the file date says 2006.
I also have another question. When i open a file and there are already a few (1/2 a screen width worth) tabs already open, the tab view scrolls so that the open file is in the middle of the screen and some tabs are not visible any more, and i have to scroll left to see them. Is there a way to make the tabs stay where they are unless there is absolutely no more room on screen?
TDragon:
--- Quote from: XTAL256 on August 26, 2008, 01:45:54 pm ---I don't know what Revision 5010 is, mine just says:
GNU gdb 4.17.1
Copyright 1998
I don't know why it says 1998, the file date says 2006.
--- End quote ---
Alexis was referring to the revision of Code::Blocks itself (probably downloaded as a nightly build).
At any rate, Code::Blocks requires a much more recent version of GDB -- 5.2 will work; 6.3 or later is recommended for full functionality. You can download GDB 6.3-2 here; choose the base of your your GCC installation as the directory to install it to.
XTAL256:
Ok, thanks. That's strange that i didn't get the most recent version though, i downloaded the packages from http://www.mingw.org/node/24 so that should have the most recent version shouldn't it?
EDIT: ok, i still am having problems with the debugger. Now i get this:
--- Code: ---Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\Documents and Settings\...\Ballistic\src\BEdit\
Adding source dir: C:\Documents and Settings\...\Ballistic\src\BEdit\
Adding file: ..\..\BEdit.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
--- End code ---
And GDB just hangs untill i end the process. And then it exits with status 1. I'm not sure if anyone else has had this problem but if they have then someone can just give me the link.
thanks
Navigation
[0] Message Index
[#] Next page
Go to full version