Recent Posts

Pages: 1 ... 3 4 5 6 7 [8] 9 10
71
Help / Different handling of placeholders
« Last post by rechtsanwaltsteyer on November 03, 2025, 11:07:18 am »
Hello everyone,
her my until now unresponded question again:
Since version 20.03 and also in the current version 25.03, I have an unsolvable problem:
1. If I enter a placeholder under Settings/Editor/Code Specification, such as "$(NOW_L)", the current date and time is displayed in the subsequently generated single file (*.cpp/*.h).
2. However, if I enter the same placeholders in /usr/share/codeblocks/templates/wizard/console/cpp/main.cpp, when generating a new project, "$(NOW_L)" is displayed in main.cpp instead of the current date and time.
My question: Why this different treatment of "$(NOW_L)?"
Thank you in advance!
Michael
72
General (but related to Code::Blocks) / Re: forums.codeblocks.org Cert has expired
« Last post by sodev on November 02, 2025, 04:52:39 pm »
So you are saying that cert's should be okay after the expiry? I disagree and my second post was a reminder that the admin needs to keep any eye on the 3 monthly lets encrypt expiry.

No i don't, expired certificates do not work. Usually the certificates are managed by Certbot, it schedules a cron job (or whatever system the OS uses) to check the certificates daily and acquire and install new ones automatically when the current ones are about to expire.
73
Development / Re: C::B 25.03 Multiple Debuggers selection old bug still there.
« Last post by Pecan on November 02, 2025, 02:10:31 am »
But then, the ability to choose Debugger in a "Compiler Settings" makes no sense.

As I remember, in earlier versions, the current debugger was selected by selecting the "Build target" to build, and in a "Build Options" the compiler is selected, and in a "Compiler setting" is a debugger defined for that particular compiler.

It is a bit misleading to have separate Build target selection and Debugger selection, along with the ability to set debugger in a "Compiler settings", that has no effect then.

Yeah, there's been some fiddling around in that area of the code. But that fiddler is no longer around.

Could you just copy some of this thread and make a ticket of it.
I'm working on debugger_DAP and if/when I get into that area and fix it, I'll make a backport also.

Thanks
74
Development / Re: C::B 25.03 Multiple Debuggers selection old bug still there.
« Last post by MasterAlexei on November 02, 2025, 01:54:20 am »
But then, the ability to choose Debugger in a "Compiler Settings" makes no sense.

As I remember, in earlier versions, the current debugger was selected by selecting the "Build target" to build, and in a "Build Options" the compiler is selected, and in a "Compiler setting" is a debugger defined for that particular compiler.

It is a bit misleading to have separate Build target selection and Debugger selection, along with the ability to set debugger in a "Compiler settings", that has no effect then.
75
Development / Re: C::B 25.03 Multiple Debuggers selection old bug still there.
« Last post by MasterAlexei on November 02, 2025, 12:02:02 am »
Oh man, that is a bit hidden under menus. I do start debug sessions via shortcut F8 or a tool button with mouse. This menu "Debug" is a seldom place to visit...

Thanks. Now I learned some thing more.
76
Development / Re: C::B 25.03 Multiple Debuggers selection old bug still there.
« Last post by Pecan on November 01, 2025, 11:40:33 pm »
MainMenu>debug>active debugger>selectDebug config
77
In the script the line
Code
perf record --call-graph dwarf -o "$PERF_DATA_PATH" \
  env LD_LIBRARY_PATH="$LIB_DIR:$LD_LIBRARY_PATH" "$EXE_PATH"

Might not work well in some cases then just remove the env part so it would be like
Code
perf record --call-graph dwarf -o "$PERF_DATA_PATH" "$EXE_PATH"
78
Development / Re: AI may help us to create plugins
« Last post by ollydbg on November 01, 2025, 02:13:13 pm »
Generated wiki looks nice, I'm hearing about deepwiki first time, looks very useful tool. Thank you for sharing.

Regarding the plugin generated, how complete was the code?

I'm also new to d :)eepwiki site.

I haven't tried the generated code yet, but you can see this page:

https://deepwiki.com/search/can-you-help-me-to-create-a-co_35be54bd-5f47-4e3b-ba7d-bdff22584a0e

Just scroll down to the bottom of the page, it has many source code generated, and the code looks good.
79
Development / C::B 25.03 Multiple Debuggers selection old bug still there.
« Last post by MasterAlexei on November 01, 2025, 11:59:44 am »
Hello everyone,
Since 20.03 (and I think it is yet earlier) there is a bug on selection of Debugger for current Project/Target.
I have several Debuggers in Debug Setting (I total 8 in my compilers Zoo), and each Project has its own Compiler and logically its own debugger.

By clicking "Start Debug" it will always the second one taken, which is listed in default.conf under <sets> ... <gdb_debugger> ... <conf2>.

The only way I found to start the right Debugger is ... modifying the default.conf file so that needed Debugger is in <conf2> config is (i.e. rename <confX> group.
It is a bit annoying by switching projects to restart whole C::B.

Sorry if I was wrong with the thread in a Forum. I am seldom guest here.
The Berlios Bug Trackes shows 500 Internal Server Error.
80
Development / Re: AI may help us to create plugins
« Last post by christo on November 01, 2025, 06:22:53 am »
Generated wiki looks nice, I'm hearing about deepwiki first time, looks very useful tool. Thank you for sharing.

Regarding the plugin generated, how complete was the code?
Pages: 1 ... 3 4 5 6 7 [8] 9 10