User forums > Nightly builds
The 06 March 2011 build (7040) DEBUGGER BRANCH version is out.
oBFusCATed:
--- Quote from: Borr on March 11, 2011, 03:01:13 pm ---with rev7017 I have no problems. 7040_deb does not show local variables(http://forums.codeblocks.org/index.php?action=dlattach;topic=14334.0;attach=5344;image). shows only those variables that I added. change the script does not work as a result of just an empty string. The results of python pretty printers for wxWidgets do not fall into the Watches (7040_deb)
--- End quote ---
With rev7017 you'll have the same problem, when you use "add watch" ...
Local vars are useful, but a bit limiting and at the moment are not implemented in the debuggers branch...
Also are you sure you've removed the call? Have you tried to restart C::B (not sure if it is needed).
What is the result of the "print test" gdb command?
The pretty printers change the output of the print/output gdb commands and that are the commands used to get the values for the watches.
See the sait Ollydbg mentioned.
killerbot:
--- Quote ---Local vars are useful, but a bit limiting and at the moment are not implemented in the debuggers branch...
--- End quote ---
Since we are thinking of merging the debugger branch to trunk, I personally think this is something that should be fixed asap. This seems a show stopper to me.
I don't think I can convince anyone, of all our improvements if even a local variable can not be watched.
[or am I misinterpreting the quote above ??]
oBFusCATed:
killerbot:
Hm, you prefer the old unusable watches which had the almost unusable local variables, over the new usable watches which don't have them?
The reason for the missing local vars/func args, as I've stated many times, is that I want to have them in separate windows. I want something like, what is done in VStudio.
But at the moment I think it is not possible. I want to be able to move a window from one notebook to another, but last time I've checked wxAUI didn't support this feature.
p.s. we are talking about the automatic local variables, you can watch local variables but you should add them manually...
killerbot:
--- Quote ---p.s. we are talking about the automatic local variables, you can watch local variables but you should add them manually...
--- End quote ---
ok, that's why is was asking. This makes already much more sense :-)
And I do prefer the new way of course. I hope we will be able to have automatic ones too, if we can solve the technical issue you mention.
Borr:
svn 7017
One more thing, if you close the CB in advanced debugging. CB closes with an error, of the advanced settings for the debugger in the CB are not saved.
svn 7017_7040 and add watches:
I changed the script it solved the problem for me
--- Code: ---//in Evaluate_wxString change
local result = _T("output /c ") + a_str + oper + _T("m_pchData[") + start + _T("]@");
//to
local result = _T("output /s ") + a_str + oper + _T("m_pchData[") + start + _T("]@");
function Parse_wxString(a_str, start)
{
local result = a_str;
return result;
}
--- End code ---
Debugger run as
--- Code: ---source C:\MinGW_441\bin\wx.gdb
set print element 0
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version