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

codecompletion plugin lead codeblocks crash, do GUI operation in worker thread

<< < (6/7) > >>

oBFusCATed:
Are we sure what is taking all the time when building the tree from the main thread?
Has any one run a profiler to see what is slowing things down? Most of the times it is something quite unexpected, because people are really bad at guessing bottleneck!

If someone is willing to bring back all UI building code to the main thread and provide a patch, I'll run some profiling tools on it and I'll try to improve it.

MortenMacFly:
I'm afraid there is nothing to bring back as imho it has always been like that...

oBFusCATed:
I think Loaden has moved it in a thread, but anyway, lets say to move the code to the UI thread in order to make it easier to profile.

ollydbg:

--- Quote from: oBFusCATed on February 18, 2014, 12:36:54 am ---I think Loaden has moved it in a thread, but anyway, ...

--- End quote ---
No, the wxTreeCtrl builder thread has a long history, it exist before Loaden became a C::B developer.

kipade:

--- Quote from: ollydbg on February 17, 2014, 04:21:08 pm ---
--- Quote from: kipade on February 17, 2014, 04:08:31 pm ---If it still no official support, I might continue to complete it by my hand, because I need it work under linux. Any idea is welcome.

--- End quote ---
Do you think it is definitely the codecompletion's browser tree which cause the crash issue?
I haven't seen that on our forum about such issue, can you show us the crash backtrace?


--- End quote ---
Im sure. I will upload a crash trace when I have some free time to have a try.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version