add stackframe paging support to debug protocol and node-debug

This commit is contained in:
Andre Weinand
2016-03-30 10:46:27 +02:00
parent 76d1940d03
commit 563c0209ed
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"account": "monacobuild", "account": "monacobuild",
"container": "debuggers", "container": "debuggers",
"zip": "63e4d82/node-debug.zip", "zip": "3fb9a7f/node-debug.zip",
"output": "" "output": ""
} }
@@ -382,6 +382,8 @@ declare module DebugProtocol {
export interface StackTraceArguments { export interface StackTraceArguments {
/** Retrieve the stacktrace for this thread. */ /** Retrieve the stacktrace for this thread. */
threadId: number; threadId: number;
/** the index of the first frames to return; if omitted frames start at 0. */
startFrame?: number;
/** The maximum number of frames to return. If levels is not specified or 0, all frames are returned. */ /** The maximum number of frames to return. If levels is not specified or 0, all frames are returned. */
levels?: number; levels?: number;
} }
@@ -391,6 +393,8 @@ declare module DebugProtocol {
/** The frames of the stackframe. If the array has length zero, there are no stackframes available. /** The frames of the stackframe. If the array has length zero, there are no stackframes available.
This means that there is no location information available. */ This means that there is no location information available. */
stackFrames: StackFrame[]; stackFrames: StackFrame[];
/** The total number of frames available. */
totalFrames?: number;
}; };
} }