Debugger: Reorganize python dumper loading

- Split off GDB and LLDB specific parts into separate files,
- Trigger loading of dumpers.py and qttypes.py from bridge.py
- Read start up script at startup, not as part of dumper loading

Change-Id: I7941ee535121fa0f43a466e5bb75a18c9bb19764
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2013-04-10 13:55:15 +02:00
parent 87f2d83ec2
commit 17e8631dfb
6 changed files with 684 additions and 696 deletions

View File

@@ -1113,9 +1113,6 @@ void LldbEngine::loadPythonDumpers()
Core::ICore::resourcePath().toLocal8Bit() + "/dumper/";
postCommand("script execfile('" + dumperSourcePath + "bridge.py')");
postCommand("script execfile('" + dumperSourcePath + "dumper.py')");
postCommand("script execfile('" + dumperSourcePath + "qttypes.py')");
postCommand("script bbsetup('')");
}
bool LldbEngine::hasCapability(unsigned cap) const