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

wxSmith development

<< < (20/34) > >>

byo:

--- Quote from: rickg22 on July 29, 2005, 06:44:16 am ---Guys i have a question
How stable is wxsmith right now?

I want to edit some of the Codeblocks dialogs... can it be done currently? Or do I have to grab another resource editor?

--- End quote ---

Unfortunately wxSmith isn't ready for bigger job yet. Currently it doesn't support many standard widgets (I hope that cyberkoa will help me with this :), he has already started working on it).
And stability... sometimes it crashes (when deleting widgets) but I have some problems with debugging - C::B has problems with paths (when running not in debug mode it runs properly but when running in debug it says there's no C::B executable) and I can't load symbol tables from wxSmith's dll, even after add-symbols... in gdb, backtrace doesn't show any function names (maybe anyone could help me with this)

rickg22:
OK here's how. I'm not speaking from experience, but rather from what Yiannis told me.

1) Add a breakpoint after loading the plugins in app.cpp.
2) Run.
3) After you reach the plugins, add the symbol tables for the plugins dlls.

mandrav:
What I do to debug C::B plugins is:

1) open app.cpp, position the cursor on HideSplashScreen() in CodeBlocksApp::InitFrame() (currently line 180)
2) press F4 (starts debugging and breaks on the above line).

When it breaks, the plugins have loaded so any breakpoints you set in plugins, will be valid.
Debug :)

Yiannis.

cyberkoa:

--- Quote from: byo on July 30, 2005, 09:56:54 am ---
Unfortunately wxSmith isn't ready for bigger job yet. Currently it doesn't support many standard widgets (I hope that cyberkoa will help me with this :), he has already started working on it).
And stability... sometimes it crashes (when deleting widgets) but I have some problems with debugging - C::B has problems with paths (when running not in debug mode it runs properly but when running in debug it says there's no C::B executable) and I can't load symbol tables from wxSmith's dll, even after add-symbols... in gdb, backtrace doesn't show any function names (maybe anyone could help me with this)

--- End quote ---
Ok, let me handle on the standard widgets , I will try my best ! 

The debugging technique provided by rick and mandrav is very useful ..
Now is still reading the source code of code generation by byo  ..
Next monday I will back to Mexico , will start on the development again ...  :D

tiwag:

--- Quote from: rickg22 on July 29, 2005, 06:44:16 am ---I want to edit some of the Codeblocks dialogs...

--- End quote ---

in the last time i use more and more often wxFormBuilder
it's almost as good as DialogBlocks, but free and open source.
http://www.solidsteel.nl/users/wxwidgets/viewtopic.php?t=2615
http://software-libre.org/download.php/232/wxFB-20050710-win32-installer.exe

The developer of wxFormBuilder himself posted a few times,
that he is using CodeBlocks and wxFormBuilder together and
reaches very good results with it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version