Author Topic: C::B Profiler : new version released!  (Read 13114 times)

Offline Zlika

  • Plugin developer
  • Multiple posting newcomer
  • ****
  • Posts: 59
Re: C::B Profiler : new version released!
« Reply #15 on: September 25, 2005, 06:53:23 pm »
I have seen 2 little problems:
-The .cbp file format must have been changed in the new version (I still use the 1.0-RC1.1) because the "Code::Blocks_project_file" tag has been changed to "CodeBlocks_project_file" in the cbprofiler.cbp and so the 1.0-RC1.1 can't open it.
- You have renamed the zip resource file cb_profiler.zip to profiler.zip, but you haven't change it in cbprofiler.unix.cbp

And same problem as codestat with extra empty lines (What?!! You don't use C::B to do the job!! :shock:  :mrgreen: )

Zlika

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: C::B Profiler : new version released!
« Reply #16 on: September 25, 2005, 08:23:52 pm »
I have seen 2 little problems:
-The .cbp file format must have been changed in the new version (I still use the 1.0-RC1.1) because the "Code::Blocks_project_file" tag has been changed to "CodeBlocks_project_file" in the cbprofiler.cbp and so the 1.0-RC1.1 can't open it.
- You have renamed the zip resource file cb_profiler.zip to profiler.zip, but you haven't change it in cbprofiler.unix.cbp

And same problem as codestat with extra empty lines (What?!! You don't use C::B to do the job!! :shock:  :mrgreen: )

Zlika

1) Yes the project file format has changed subtly to be XML-compliant...
2) I didn't use cbprofiler.unix.cbp so I haven't update it.

You 're maintaining them now. Update whatever is needed...
Be patient!
This bug will be fixed soon...

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
C::B Profiler : actual version
« Reply #17 on: October 04, 2005, 12:28:26 pm »
i just built and tried the profiler-plugin and found, that it doesn't handle custom-variables .

i'm used to parametrize my CB project files with custom variables
like you can see in this excerpt:
Code: [Select]
<Build>
    <Target title="Debug Dll">
        <Option output="$(OUTNAME)_d_dll.exe"/>
        <Option working_dir="."/>
        <Option object_output="$(OUTNAME)_d_dll"/>

the profile file gmon.out is there but the profiler-plugin wants to open a $(OUTNAME)...file which leads to the failure
$(OUTNAME)_d_dll.exe: No such file or directory

when i afterwards change the target's output file-name to the one which equals to the expanded custom variable, the profiler plugin shows the profiled data fine.

used for this test: C::B CVS HEAD 05.10.04, wxMSW261

Offline Zlika

  • Plugin developer
  • Multiple posting newcomer
  • ****
  • Posts: 59
Re: C::B Profiler : new version released!
« Reply #18 on: October 04, 2005, 06:50:32 pm »
Well, it's a bug!  :P
I'll try to fix it as soon as possible.

Zlika