Hi, I post on this post because I believe it is relevant, after a small search for explanation on the codeblocks files. Sorry if you want me to post in another thread please tell me.
I am trying to compile codeblocks and debug it with codeblocks installed version on linux mint.
I am familiar with wxwidgets,
but I have a question about the filenames just to be clear.
CodeBlocks_Windows.workspace //ok this is clear for windows.
CodeBlocks_wx30-unix.cbp
CodeBlocks_wx30-unix.workspace
CodeBlocks_wx32_64.cbp
CodeBlocks_wx32_64.workspace
CodeBlocks_wx32.cbp //?? is this for windows and 32 bits?
CodeBlocks_wx32-unix.cbp
CodeBlocks_wx32-unix.depend
CodeBlocks_wx32-unix.workspace
CodeBlocks_wx32.workspace
CodeBlocks_wx33_64.cbp
CodeBlocks_wx33_64.workspace
CodeBlocks_wx33.cbp
CodeBlocks_wx33.workspace
wx32 means wxwidgets version 3.2.x unix mean linux, does it mean also mac too? Or because there is no mac version there is no codeblocks workspace for this?
what is the "_64" for??
I am trying to dive into the source code of codeblocks.
I open and compile CodeBlocks_wx32-unix.workspace and it went ok. But to debug it, I am struggling here with codeblocks.
the debugger shows me this...
Adding source dir: /home/user01/openprojects/codeblocks/src/
Adding file: /home/user01/openprojects/codeblocks/src/devel32/codeblocks
Changing directory to: /home/user01/openprojects/codeblocks/src/devel32
Set variable: LD_LIBRARY_PATH=.:/home/user01/openprojects/codeblocks/src/devel32:/usr/lib/x86_64-linux-gnu:
Starting debugger: /usr/bin/gdb -nx -fullname -quiet -args /home/user01/openprojects/codeblocks/src/devel32/codeblocks
Setting SHELL to '/bin/sh'
done
Setting breakpoints
Debugger name and version: GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
At /home/user01/openprojects/codeblocks/src/src/app.cpp:370
At /home/user01/openprojects/codeblocks/src/src/app.cpp:372
At /home/user01/openprojects/codeblocks/src/src/app.cpp:375
At /home/user01/openprojects/codeblocks/src/src/app.cpp:373
At /home/user01/openprojects/codeblocks/src/src/app.cpp:375
At /home/user01/openprojects/codeblocks/src/src/app.cpp:374
At /home/user01/openprojects/codeblocks/src/src/app.cpp:375
At /home/user01/openprojects/codeblocks/src/src/app.cpp:372
At /home/user01/openprojects/codeblocks/src/src/app.cpp:1582
Cannot open file: ./csu/../csu/libc-start.c
At ./csu/../csu/libc-start.c:144
The weird thing is that the first time it debugged fine until one point then it stopped. !!! All the breakpoints do not exist in the second time.
is there any parameters on debug that I am missing?