@jupyterlab/debugger 4.0.0-alpha.4 → 4.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/debugger.d.ts +2 -0
- package/lib/debugger.js +3 -1
- package/lib/debugger.js.map +1 -1
- package/lib/handler.js +9 -2
- package/lib/handler.js.map +1 -1
- package/lib/handlers/editor.d.ts +4 -0
- package/lib/handlers/editor.js +6 -0
- package/lib/handlers/editor.js.map +1 -1
- package/lib/handlers/file.d.ts +1 -0
- package/lib/handlers/file.js +6 -1
- package/lib/handlers/file.js.map +1 -1
- package/lib/handlers/notebook.js +5 -1
- package/lib/handlers/notebook.js.map +1 -1
- package/lib/icons.d.ts +2 -0
- package/lib/icons.js +10 -0
- package/lib/icons.js.map +1 -1
- package/lib/model.d.ts +5 -0
- package/lib/model.js +3 -0
- package/lib/model.js.map +1 -1
- package/lib/panels/breakpoints/index.d.ts +18 -0
- package/lib/panels/breakpoints/index.js +7 -2
- package/lib/panels/breakpoints/index.js.map +1 -1
- package/lib/panels/kernelSources/body.d.ts +47 -0
- package/lib/panels/kernelSources/body.js +86 -0
- package/lib/panels/kernelSources/body.js.map +1 -0
- package/lib/panels/kernelSources/filter.d.ts +12 -0
- package/lib/panels/kernelSources/filter.js +18 -0
- package/lib/panels/kernelSources/filter.js.map +1 -0
- package/lib/panels/kernelSources/index.d.ts +39 -0
- package/lib/panels/kernelSources/index.js +54 -0
- package/lib/panels/kernelSources/index.js.map +1 -0
- package/lib/panels/kernelSources/model.d.ts +64 -0
- package/lib/panels/kernelSources/model.js +102 -0
- package/lib/panels/kernelSources/model.js.map +1 -0
- package/lib/service.d.ts +16 -0
- package/lib/service.js +89 -1
- package/lib/service.js.map +1 -1
- package/lib/session.d.ts +23 -1
- package/lib/session.js +40 -5
- package/lib/session.js.map +1 -1
- package/lib/sidebar.d.ts +6 -0
- package/lib/sidebar.js +9 -1
- package/lib/sidebar.js.map +1 -1
- package/lib/tokens.d.ts +80 -1
- package/lib/tokens.js.map +1 -1
- package/package.json +22 -21
- package/style/base.css +2 -1
- package/style/icons/open-kernel-source.svg +6 -0
- package/style/icons/pause.svg +6 -0
- package/style/icons.css +9 -8
- package/style/kernelSources.css +42 -0
- package/style/sidebar.css +1 -1
- package/style/variables.css +2 -2
package/lib/session.js
CHANGED
|
@@ -17,6 +17,9 @@ export class DebuggerSession {
|
|
|
17
17
|
this._ready = new PromiseDelegate();
|
|
18
18
|
this._isDisposed = false;
|
|
19
19
|
this._isStarted = false;
|
|
20
|
+
this._pausingOnExceptions = [];
|
|
21
|
+
this._exceptionPaths = [];
|
|
22
|
+
this._exceptionBreakpointFilters = [];
|
|
20
23
|
this._disposed = new Signal(this);
|
|
21
24
|
this._eventMessage = new Signal(this);
|
|
22
25
|
this.connection = options.connection;
|
|
@@ -28,6 +31,12 @@ export class DebuggerSession {
|
|
|
28
31
|
get isDisposed() {
|
|
29
32
|
return this._isDisposed;
|
|
30
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Returns the initialize response .
|
|
36
|
+
*/
|
|
37
|
+
get capabilities() {
|
|
38
|
+
return this._capabilities;
|
|
39
|
+
}
|
|
31
40
|
/**
|
|
32
41
|
* A signal emitted when the debug session is disposed.
|
|
33
42
|
*/
|
|
@@ -71,11 +80,32 @@ export class DebuggerSession {
|
|
|
71
80
|
}
|
|
72
81
|
}
|
|
73
82
|
/**
|
|
74
|
-
* Whether the debug session is started
|
|
83
|
+
* Whether the debug session is started.
|
|
75
84
|
*/
|
|
76
85
|
get isStarted() {
|
|
77
86
|
return this._isStarted;
|
|
78
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Whether to pause on exceptions
|
|
90
|
+
*/
|
|
91
|
+
get pausingOnExceptions() {
|
|
92
|
+
return this._pausingOnExceptions;
|
|
93
|
+
}
|
|
94
|
+
set pausingOnExceptions(updatedPausingOnExceptions) {
|
|
95
|
+
this._pausingOnExceptions = updatedPausingOnExceptions;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Exception paths defined by the debugger
|
|
99
|
+
*/
|
|
100
|
+
get exceptionPaths() {
|
|
101
|
+
return this._exceptionPaths;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Exception breakpoint filters defined by the debugger
|
|
105
|
+
*/
|
|
106
|
+
get exceptionBreakpointFilters() {
|
|
107
|
+
return this._exceptionBreakpointFilters;
|
|
108
|
+
}
|
|
79
109
|
/**
|
|
80
110
|
* Signal emitted for debug event messages.
|
|
81
111
|
*/
|
|
@@ -97,8 +127,8 @@ export class DebuggerSession {
|
|
|
97
127
|
* Start a new debug session
|
|
98
128
|
*/
|
|
99
129
|
async start() {
|
|
100
|
-
var _a, _b, _c;
|
|
101
|
-
const
|
|
130
|
+
var _a, _b, _c, _d;
|
|
131
|
+
const initializeResponse = await this.sendRequest('initialize', {
|
|
102
132
|
clientID: 'jupyterlab',
|
|
103
133
|
clientName: 'JupyterLab',
|
|
104
134
|
adapterID: (_c = (_b = (_a = this.connection) === null || _a === void 0 ? void 0 : _a.kernel) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : '',
|
|
@@ -110,10 +140,13 @@ export class DebuggerSession {
|
|
|
110
140
|
supportsRunInTerminalRequest: true,
|
|
111
141
|
locale: document.documentElement.lang
|
|
112
142
|
});
|
|
113
|
-
if (!
|
|
114
|
-
throw new Error(`Could not start the debugger: ${
|
|
143
|
+
if (!initializeResponse.success) {
|
|
144
|
+
throw new Error(`Could not start the debugger: ${initializeResponse.message}`);
|
|
115
145
|
}
|
|
146
|
+
this._capabilities = initializeResponse.body;
|
|
116
147
|
this._isStarted = true;
|
|
148
|
+
this._exceptionBreakpointFilters =
|
|
149
|
+
(_d = initializeResponse.body) === null || _d === void 0 ? void 0 : _d.exceptionBreakpointFilters;
|
|
117
150
|
await this.sendRequest('attach', {});
|
|
118
151
|
}
|
|
119
152
|
/**
|
|
@@ -130,8 +163,10 @@ export class DebuggerSession {
|
|
|
130
163
|
* Restore the state of a debug session.
|
|
131
164
|
*/
|
|
132
165
|
async restoreState() {
|
|
166
|
+
var _a;
|
|
133
167
|
const message = await this.sendRequest('debugInfo', {});
|
|
134
168
|
this._isStarted = message.body.isStarted;
|
|
169
|
+
this._exceptionPaths = (_a = message.body) === null || _a === void 0 ? void 0 : _a.exceptionPaths;
|
|
135
170
|
return message;
|
|
136
171
|
}
|
|
137
172
|
/**
|
package/lib/session.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAI3D,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEtE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAW,MAAM,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAI3D,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEtE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAW,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAMpD;;GAEG;AACH,MAAM,OAAO,eAAe;IAC1B;;;;OAIG;IACH,YAAY,OAAiC;QAuOrC,SAAI,GAAG,CAAC,CAAC;QACT,WAAM,GAAG,IAAI,eAAe,EAAQ,CAAC;QAGrC,gBAAW,GAAG,KAAK,CAAC;QACpB,eAAU,GAAG,KAAK,CAAC;QACnB,yBAAoB,GAAa,EAAE,CAAC;QACpC,oBAAe,GAAa,EAAE,CAAC;QAC/B,gCAA2B,GAEnB,EAAE,CAAC;QACX,cAAS,GAAG,IAAI,MAAM,CAAa,IAAI,CAAC,CAAC;QACzC,kBAAa,GAAG,IAAI,MAAM,CAGhC,IAAI,CAAC,CA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C;IAC3D,CAAC;IAED;;;;;OAKG;IACK,YAAY,CAClB,MAAkC,EAClC,OAAoC;QAEpC,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC;QACxC,IAAI,OAAO,KAAK,aAAa,EAAE;YAC7B,OAAO;SACR;QACD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAmC,CAAC;QAC1D,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;IAED;;;;OAIG;IACK,KAAK,CAAC,iBAAiB,CAC7B,GAA8C;;QAE9C,MAAM,MAAM,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,CAAC;QACvC,IAAI,CAAC,MAAM,EAAE;YACX,OAAO,OAAO,CAAC,MAAM,CACnB,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAC1D,CAAC;SACH;QACD,MAAM,KAAK,GAAG,IAAI,eAAe,EAAgC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;QACxC,MAAM,CAAC,OAAO,GAAG,CAAC,GAAiC,EAAQ,EAAE;YAC3D,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC,CAAC;QACF,MAAM,MAAM,CAAC,IAAI,CAAC;QAClB,OAAO,KAAK,CAAC,OAAO,CAAC;IACvB,CAAC;CAmBF"}
|
package/lib/sidebar.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { Widget } from '@lumino/widgets';
|
|
|
6
6
|
import { Breakpoints as BreakpointsPanel } from './panels/breakpoints';
|
|
7
7
|
import { Callstack as CallstackPanel } from './panels/callstack';
|
|
8
8
|
import { Sources as SourcesPanel } from './panels/sources';
|
|
9
|
+
import { KernelSources as KernelSourcesPanel } from './panels/kernelSources';
|
|
9
10
|
import { Variables as VariablesPanel } from './panels/variables';
|
|
10
11
|
import { IDebugger } from './tokens';
|
|
11
12
|
/**
|
|
@@ -34,6 +35,7 @@ export declare class DebuggerSidebar extends SidePanel {
|
|
|
34
35
|
* The sources widget.
|
|
35
36
|
*/
|
|
36
37
|
readonly sources: SourcesPanel;
|
|
38
|
+
readonly kernelSources: KernelSourcesPanel;
|
|
37
39
|
}
|
|
38
40
|
/**
|
|
39
41
|
* A namespace for DebuggerSidebar statics
|
|
@@ -51,6 +53,10 @@ export declare namespace DebuggerSidebar {
|
|
|
51
53
|
* The callstack toolbar commands.
|
|
52
54
|
*/
|
|
53
55
|
callstackCommands: CallstackPanel.ICommands;
|
|
56
|
+
/**
|
|
57
|
+
* The callstack toolbar commands.
|
|
58
|
+
*/
|
|
59
|
+
breakpointsCommands: BreakpointsPanel.ICommands;
|
|
54
60
|
/**
|
|
55
61
|
* The editor services.
|
|
56
62
|
*/
|
package/lib/sidebar.js
CHANGED
|
@@ -6,6 +6,7 @@ import { Widget } from '@lumino/widgets';
|
|
|
6
6
|
import { Breakpoints as BreakpointsPanel } from './panels/breakpoints';
|
|
7
7
|
import { Callstack as CallstackPanel } from './panels/callstack';
|
|
8
8
|
import { Sources as SourcesPanel } from './panels/sources';
|
|
9
|
+
import { KernelSources as KernelSourcesPanel } from './panels/kernelSources';
|
|
9
10
|
import { Variables as VariablesPanel } from './panels/variables';
|
|
10
11
|
/**
|
|
11
12
|
* A debugger sidebar.
|
|
@@ -22,7 +23,7 @@ export class DebuggerSidebar extends SidePanel {
|
|
|
22
23
|
this.id = 'jp-debugger-sidebar';
|
|
23
24
|
this.title.icon = bugIcon;
|
|
24
25
|
this.addClass('jp-DebuggerSidebar');
|
|
25
|
-
const { callstackCommands, editorServices, service, themeManager } = options;
|
|
26
|
+
const { callstackCommands, breakpointsCommands, editorServices, service, themeManager } = options;
|
|
26
27
|
const model = service.model;
|
|
27
28
|
this.variables = new VariablesPanel({
|
|
28
29
|
model: model.variables,
|
|
@@ -38,6 +39,7 @@ export class DebuggerSidebar extends SidePanel {
|
|
|
38
39
|
});
|
|
39
40
|
this.breakpoints = new BreakpointsPanel({
|
|
40
41
|
service,
|
|
42
|
+
commands: breakpointsCommands,
|
|
41
43
|
model: model.breakpoints,
|
|
42
44
|
translator
|
|
43
45
|
});
|
|
@@ -47,6 +49,11 @@ export class DebuggerSidebar extends SidePanel {
|
|
|
47
49
|
editorServices,
|
|
48
50
|
translator
|
|
49
51
|
});
|
|
52
|
+
this.kernelSources = new KernelSourcesPanel({
|
|
53
|
+
model: model.kernelSources,
|
|
54
|
+
service,
|
|
55
|
+
translator
|
|
56
|
+
});
|
|
50
57
|
const header = new DebuggerSidebar.Header();
|
|
51
58
|
this.header.addWidget(header);
|
|
52
59
|
model.titleChanged.connect((_, title) => {
|
|
@@ -57,6 +64,7 @@ export class DebuggerSidebar extends SidePanel {
|
|
|
57
64
|
this.addWidget(this.callstack);
|
|
58
65
|
this.addWidget(this.breakpoints);
|
|
59
66
|
this.addWidget(this.sources);
|
|
67
|
+
this.addWidget(this.kernelSources);
|
|
60
68
|
}
|
|
61
69
|
}
|
|
62
70
|
/**
|
package/lib/sidebar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.js","sourceRoot":"","sources":["../src/sidebar.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAM3D,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAEvE,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIjE;;GAEG;AACH,MAAM,OAAO,eAAg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okens.d.ts
CHANGED
|
@@ -18,6 +18,10 @@ export interface IDebugger {
|
|
|
18
18
|
* Whether the current debugger is started.
|
|
19
19
|
*/
|
|
20
20
|
readonly isStarted: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the session is pausing for exceptions.
|
|
23
|
+
*/
|
|
24
|
+
readonly isPausingOnExceptions: boolean;
|
|
21
25
|
/**
|
|
22
26
|
* The debugger service's model.
|
|
23
27
|
*/
|
|
@@ -34,6 +38,14 @@ export interface IDebugger {
|
|
|
34
38
|
* Removes all the breakpoints from the current notebook or console
|
|
35
39
|
*/
|
|
36
40
|
clearBreakpoints(): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Used to determine if kernel has pause on exception capabilities
|
|
43
|
+
*/
|
|
44
|
+
pauseOnExceptionsIsValid(): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Handles enabling and disabling of Pause on Exception
|
|
47
|
+
*/
|
|
48
|
+
pauseOnExceptions(enable: boolean): Promise<void>;
|
|
37
49
|
/**
|
|
38
50
|
* Continues the execution of the current thread.
|
|
39
51
|
*/
|
|
@@ -75,6 +87,10 @@ export interface IDebugger {
|
|
|
75
87
|
* table view.
|
|
76
88
|
*/
|
|
77
89
|
displayDefinedVariables(): Promise<void>;
|
|
90
|
+
/**
|
|
91
|
+
* Requests all the loaded modules and display them.
|
|
92
|
+
*/
|
|
93
|
+
displayModules(): Promise<void>;
|
|
78
94
|
/**
|
|
79
95
|
* Request whether debugging is available for the given session connection.
|
|
80
96
|
*
|
|
@@ -158,6 +174,19 @@ export declare namespace IDebugger {
|
|
|
158
174
|
*/
|
|
159
175
|
path: string;
|
|
160
176
|
};
|
|
177
|
+
/**
|
|
178
|
+
* The type for a kernel source file.
|
|
179
|
+
*/
|
|
180
|
+
type KernelSource = {
|
|
181
|
+
/**
|
|
182
|
+
* The name of the source.
|
|
183
|
+
*/
|
|
184
|
+
name: string;
|
|
185
|
+
/**
|
|
186
|
+
* The path of the source.
|
|
187
|
+
*/
|
|
188
|
+
path: string;
|
|
189
|
+
};
|
|
161
190
|
/**
|
|
162
191
|
* Single breakpoint in an editor.
|
|
163
192
|
*/
|
|
@@ -229,10 +258,26 @@ export declare namespace IDebugger {
|
|
|
229
258
|
* The API session connection to connect to a debugger.
|
|
230
259
|
*/
|
|
231
260
|
connection: Session.ISessionConnection | null;
|
|
261
|
+
/**
|
|
262
|
+
* Returns the initialize response .
|
|
263
|
+
*/
|
|
264
|
+
readonly capabilities: DebugProtocol.Capabilities | undefined;
|
|
232
265
|
/**
|
|
233
266
|
* Whether the debug session is started
|
|
234
267
|
*/
|
|
235
268
|
readonly isStarted: boolean;
|
|
269
|
+
/**
|
|
270
|
+
* Whether the debug session is pausing on exceptions.
|
|
271
|
+
*/
|
|
272
|
+
pausingOnExceptions: string[];
|
|
273
|
+
/**
|
|
274
|
+
* Whether the debug session is pausing on exceptions.
|
|
275
|
+
*/
|
|
276
|
+
exceptionPaths: string[];
|
|
277
|
+
/**
|
|
278
|
+
* Get exception filters and default values.
|
|
279
|
+
*/
|
|
280
|
+
exceptionBreakpointFilters: DebugProtocol.ExceptionBreakpointsFilter[] | undefined;
|
|
236
281
|
/**
|
|
237
282
|
* Signal emitted for debug event messages.
|
|
238
283
|
*/
|
|
@@ -452,9 +497,10 @@ export declare namespace IDebugger {
|
|
|
452
497
|
* Whether the kernel supports variable rich rendering or not.
|
|
453
498
|
*/
|
|
454
499
|
richRendering?: boolean;
|
|
455
|
-
stoppedThreads: number[];
|
|
456
500
|
tmpFilePrefix: string;
|
|
457
501
|
tmpFileSuffix: string;
|
|
502
|
+
stoppedThreads: number[];
|
|
503
|
+
exceptionPaths: string[];
|
|
458
504
|
};
|
|
459
505
|
}
|
|
460
506
|
/**
|
|
@@ -665,6 +711,10 @@ export declare namespace IDebugger {
|
|
|
665
711
|
* The sources UI model.
|
|
666
712
|
*/
|
|
667
713
|
readonly sources: ISources;
|
|
714
|
+
/**
|
|
715
|
+
* The kernel sources UI model.
|
|
716
|
+
*/
|
|
717
|
+
readonly kernelSources: IKernelSources;
|
|
668
718
|
/**
|
|
669
719
|
* The set of threads in stopped state.
|
|
670
720
|
*/
|
|
@@ -707,6 +757,35 @@ export declare namespace IDebugger {
|
|
|
707
757
|
*/
|
|
708
758
|
open(): void;
|
|
709
759
|
}
|
|
760
|
+
/**
|
|
761
|
+
* The kernel sources UI model.
|
|
762
|
+
*/
|
|
763
|
+
interface IKernelSources {
|
|
764
|
+
/**
|
|
765
|
+
* The kernel source.
|
|
766
|
+
*/
|
|
767
|
+
kernelSources: IDebugger.KernelSource[] | null;
|
|
768
|
+
/**
|
|
769
|
+
* The filter to apply.
|
|
770
|
+
*/
|
|
771
|
+
filter: string;
|
|
772
|
+
/**
|
|
773
|
+
* Signal emitted when the kernel sources have changed.
|
|
774
|
+
*/
|
|
775
|
+
readonly changed: ISignal<IDebugger.Model.IKernelSources, IDebugger.KernelSource[] | null>;
|
|
776
|
+
/**
|
|
777
|
+
* Signal emitted when the kernel sources filter has changed.
|
|
778
|
+
*/
|
|
779
|
+
readonly filterChanged: ISignal<IDebugger.Model.IKernelSources, string>;
|
|
780
|
+
/**
|
|
781
|
+
* Signal emitted when a kernel source has be opened in the main area.
|
|
782
|
+
*/
|
|
783
|
+
readonly kernelSourceOpened: ISignal<IDebugger.Model.IKernelSources, IDebugger.Source | null>;
|
|
784
|
+
/**
|
|
785
|
+
* Open a source in the main area.
|
|
786
|
+
*/
|
|
787
|
+
open(source: IDebugger.Source): void;
|
|
788
|
+
}
|
|
710
789
|
/**
|
|
711
790
|
* The variables UI model.
|
|
712
791
|
*/
|
package/lib/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAM3D,OAAO,EAAsB,KAAK,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAM3D,OAAO,EAAsB,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAq9B9D;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,KAAK,CAAY,gCAAgC,CAAC,CAAC;AAEhF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,KAAK,CACtC,sCAAsC,CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,KAAK,CACvC,uCAAuC,CACxC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,KAAK,CACvC,uCAAuC,CACxC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,KAAK,CACvC,uCAAuC,CACxC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/debugger",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.7",
|
|
4
4
|
"description": "JupyterLab - Debugger Extension",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -48,29 +48,30 @@
|
|
|
48
48
|
"watch": "tsc -b --watch"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@jupyterlab/application": "^4.0.0-alpha.
|
|
52
|
-
"@jupyterlab/apputils": "^4.0.0-alpha.
|
|
53
|
-
"@jupyterlab/cells": "^4.0.0-alpha.
|
|
54
|
-
"@jupyterlab/codeeditor": "^4.0.0-alpha.
|
|
55
|
-
"@jupyterlab/codemirror": "^4.0.0-alpha.
|
|
56
|
-
"@jupyterlab/console": "^4.0.0-alpha.
|
|
57
|
-
"@jupyterlab/coreutils": "^6.0.0-alpha.
|
|
58
|
-
"@jupyterlab/docregistry": "^4.0.0-alpha.
|
|
59
|
-
"@jupyterlab/fileeditor": "^4.0.0-alpha.
|
|
60
|
-
"@jupyterlab/notebook": "^4.0.0-alpha.
|
|
61
|
-
"@jupyterlab/observables": "^5.0.0-alpha.
|
|
62
|
-
"@jupyterlab/rendermime": "^4.0.0-alpha.
|
|
63
|
-
"@jupyterlab/services": "^7.0.0-alpha.
|
|
64
|
-
"@jupyterlab/translation": "^4.0.0-alpha.
|
|
65
|
-
"@jupyterlab/ui-components": "^4.0.0-alpha.
|
|
51
|
+
"@jupyterlab/application": "^4.0.0-alpha.7",
|
|
52
|
+
"@jupyterlab/apputils": "^4.0.0-alpha.7",
|
|
53
|
+
"@jupyterlab/cells": "^4.0.0-alpha.7",
|
|
54
|
+
"@jupyterlab/codeeditor": "^4.0.0-alpha.7",
|
|
55
|
+
"@jupyterlab/codemirror": "^4.0.0-alpha.7",
|
|
56
|
+
"@jupyterlab/console": "^4.0.0-alpha.7",
|
|
57
|
+
"@jupyterlab/coreutils": "^6.0.0-alpha.7",
|
|
58
|
+
"@jupyterlab/docregistry": "^4.0.0-alpha.7",
|
|
59
|
+
"@jupyterlab/fileeditor": "^4.0.0-alpha.7",
|
|
60
|
+
"@jupyterlab/notebook": "^4.0.0-alpha.7",
|
|
61
|
+
"@jupyterlab/observables": "^5.0.0-alpha.7",
|
|
62
|
+
"@jupyterlab/rendermime": "^4.0.0-alpha.7",
|
|
63
|
+
"@jupyterlab/services": "^7.0.0-alpha.7",
|
|
64
|
+
"@jupyterlab/translation": "^4.0.0-alpha.7",
|
|
65
|
+
"@jupyterlab/ui-components": "^4.0.0-alpha.22",
|
|
66
66
|
"@lumino/algorithm": "^1.9.1",
|
|
67
|
-
"@lumino/commands": "^1.
|
|
68
|
-
"@lumino/coreutils": "^1.
|
|
69
|
-
"@lumino/datagrid": "^0.
|
|
67
|
+
"@lumino/commands": "^1.20.0",
|
|
68
|
+
"@lumino/coreutils": "^1.12.0",
|
|
69
|
+
"@lumino/datagrid": "^0.35.1",
|
|
70
70
|
"@lumino/disposable": "^1.10.1",
|
|
71
71
|
"@lumino/messaging": "^1.10.1",
|
|
72
|
+
"@lumino/polling": "^1.10.0",
|
|
72
73
|
"@lumino/signaling": "^1.10.1",
|
|
73
|
-
"@lumino/widgets": "^1.
|
|
74
|
+
"@lumino/widgets": "^1.31.1",
|
|
74
75
|
"@vscode/debugprotocol": "^1.51.0",
|
|
75
76
|
"codemirror": "~5.61.0",
|
|
76
77
|
"react": "^17.0.1"
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"devDependencies": {
|
|
79
80
|
"@babel/core": "^7.10.2",
|
|
80
81
|
"@babel/preset-env": "^7.10.2",
|
|
81
|
-
"@jupyterlab/testutils": "^4.0.0-alpha.
|
|
82
|
+
"@jupyterlab/testutils": "^4.0.0-alpha.7",
|
|
82
83
|
"@types/codemirror": "^0.0.109",
|
|
83
84
|
"@types/jest": "^26.0.10",
|
|
84
85
|
"@types/react-dom": "^17.0.0",
|
package/style/base.css
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@import './callstack.css';
|
|
7
7
|
@import './editor.css';
|
|
8
8
|
@import './icons.css';
|
|
9
|
+
@import './kernelSources.css';
|
|
9
10
|
@import './sidebar.css';
|
|
10
11
|
@import './sources.css';
|
|
11
12
|
@import './variables.css';
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
#jp-debugger .jp-switch-label {
|
|
20
|
-
margin-right:
|
|
21
|
+
margin-right: 0;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
.jp-DebuggerBugButton[aria-pressed='true'] path {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g class="jp-icon3" fill="#616161">
|
|
3
|
+
<path d="M5 2H15L20 7V20C20 20.5304 19.7893 21.0391 19.4142 21.4142C19.0391 21.7893 18.5304 22 18 22H5C4.46957 22 3.96086 21.7893 3.58579 21.4142C3.21071 21.0391 3 20.5304 3 20V14H4V16L8 13L4 10V12H3V4C3 3.46957 3.21071 2.96086 3.58579 2.58579C3.96086 2.21071 4.46957 2 5 2ZM12 18H16V16H12V18ZM12 14H18V12H12V14ZM12 10H18V8H12V10ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44771 12 9 12.4477 9 13C9 13.5523 9.44771 14 10 14Z"/>
|
|
4
|
+
<path d="M3 12V14H1V13V12H3Z"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
package/style/icons.css
CHANGED
|
@@ -12,16 +12,17 @@ button.jp-Button.jp-mod-minimal.jp-TreeView.jp-TableView {
|
|
|
12
12
|
width: 35px;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
background-color: var(--jp-layout-
|
|
15
|
+
.jp-ViewModeSelected .jp-Button,
|
|
16
|
+
.jp-PauseOnExceptions.lm-mod-toggled {
|
|
17
|
+
background-color: var(--jp-inverse-layout-color3);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
background-color: var(--jp-layout-
|
|
20
|
+
.jp-ViewModeSelected .jp-Button:hover,
|
|
21
|
+
.jp-PauseOnExceptions.lm-mod-toggled:hover {
|
|
22
|
+
background-color: var(--jp-inverse-layout-color4);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.jp-ViewModeSelected
|
|
26
|
-
|
|
25
|
+
.jp-ViewModeSelected .jp-Button .jp-icon3[fill],
|
|
26
|
+
.jp-PauseOnExceptions.lm-mod-toggled .jp-icon3[fill] {
|
|
27
|
+
fill: var(--jp-layout-color1);
|
|
27
28
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*-----------------------------------------------------------------------------
|
|
2
|
+
| Copyright (c) Jupyter Development Team.
|
|
3
|
+
| Distributed under the terms of the Modified BSD License.
|
|
4
|
+
|----------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
.jp-DebuggerKernelSources {
|
|
7
|
+
min-height: 50px;
|
|
8
|
+
margin-top: 3px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-jp-debugger='true'].jp-Editor .jp-mod-readOnly {
|
|
12
|
+
background: var(--jp-layout-color2);
|
|
13
|
+
height: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.jp-DebuggerKernelSources-body [data-jp-debugger='true'].jp-Editor {
|
|
17
|
+
height: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.jp-DebuggerKernelSources-body {
|
|
21
|
+
height: 100%;
|
|
22
|
+
overflow-y: auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.jp-DebuggerKernelSources-header > div > span {
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
text-overflow: ellipsis;
|
|
29
|
+
white-space: nowrap;
|
|
30
|
+
font-size: var(--jp-ui-font-size0);
|
|
31
|
+
color: var(--jp-ui-font-color1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.jp-DebuggerKernelSource-filterBox {
|
|
35
|
+
padding: 0;
|
|
36
|
+
flex: 0 0 auto;
|
|
37
|
+
margin: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.jp-DebuggerKernelSource-filterBox-hidden {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
package/style/sidebar.css
CHANGED
package/style/variables.css
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.jp-DebuggerVariables-body ul li {
|
|
32
|
-
padding: 5px 0 0
|
|
32
|
+
padding: 5px 0 0;
|
|
33
33
|
cursor: pointer;
|
|
34
34
|
color: var(--jp-content-font-color1);
|
|
35
35
|
display: flex;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
background: none;
|
|
51
51
|
cursor: pointer;
|
|
52
52
|
display: none;
|
|
53
|
-
padding:
|
|
53
|
+
padding: 0 8px;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.jp-DebuggerVariables-body .jp-DebuggerVariables-renderVariable:active {
|