forked from qt-creator/qt-creator
Debugger: Add debug output for parseAndEvaluate
Change-Id: If5ed128d32c2dff6880a78cc9a5ee535e094da7d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -104,6 +104,8 @@ static PyObject *cdbext_parseAndEvaluate(PyObject *, PyObject *args) // -> Value
|
||||
char *expr;
|
||||
if (!PyArg_ParseTuple(args, "s", &expr))
|
||||
Py_RETURN_NONE;
|
||||
if (debugPyCdbextModule)
|
||||
DebugPrint() << "evaluate expression: " << expr;
|
||||
CIDebugControl *control = ExtensionCommandContext::instance()->control();
|
||||
control->SetExpressionSyntax(DEBUG_EXPR_CPLUSPLUS);
|
||||
DEBUG_VALUE value;
|
||||
|
Reference in New Issue
Block a user