mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: Standard debugger improved
git-svn-id: svn://ultimatepp.org/upp/trunk@9081 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6014d50e3f
commit
cedb778ff5
6 changed files with 117 additions and 6 deletions
|
|
@ -178,6 +178,7 @@ void Gdb::CheckEnd(const char *s)
|
|||
|
||||
String Gdb::Cmdp(const char *cmdline, bool fr)
|
||||
{
|
||||
expression_cache.Clear();
|
||||
String s = Cmd(cmdline);
|
||||
if(ParsePos(s, file, line, addr)) {
|
||||
IdeSetDebugPos(GetLocalPath(file), line - 1, fr ? DbgImg::FrameLinePtr()
|
||||
|
|
@ -382,21 +383,28 @@ Gdb::Gdb()
|
|||
locals.NoHeader();
|
||||
locals.AddColumn("", 1);
|
||||
locals.AddColumn("", 6);
|
||||
locals.EvenRowColor();
|
||||
watches.NoHeader();
|
||||
watches.AddColumn("", 1).Edit(watchedit);
|
||||
watches.AddColumn("", 6);
|
||||
watches.Inserting().Removing();
|
||||
watches.EvenRowColor();
|
||||
autos.NoHeader();
|
||||
autos.AddColumn("", 1);
|
||||
autos.AddColumn("", 6);
|
||||
autos.EvenRowColor();
|
||||
self.NoHeader();
|
||||
self.AddColumn("", 1);
|
||||
self.AddColumn("", 6);
|
||||
self.EvenRowColor();
|
||||
cpu.Columns(3);
|
||||
cpu.ItemHeight(Courier(Ctrl::HorzLayoutZoom(12)).GetCy());
|
||||
// cpu.SetDisplay(Single<CpuRegisterDisplay>());
|
||||
|
||||
Add(tab.SizePos());
|
||||
tab.Add(autos.SizePos(), "Autos");
|
||||
tab.Add(locals.SizePos(), "Locals");
|
||||
tab.Add(watches.SizePos(), "Watches");
|
||||
tab.Add(self.SizePos(), "this");
|
||||
tab.Add(cpu.SizePos(), "CPU");
|
||||
Add(threads.LeftPosZ(300, 100).TopPos(2));
|
||||
Add(frame.HSizePosZ(404, 0).TopPos(2));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue