mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-11 06:12:34 -06:00
ide: Pdb dll modules info
git-svn-id: svn://ultimatepp.org/upp/trunk@14308 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d99c9d313f
commit
a8e420e8cb
2 changed files with 11 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ void Pdb::DebugBar(Bar& bar)
|
|||
bar.Add(b, "Copy backtrace", THISBACK(CopyStack));
|
||||
bar.Add(b, "Copy backtrace of all threads", THISBACK(CopyStackAll));
|
||||
bar.Add(b, "Copy dissassembly", THISBACK(CopyDisas));
|
||||
bar.Add(b, "Copy modules", THISBACK(CopyModules));
|
||||
}
|
||||
|
||||
void Pdb::Tab()
|
||||
|
|
@ -396,6 +397,15 @@ void Pdb::CopyDisas()
|
|||
disas.WriteClipboard();
|
||||
}
|
||||
|
||||
void Pdb::CopyModules()
|
||||
{
|
||||
String s;
|
||||
for(const ModuleInfo& f : module)
|
||||
s << f.path << ", base 0x" << FormatIntHex((void *)f.base)
|
||||
<< ", size: 0x" << FormatIntHex(f.size) << "\n";
|
||||
WriteClipboardText(s);
|
||||
}
|
||||
|
||||
void Pdb::Stop()
|
||||
{
|
||||
if(!terminated) {
|
||||
|
|
|
|||
|
|
@ -510,6 +510,7 @@ struct Pdb : Debugger, ParentCtrl {
|
|||
void CopyStack();
|
||||
void CopyStackAll();
|
||||
void CopyDisas();
|
||||
void CopyModules();
|
||||
|
||||
void MemoryGoto(const String& exp);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue