Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
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
92
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.
93
Development / Re: CodeBlocks revision: '13605', breaks when opening a file (LINUX)
« Last post by stahta01 on February 01, 2025, 08:38:14 pm »
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.
94
Using Code::Blocks / Re: Hiccups while typing (continuation)
« Last post by Pecan on February 01, 2025, 07:46:00 pm »
... for a very short time those two gadgets flash or kind of, like they becoming disabled and then enabled again, so I suspected it could be relatedT
Thanks for the screenshot
.
Those are the Scope and function/variable choice boxes for the plugin Code Completion.

Go to MainMenu>plugins>ManagePlugins  and disable the plugin "Code completion", restart CB, and see if the hiccups disappear.

If that eliminates the hiccups re-enable "Code completion" and restart CB.

Now go to MainMenu>settings>Editor>CodeCompletion> and disable "update parser when typing" check box. See the attached screenshot. Tell us if that eliminate the hiccups.

Also check (at bottom of Code completion settings) "Delay for Auto-kick-in when typing". Raise to at least 300 millisecs or until the hiccups disappear.

Look, also, at the second screenshot (Editor settings) and make sure the kick in for Code completion is set at (say around) 3 letters.
 
95
Development / Re: asm("int3"); /*trap*/ query
« Last post by Pecan on February 01, 2025, 07:32:39 pm »
It was in the latest SVN change, but I am 1000% confident the same int 3 is in other places as I have included it in apps I have done where I enable it in a debug build.

This is some thing to thin about when you see an "int 3".

All use of "int3" has been commented out. SVN revision 13608
96
Development / Re: CodeBlocks revision: '13605', breaks when opening a file (LINUX)
« Last post by ollydbg on February 01, 2025, 02:37:14 pm »
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?
97
Using Code::Blocks / Re: Hiccups while typing (continuation)
« Last post by Elena on February 01, 2025, 12:39:36 pm »
Hi Pecan, I am sorry if I really cannot be more accurate.
I have attached a screenshot of those I call "choosers", very sorry for not having a better name for them lol
Which plugin is responsible for them btw ?
Unfortunately there are not any definite actions I can suggest to reproduce the hiccups :(
But I notice clearly, when moving the cursor thru the text, or sometimes while typing, that often very short pauses occur, fractions of a second I mean, but are annoying and noticeable and can still be confusing if one types or edits quickly. And when this happens, for a very short time those two gadgets flash or kind of, like they becoming disabled and then enabled again, so I suspected it could be related.
Again, I started noticing this problem at some point last Summer.
98
Development / Re: asm("int3"); /*trap*/ query
« Last post by Wkerry on February 01, 2025, 10:42:31 am »
It was in the latest SVN change, but I am 1000% confident the same int 3 is in other places as I have included it in apps I have done where I enable it in a debug build.

This is some thing to thin about when you see an "int 3".
99
Development / Re: asm("int3"); /*trap*/ query
« Last post by ollydbg on February 01, 2025, 06:54:56 am »
Hi, Pecan, my guess is that your recent to commits have some code change related to the "int3" instruction.

Maybe, we can find a way for both X86 based CPU and ARM based CPU.
100
Development / Re: asm("int3"); /*trap*/ query
« Last post by Pecan on February 01, 2025, 06:45:10 am »
In the code there are a few of the following calls:
asm("int3"); /*trap*/

This works for x86 based CPU's, but when I use google to check what the arm equivalent it is not the same.

I have seen some historical posts of people building C::B on a RPi. As such it may be an idea to add protection around the asm("int3"); for x86 CPU's only and add support for ARM so that in the future when/if C::B does officially support running on RPi or other ARM SBC's/PC's then the code should hopefully then require less changes.

Which code do you see the int3's in that are unprotected?
Pages: 1 ... 5 6 7 8 9 [10]