Recent Posts

Pages: 1 [2] 3 4 5 6 7 ... 10
11
Development / Re: RFC: Editor context menu item reshuffle
« Last post by oBFusCATed on Yesterday at 10:35:31 am »
I'm using this patch for a while and I don't find the change annoying, so my plan is to commit the changes, soon.
If you have objections now is the time to speak up...
12
I guess you've disabled the debug target during project creation time, so you need to recreate it manually.
13
I am new, I am here.
14
From Code::Blocks build menu, there is a "select target" that has build or release options.  I don't see where I see an different output.   
15
Generally it is better to use the Debug target when debugging. The release rarely allows any useful debugging to happen. To switch the target find the drop down where it is Release is selected and switch it to Debug.
16
General (but related to Code::Blocks) / Re: Debug breakpoints not stopping
« Last post by stahta01 on Yesterday at 12:42:32 am »
I did not.  Here it is though.  I did not know where to look.  Thanks for letting me know where it is.   

mingw32-gcc.exe -Wall -O2 -g  -c "C:\Users...\HelloWorld.c" -o obj\Release\HelloWorld.o
mingw32-g++.exe  -o "bin\Release\... \HelloWorld.o  -s 

Where do I change the -s above? 

And thank you

I would guess the "other linker options"
Project -> Build Options
Tab: Linker Settings

Remember to check both the project and target level in the left hand pane.

Tim S.

17
I did not.  Here it is though.  I did not know where to look.  Thanks for letting me know where it is.   

mingw32-gcc.exe -Wall -O2 -g  -c "C:\Users...\HelloWorld.c" -o obj\Release\HelloWorld.o
mingw32-g++.exe  -o "bin\Release\... \HelloWorld.o  -s 

Where do I change the -s above?  I think gcc is C and g++ is C+.  I am compiling C.

And thank you


18
General (but related to Code::Blocks) / Re: Debug breakpoints not stopping
« Last post by stahta01 on Yesterday at 12:07:26 am »
Did you look at the compiler command in the build log to confirm the "-g" is present and the "-s" strip command is *not* present.

Tim S.
19
General (but related to Code::Blocks) / Debug breakpoints not stopping
« Last post by coffee__guy on Yesterday at 12:01:57 am »

I click Debug/Start to run debugger but breakpoints not stopping.
I am trying to debug C (not C++).

Project/Build Options/Debug has checked:
   Enable all compiler warnings
   Produce Debugging symbols.

I read I need to pass "cc -g -c". 
Windows 10, patches up thru 2018.02 applied 
Using codeblocks 17.12
Under C::B  settings/debugger, catch c++ extensions is NOT checked.

Some Debug log info:

******
 C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gdb.exe -nx -fullname -quiet  -args C:/Users/.../DAVES_~1/LEARNI~1/bin/Release/LEARNI~1.EXE
******  current debug code
[debug]GNU gdb (GDB) 8.0.1
[debug]Copyright (C) 2017 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
...
[debug]This GDB was configured as "x86_64-w64-mingw32".

******  Debugger working
[Inferior 1 (process 6348) exited normally]

[debug]> quit

Debugger finished with status 0

[debug]DebuggerGDB::EnableBreakpoint(running=0);
[debug]DebuggerGDB::EnableBreakpoint(running=0);
******  Debugger sees beakpoints
[debug]No symbol table is loaded.  Use the "file" command.
[debug]Breakpoint 1 ("C:/Users/.../HelloWorld.c:27") pending.
[debug]>>>>>>cb_gdb:
[debug]> break "C:/Users/...S/HelloWorld.c:7"
[debug]No symbol table is loaded.  Use the "file" command.

******   Referneces I looked at
I have reviewed http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips.
I downloaded gdb-8.1.tar and unpacked it with 7-zip but can not find bdg.exe file.

******
Any ideas??? 
20
Help / Re: No squiggly line errors showing up
« Last post by BlueHazzard on February 20, 2018, 10:03:07 pm »
Codeblocks does not have just in time compilation...

There is a plugin in work, but it will need some time... If you are in the mood to test new things you can find it here: https://github.com/yvesdm3000/ClangLib/tree/staging

And why the hell is the line not enough? read the error message.. there is everything you need to know...
Pages: 1 [2] 3 4 5 6 7 ... 10