Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
Help / Re: Issues with GDB and C::B
« Last post by Pecan on February 02, 2025, 05:41:00 pm »
The build policy has debugging symbols enabled... I even tried using the DWARF optimizations for the compiler I am using (i686-ucrt-posix-dwarf).

Try using the -O0 (oh,zero) flag to see if optimization is a factor.
92
Help / Re: Issues with GDB and C::B
« Last post by nore on February 02, 2025, 05:08:16 pm »
The build policy has debugging symbols enabled... I even tried using the DWARF optimizations for the compiler I am using (i686-ucrt-posix-dwarf).
93
Help / Re: Issues with GDB and C::B
« Last post by nore on February 02, 2025, 05:03:31 pm »
Looking at the Debugger Log in Code::Blocks I see that the executable attempts to interrupt the process as usual--nothing "funny" shows up in the log; and placing a breakpoint before launching, then removing the breakpoint in real-time seems to stop the Debugger from crashing in with its useful tools at function call--but trying to *place* a breakpoint during real-time/run-time does not seem to catch the Debugger's attention, as is evident in this screenshot where I try to evoke the debugger using a breakpoint on the frequently-called "draw()" function in my program.
94
Help / Re: Issues with GDB and C::B
« Last post by nore on February 02, 2025, 04:44:19 pm »
Even rebuilding the project and configuring the compiler, linker, and debug settings as project settings rather than global settings seems to result in the same issue. I remember this error occurring maybe six weeks ago and it was solved by building the project using global compiler settings rather than project-local compiler settings. Run-time breakpoints are still ignored as if the debugger is not running.
95
Help / Re: Issues with GDB and C::B
« Last post by nore on February 02, 2025, 04:15:12 pm »
I've got my settings configured as usual. I will try setting up another project to see if that fixes the issue.
96
Development / Re: asm("int3"); /*trap*/ query
« Last post by Wkerry on February 02, 2025, 08:20:34 am »
Thanks.
97
Help / Re: Issues with GDB and C::B
« Last post by Pecan on February 02, 2025, 06:40:08 am »
Hello all,

I seem to be having trouble with Code::Blocks tonight after working to implement text-field highlighting in an OpenGL-based system. It seems that my debugger will only recognize breakpoints that are placed *before* starting the program--it will not recognize breakpoints placed during runtime as it usually does. I also noticed that the red 'x' icon used normally to stop the debugger and program execution does not work as usual. I only recall this happening once before. Does anyone have any suggestions as to what might be the cause of this strange error?

-nore

This usually happens to me when I've set the default debugger to the wrong debugger config.

Check that the MainMenu>Debug>Active debugger is set as you expect.
Check that MainMenu>Settings>Debugger of the Active debugger (above) is as you expect.
98
Development / Re: CodeBlocks revision: '13605', breaks when opening a file (LINUX)
« Last post by sodev on February 02, 2025, 05:48:33 am »
Maybe it is a good idea to check if all your source files have the property svn:eol-style=native set to prevent such things ;)
99
Help / Issues with GDB and C::B
« Last post by nore on February 02, 2025, 05:27:34 am »
Hello all,

I seem to be having trouble with Code::Blocks tonight after working to implement text-field highlighting in an OpenGL-based system. It seems that my debugger will only recognize breakpoints that are placed *before* starting the program--it will not recognize breakpoints placed during runtime as it usually does. I also noticed that the red 'x' icon used normally to stop the debugger and program execution does not work as usual. I only recall this happening once before. Does anyone have any suggestions as to what might be the cause of this strange error?

-nore
100
Development / Re: CodeBlocks revision: '13605', breaks when opening a file (LINUX)
« Last post by ollydbg on February 02, 2025, 03:39:43 am »
I have a question about the svn commit in rev 13606.

Code::Blocks / SVN Repo / Diff of /trunk/src/plugins/contrib/BrowseTracker/btswitcherdlg.h

It looks like this file btswitcherdlg.h does not change anything?

It looks just like that if the end of line is changed; I have no idea how to tell if that is the cause.

Tim S.

Hi, Tim, thanks, yes, you are right, the EOL has changed.

I just download the old file:

Code::Blocks / SVN Repo / [r13605] /trunk/src/plugins/contrib/BrowseTracker/btswitcherdlg.h

and the new file:

Code::Blocks / SVN Repo / [r13606] /trunk/src/plugins/contrib/BrowseTracker/btswitcherdlg.h

And I see the new file use the LF, while the old file use CRLF.
Pages: 1 ... 5 6 7 8 9 [10]