|
@@ -1,15 +1,21 @@
|
|
// Copyright (c) Jupyter Development Team.
|
|
// Copyright (c) Jupyter Development Team.
|
|
// Distributed under the terms of the Modified BSD License.
|
|
// Distributed under the terms of the Modified BSD License.
|
|
|
|
|
|
-import { Widget } from '@phosphor/widgets';
|
|
|
|
|
|
+import { SplitPanel } from '@phosphor/widgets';
|
|
|
|
+import { VariablesWidget } from './variables';
|
|
|
|
|
|
import { Debugger } from './debugger';
|
|
import { Debugger } from './debugger';
|
|
|
|
|
|
-export class DebuggerSidebar extends Widget {
|
|
|
|
|
|
+export class DebuggerSidebar extends SplitPanel {
|
|
|
|
+
|
|
|
|
+ variables: VariablesWidget;
|
|
|
|
+
|
|
constructor(model: Debugger.Model | null) {
|
|
constructor(model: Debugger.Model | null) {
|
|
super();
|
|
super();
|
|
this.model = model;
|
|
this.model = model;
|
|
this.addClass('jp-DebuggerSidebar');
|
|
this.addClass('jp-DebuggerSidebar');
|
|
|
|
+ this.variables = new VariablesWidget();
|
|
|
|
+ this.addWidget(this.variables);
|
|
}
|
|
}
|
|
|
|
|
|
public model: Debugger.Model | null = null;
|
|
public model: Debugger.Model | null = null;
|