Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
To modify their order in that project's Build Options, go to Linker Settings->Link Libraries and utilize the up and down arrows.
spacebar clicker
2
Using Code::Blocks / Re: Debugger - Memory dump
« Last post by Evan on March 17, 2024, 09:47:49 am »
Thanks, really appreciated.  :)
3
Development / new idea: context menu to open the image in doxygen style comment
« Last post by ollydbg on March 16, 2024, 04:05:57 pm »


https://www.doxygen.nl/manual/commands.html#cmdimage

We can have such comment:

Code
  /*! Here is a snapshot of my new application:
   *  \image html application.jpg
   *  \image latex application.eps "My application" width=10cm
   */

I think when a user right click on the "application.jpg", we can generate a url to let the browser open this jpg file in the browser?

Because we already have a context menu named "Open link in browser" which is used to open a link, such as: "http://xxx.yyy.zzz" in the comment.

Any ideas?

Sometimes, we need images in the doxygen, but we need to find a quick way to view the image.
4
Plugins development / Re: Code completion using LSP and clangd
« Last post by Pecan on March 15, 2024, 11:21:58 pm »
On Windows 11 opening the project file itself in Windows (not directly through Codeblocks) does not parse the project on opening. Reparsing is needed to be done manually. Doing so through Codeblocks works fine.
Steps to reproduce:
1. Codeblocks not running
2. Double-click on any project file *.cbp

On Plugin wiki https://wiki.codeblocks.org/index.php/CB_Clangd_Client the first link to the plugin repository page is not working.

For information, there is a discussion of doxygen support for Clangd - https://github.com/clangd/clangd/issues/529

Thanks
The URL has been corrected. And thanks for the doxygen info.

I will see what I can do about DDE opened projects not being parsed automatically.
5
Using Code::Blocks / Re: Configuring project compilation (example Dislin library)
« Last post by tuchin on March 15, 2024, 09:45:11 pm »
Thanks, it worked out.
6
Plugins development / Re: Code completion using LSP and clangd
« Last post by garwin on March 15, 2024, 09:37:41 pm »
On Windows 11 opening the project file itself in Windows (not directly through Codeblocks) does not parse the project on opening. Reparsing is needed to be done manually. Doing so through Codeblocks works fine.
Steps to reproduce:
1. Codeblocks not running
2. Double-click on any project file *.cbp

On Plugin wiki https://wiki.codeblocks.org/index.php/CB_Clangd_Client the first link to the plugin repository page is not working.

For information, there is a discussion of doxygen support for Clangd - https://github.com/clangd/clangd/issues/529
7
Using Code::Blocks / Re: Debugger - Memory dump
« Last post by Pecan on March 15, 2024, 06:34:20 pm »
Good.
After a breakpoint has occurred, hover over the variable for which you want an address. If you've set the option that requires the ctrl key to be tapped, do so.
The elements of the variable should then appear in the debuggers log to copy/paste.

Depending on the GDB version being used, for the first attempt to display the expression (variable or whatever), the GDB may be quite slow. After the first display, the subsequent evaluations/displays will be much faster.
8
Using Code::Blocks / Re: Debugger - Memory dump
« Last post by Evan on March 15, 2024, 01:43:39 pm »
I got this.
9
Using Code::Blocks / Re: Configuring project compilation (example Dislin library)
« Last post by Grit Clef on March 15, 2024, 12:35:11 pm »
In that project's Build Options, use the up and down arrows in Linker Settings->Link Libraries to change their sequence.
10
Searching around, I came across a set of tools by microsoft, called powertoys, one of which is called file locksmith that seems to do exactly what i want - identify which process(es) keep a certain (or more) files locked.

I downloaded powertoys (~250MB) installed it, made sure I checked the 'run in elevated mode', and test.exe gives no damn results - locksmith cannot identify any process locking that file. However, I try to delete the file and get the error 'cannot delete file cause it's in use by another program'. If i reboot, I can delete it.

I give up for now .. can't think of anything else for the time being.
I've had good luck with SysInternals  Handles.exe finding locked files.

https://learn.microsoft.com/en-us/sysinternals/

https://learn.microsoft.com/en-us/sysinternals/downloads/handle
Pages: [1] 2 3 4 5 6 ... 10