提交 9a929da4 编写于 作者: I isidor

debug: fix loadMoreStackFrames scenario

fixes #14614
上级 8a3c5f7c
......@@ -212,8 +212,12 @@ export class BaseDebugController extends treedefaults.DefaultController {
// call stack
class ThreadAndProcessIds {
class ThreadAndProcessIds implements debug.ITreeElement {
constructor(public processId: string, public threadId: number) { }
public getId(): string {
return `${this.processId}:${this.threadId}`;
}
}
export class CallStackController extends BaseDebugController {
......@@ -340,9 +344,6 @@ export class CallStackActionProvider implements renderer.IActionProvider {
export class CallStackDataSource implements tree.IDataSource {
public getId(tree: tree.ITree, element: any): string {
if (typeof element === 'number') {
return element.toString();
}
if (typeof element === 'string') {
return element;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册