diff options
Diffstat (limited to 'src/plugins/debugger/cdb/cdbstacktracecontext.cpp')
-rw-r--r-- | src/plugins/debugger/cdb/cdbstacktracecontext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/cdb/cdbstacktracecontext.cpp b/src/plugins/debugger/cdb/cdbstacktracecontext.cpp index 6cdaf62709..40cd9776bc 100644 --- a/src/plugins/debugger/cdb/cdbstacktracecontext.cpp +++ b/src/plugins/debugger/cdb/cdbstacktracecontext.cpp @@ -86,7 +86,8 @@ bool CdbStackTraceContext::init(unsigned long frameCount, QString * /*errorMessa // Convert the DEBUG_STACK_FRAMEs to our StackFrame structure and populate the frames WCHAR wszBuf[MAX_PATH]; for (ULONG i=0; i < frameCount; ++i) { - StackFrame frame(i); + StackFrame frame; + frame.level = i; const ULONG64 instructionOffset = m_cdbFrames[i].InstructionOffset; if (i == 0) m_instructionOffset = instructionOffset; |