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

Splitting debugger in two - specific debugger and common GUI

<< < (51/136) > >>

cbexaminr:
c::b/gdb file/path issues

Please see:
http://forums.codeblocks.org/index.php/topic,13306.new.html#new

(separate thread chosen, since may be outstanding trunk/gdb issue, rather than branch specific.)

oBFusCATed:
Next patch: http://smrt.is-a-geek.org/codeblocks/patches/dbg/dbg_refactor0017.3.patch

This patch is pretty experimental, so please review it carefully before application!!!

1. Added GetIsRunning method to ProjectManager, it is used to query the plugin that is running the project (running the application, debugging the application, etc)
2. Added SetIsRunning method to ProjectManager, it is used to set the plugin that is running/executing the project, it is set only if the GetIsRunning returns NULL
3. Modified the Compiler plugin to use the new methods (set and reset correctly the running flag, modified the toolbar/menu updateui functions)
4. Modified the Debugger plugin to use the new methods (set and reset correctly the running flag, modified the toolbar/menu updateui functions)
5. Changed a bit the accelerators for debugging (safe to apply this part of the patch)
6. Some formatting changes in cbDebuggerPlugin::RunNixConsole

I'm running C::B with this patch and I've fixed most of the problems, but I'm sure there are more...
Please test and provide feedback.

p.s. if this patch is accepted, some of the plugins should be modified to use the new methods (valgrind, cppcheck, cccc....)

MortenMacFly:

--- Quote from: oBFusCATed on September 14, 2010, 11:02:16 pm ---Next patch: http://smrt.is-a-geek.org/codeblocks/patches/dbg/dbg_refactor0017.3.patch
[...]
This patch is pretty experimental, so please review it carefully before application!!!
[...]
p.s. if this patch is accepted, some of the plugins should be modified to use the new methods (valgrind, cppcheck, cccc....)

--- End quote ---
Ok, so I won't commit for now and test myself. Others (volunteers), please do the same

The question is: Who does the required changes for the other plugins? Do you already have a patch for this?

oBFusCATed:
No, I don't have a patch, but I could do it later...

oBFusCATed:
Next stable patch: http://smrt.is-a-geek.org/codeblocks/patches/dbg/dbg_refactor0016.7.patch

1. Fix the Native problem from here: http://forums.codeblocks.org/index.php/topic,13272.new.html
2. Added log message if the debuggee can't be found
3. Improved the accelerators for the debug menu

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version