WinXP
I try to debug c::b(debugger branch) under c::b, but when the debugee c::b started, it shows "invalid debugger" in the compiler setting dialog, also I can't see some options in the debugger setting dialog.So I can't use gdb under the debugee c::b.
It works OK when I debug c::b(normal trunk).
Maybe, OBF can give some help, thanks.
Obf cannot compute what is the problem. You'll have to try to explain it better.
You have to setup a debugger in the "Settings -> Debugger" menu and then chose it from the drop-down list in "Settings -> Compiler -> [your compiler] -> Toolchain executables" .
Thanks all. When I have such problem, I even don't have an option to select this in debugee c::b debugger branch, see screen shots below:
(http://i683.photobucket.com/albums/vv194/ollydbg_cb/2012-03-26134559.png)
(http://i683.photobucket.com/albums/vv194/ollydbg_cb/2012-03-26134538.png)
Oh, I found the reason:
when I debug the c::b trunk, I use some options like "-p=debugCC" to specify a personal configuration , but this configuration file is for c::b trunk only, when I switch to debug c::b debugger branch, I should use another configuration, otherwise, the configuration file used for trunk can NOT be used in debugger branch, otherwise it will cause such issue.
It seems that you have not debugger plugin loaded.
This is the reason you get empty list of configurations.
Quote from: oBFusCATed on March 26, 2012, 09:34:44 AM
It seems that you have not debugger plugin loaded.
This is the reason you get empty list of configurations.
Yes, I agree, as I said, the configure file can not be shared between c::b trunk version and debugger branch. The wrong configure file will cause the failure of loading the debugger plugin. :)
If you've explicitly disabled the debuggergdb plugin yes, but otherwise there is no problem in using the same config file with both versions.
Quote from: oBFusCATed on March 26, 2012, 09:49:04 AM
If you've explicitly disabled the debuggergdb plugin yes, but otherwise there is no problem in using the same config file with both versions.
Many thanks to OBF.
I realize that debuggergdb plugin was disabled in my "debugCC" config file(I even did not remember when I disable it). I enabled it and I can confirm that this config file can be shared by debugger branch and trunk version of c::b.
I'm sorry for the noise.
Don't worry to much.
In fact this is a usability problem and I've added a todo item to print a working, so it is a big easier to diagnose what is going on.