Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Splitting debugger in two - specific debugger and common GUI

<< < (8/136) > >>

oBFusCATed:
I suppose no, because wxPropGrid might not support them at the moment (should look), but I can ask the it's creator, so he can add them (if not supported)

MortenMacFly:

--- Quote from: Ceniza on August 31, 2009, 04:36:36 pm ---I like it :D

--- End quote ---
/me, too! :P

oBFusCATed:
Little problem,
I want when a watch is selected and the user presses f2, to be able to edit it.
But the F2 is an accelerator key and it is not passed to the handler, so now I use the Insert key.
Is there a way to handle f2 in my window?

p.s. Glad you like it, I hope that I'll post a patch with finished watches utill the end of the week.

Edit:
Argh  ... .. . Another problem:
The editor is refocused when a context menu in the watches window or the "logs and others" is closed (menu item is clicked).
This behavior prevents the implementation of the context menu watchesdlg->context menu -> rename (which does inplace rename).

Does someone knows something about that?

oBFusCATed:
OK, here is the second patch that shows my progress on this... (see post #18 for the previous message regarding progress and patches)

Here is the patch http://smrt.is-a-geek.org/codeblocks/dbg_refactor/dbg_refactor0002.patch

1. The toolbar is extracted (many problems here will fix them later)
2. The watches window have been rewritten (using wxPropGrid svn r1344+, 1.4.6 won't work because it doesn't allow the user to edit the name/label of the property)

Feadback is welcome....

p.s. If the patch is hard to apply, I can split it in many smaller ones (I use git-svn, so I can provide for every commit I've done to my local repo (50+ until today))
p.s.s. wxpropgrid is not added to the source tree, I'm using the one provided by the system... you need to have it visible to the compiler/linker...

oBFusCATed:
OK,
I've done 99% of the work.
What's left:
1. The config dialogs - the current implementation should work (with no additional work), we get a multiple debugger icons in the "Settings -> Compiler & Debugger" dialog. Is that enough?
2. The debugger panel/tab in the project properties dialog - same as the above, no work and we'll get multiple tabs
3. Data breakpoints, I'll do this in a minute :)
4. Some fixes here and there
5. Do some testing on windows

I hope, I can post a patch later tonight :)
Best regards....

Edit:
p.s. Here is the latest patch: http://smrt.is-a-geek.org/codeblocks/dbg_refactor/dbg_refactor0003.patch ....

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version