Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

cbEVT_COMPILER_FINISHED

<< < (3/3)

Picardo:
Hi Jens, I ran the .exe from the devel folder. Yes, I am a dumba**!  :D
I just tried again from the output folder (here the date modified of the .dlls are the same as the codeblocks.exe) but I still have the same problem.


oBFusCATed, can you point me in the right direction on how to capture the call stack when the event is fired please?

Picardo:
oBFusCATed, my bad. The last version of my plugin used the COMPILER_STARTED event in an effort to solve the double running of the plugin code. The COMPILER_STARTED event still fires twice though... I changed it back to the COMPILER_FINISHED event and now it works perfectly.

Sorry for wasting your time! Thanks for your help.

oBFusCATed:
Back to this problem. It seems the COMPILER_STARTED is sent at the start of every distinct operation.

For example if you do a "build project" then you get one event. If you do "clean project" get one event. Same for clean and build file and workspace. But if you do rebuild then you get one event for the clean part and one event for the build part of the rebuild process.

I'm not sure if this is done on purpose or if this is accidental.
I'll commit the fix for the compiler finished event though. If this double send of the compiler started is bothering you we could try to think something about it.

Navigation

[0] Message Index

[*] Previous page

Go to full version