[all-commits] [llvm/llvm-project] 6dad5e: The field ‘totalFrames’ which is total number of f...

Nathan Lanza via All-commits all-commits at lists.llvm.org
Mon Dec 9 10:46:55 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6dad5e441db5400a9716fd3c6f943ceeeecdfe4e
      https://github.com/llvm/llvm-project/commit/6dad5e441db5400a9716fd3c6f943ceeeecdfe4e
  Author: Serhiy Redko <serhiy.redko at oculus.com>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py
    M lldb/tools/lldb-vscode/lldb-vscode.cpp

  Log Message:
  -----------
  The field ‘totalFrames’ which is total number of frames available, is mandatory in StackTraces response for VSCode extension that implements DAP and declares capability 'supportsDelayedStackTraceLoading':

"The debug adapter supports the delayed loading of parts of the stack,
which requires that both the 'startFrame' and 'levels' arguments and the
'totalFrames' result of the 'StackTrace' request are supported."

Lack of this field makes VSCode incorrectly display stack traces information

D71034




More information about the All-commits mailing list