Author Topic: CB Profiler: Minor issue  (Read 8010 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
CB Profiler: Minor issue
« on: October 31, 2005, 05:20:36 pm »
It took me a while to find out but until now I had difficulties to get the self-compiled profiler plugin (from CVS) get to work. I found out that the ZIP archive for the resources is called "profiler.zip" inside "cbprofiler.cpp". But is is created as "cb_profiler.zip" from "cbprofiler.unix.cbp". The plugin itself is called "cbprofiler.so" in *nix and "CBProfiler.dll" in windows (note that they differ in case sensitivity).
Because I always named the ZIP-archive like "cb_profiler.zip" (as suggested in "Installation Instructions.txt") Code::Blocks always used to crash when I tried to access the plugin settings.

It's confusing to have all those different variants. My wish is to update the settings to a default name. I believe that it may be better to name the resource .ZIP archive just as the plugin to avoid issues.

However: It's a great plugin anyway!!!

Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Zlika

  • Guest
Re: CB Profiler: Minor issue
« Reply #1 on: November 01, 2005, 12:39:24 pm »
Thank you for your remarks. I have seen the problem some weeks ago and... forgot to fix it! :-)
In fact I have only tested the plugin under windows...
I am going to update that in a few minutes. Please test it again and tell me if it's better.

Zlika

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: CB Profiler: Minor issue
« Reply #2 on: November 01, 2005, 08:04:10 pm »
Please test it again and tell me if it's better.
I can confirm the changes -> it works now. Thanks a lot. By the way: You could add the zip command to the Windows project file as well. If you use the "-j" parameter for zip than you may even not require the "cd resources" command. Just say zip -j [...wherever...]\profiler.zip resources\*.zip and it automatically stripes off the path.

Thanks again - that was really quick.

With regards,

Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ