CDB extension: Introduce flags for exception handling to call command.

Change-Id: Ib913fe43755da16856c084e0ca72086dee596158
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Friedemann Kleint
2014-02-24 10:08:38 +01:00
parent 280d7f2a61
commit 845cef8287
4 changed files with 21 additions and 6 deletions

View File

@@ -655,7 +655,7 @@ std::string widgetAt(const SymbolGroupValueContext &ctx, int x, int y, std::stri
callStr << std::showbase << std::hex << symbols.front().second
<< std::noshowbase << std::dec << '(' << x << ',' << y << ')';
std::wstring wOutput;
if (!ExtensionContext::instance().call(callStr.str(), &wOutput, errorMessage))
if (!ExtensionContext::instance().call(callStr.str(), 0, &wOutput, errorMessage))
return std::string();
// Returns: ".call returns\nclass QWidget * 0x00000000`022bf100\nbla...".
// Chop lines in front and after 'class ...' and convert first line.