@jupyterlab/debugger 4.0.0-alpha.17 → 4.0.0-alpha.18
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/handler.js +4 -1
- package/lib/handler.js.map +1 -1
- package/lib/icons.d.ts +1 -0
- package/lib/icons.js +5 -0
- package/lib/icons.js.map +1 -1
- package/lib/panels/breakpoints/index.d.ts +2 -2
- package/lib/panels/breakpoints/index.js +8 -6
- package/lib/panels/breakpoints/index.js.map +1 -1
- package/lib/panels/breakpoints/pauseonexceptions.d.ts +53 -0
- package/lib/panels/breakpoints/pauseonexceptions.js +98 -0
- package/lib/panels/breakpoints/pauseonexceptions.js.map +1 -0
- package/lib/panels/variables/tree.d.ts +1 -0
- package/lib/panels/variables/tree.js +134 -48
- package/lib/panels/variables/tree.js.map +1 -1
- package/lib/service.d.ts +16 -6
- package/lib/service.js +46 -51
- package/lib/service.js.map +1 -1
- package/lib/session.d.ts +20 -6
- package/lib/session.js +59 -11
- package/lib/session.js.map +1 -1
- package/lib/tokens.d.ts +32 -10
- package/lib/tokens.js.map +1 -1
- package/package.json +19 -19
- package/style/icons/exceptions.svg +10 -0
- package/style/variables.css +59 -20
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.18",
|
|
4
4
|
"description": "JupyterLab - Debugger Extension",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -50,22 +50,22 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@codemirror/state": "^6.0.0",
|
|
52
52
|
"@codemirror/view": "^6.0.0",
|
|
53
|
-
"@jupyter/ydoc": "
|
|
54
|
-
"@jupyterlab/application": "^4.0.0-alpha.
|
|
55
|
-
"@jupyterlab/apputils": "^4.0.0-alpha.
|
|
56
|
-
"@jupyterlab/cells": "^4.0.0-alpha.
|
|
57
|
-
"@jupyterlab/codeeditor": "^4.0.0-alpha.
|
|
58
|
-
"@jupyterlab/codemirror": "^4.0.0-alpha.
|
|
59
|
-
"@jupyterlab/console": "^4.0.0-alpha.
|
|
60
|
-
"@jupyterlab/coreutils": "^6.0.0-alpha.
|
|
61
|
-
"@jupyterlab/docregistry": "^4.0.0-alpha.
|
|
62
|
-
"@jupyterlab/fileeditor": "^4.0.0-alpha.
|
|
63
|
-
"@jupyterlab/notebook": "^4.0.0-alpha.
|
|
64
|
-
"@jupyterlab/observables": "^5.0.0-alpha.
|
|
65
|
-
"@jupyterlab/rendermime": "^4.0.0-alpha.
|
|
66
|
-
"@jupyterlab/services": "^7.0.0-alpha.
|
|
67
|
-
"@jupyterlab/translation": "^4.0.0-alpha.
|
|
68
|
-
"@jupyterlab/ui-components": "^4.0.0-alpha.
|
|
53
|
+
"@jupyter/ydoc": "^0.3.1",
|
|
54
|
+
"@jupyterlab/application": "^4.0.0-alpha.18",
|
|
55
|
+
"@jupyterlab/apputils": "^4.0.0-alpha.18",
|
|
56
|
+
"@jupyterlab/cells": "^4.0.0-alpha.18",
|
|
57
|
+
"@jupyterlab/codeeditor": "^4.0.0-alpha.18",
|
|
58
|
+
"@jupyterlab/codemirror": "^4.0.0-alpha.18",
|
|
59
|
+
"@jupyterlab/console": "^4.0.0-alpha.18",
|
|
60
|
+
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
|
61
|
+
"@jupyterlab/docregistry": "^4.0.0-alpha.18",
|
|
62
|
+
"@jupyterlab/fileeditor": "^4.0.0-alpha.18",
|
|
63
|
+
"@jupyterlab/notebook": "^4.0.0-alpha.18",
|
|
64
|
+
"@jupyterlab/observables": "^5.0.0-alpha.18",
|
|
65
|
+
"@jupyterlab/rendermime": "^4.0.0-alpha.18",
|
|
66
|
+
"@jupyterlab/services": "^7.0.0-alpha.18",
|
|
67
|
+
"@jupyterlab/translation": "^4.0.0-alpha.18",
|
|
68
|
+
"@jupyterlab/ui-components": "^4.0.0-alpha.33",
|
|
69
69
|
"@lumino/algorithm": "^2.0.0-alpha.6",
|
|
70
70
|
"@lumino/commands": "^2.0.0-alpha.6",
|
|
71
71
|
"@lumino/coreutils": "^2.0.0-alpha.6",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"@lumino/signaling": "^2.0.0-alpha.6",
|
|
77
77
|
"@lumino/widgets": "^2.0.0-alpha.6",
|
|
78
78
|
"@vscode/debugprotocol": "^1.51.0",
|
|
79
|
-
"react": "^
|
|
79
|
+
"react": "^18.2.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@jupyterlab/testing": "^4.0.0-alpha.
|
|
82
|
+
"@jupyterlab/testing": "^4.0.0-alpha.18",
|
|
83
83
|
"@types/jest": "^29.2.0",
|
|
84
84
|
"canvas": "^2.9.1",
|
|
85
85
|
"rimraf": "~3.0.0",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg height="24" width="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g class="jp-icon3" fill="#616161" transform="matrix(1.1999396,0,0,1.3858273,-2.3726971,-4.6347192)">
|
|
3
|
+
<path
|
|
4
|
+
d="M 12.023438,0.30859375 11.158203,1.8085937 -1.2382812,23.285156 l 26.5292972,-0.002 z m 0.002,3.99999995 9.800781,16.9746093 -19.6015626,0.002 z"
|
|
5
|
+
transform="matrix(0.72509832,0,0,0.7247701,3.2918397,3.480876)"
|
|
6
|
+
/>
|
|
7
|
+
<path d="m 11.144475,9.117095 h 1.666751 v 7.215906 h -1.666751 z" />
|
|
8
|
+
<path d="m 11.144475,17.054592 h 1.666751 v 1.443181 h -1.666751 z" />
|
|
9
|
+
</g>
|
|
10
|
+
</svg>
|
package/style/variables.css
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
| Copyright (c) Jupyter Development Team.
|
|
3
3
|
| Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
5
|
.jp-DebuggerVariables {
|
|
7
6
|
display: flex;
|
|
8
7
|
flex-direction: column;
|
|
@@ -16,56 +15,96 @@
|
|
|
16
15
|
flex: 1 1 auto;
|
|
17
16
|
min-height: 24px;
|
|
18
17
|
overflow: auto;
|
|
18
|
+
|
|
19
|
+
/* For absolute positioning of jp-DebuggerVariables-buttons. */
|
|
20
|
+
position: relative;
|
|
19
21
|
}
|
|
20
22
|
|
|
21
|
-
.jp-DebuggerVariables-
|
|
23
|
+
.jp-DebuggerVariables-branch {
|
|
22
24
|
list-style: none;
|
|
23
25
|
margin: 0;
|
|
24
26
|
padding: 0;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
|
-
.jp-DebuggerVariables-body
|
|
29
|
+
.jp-DebuggerVariables-body
|
|
30
|
+
.jp-DebuggerVariables-branch
|
|
31
|
+
.jp-DebuggerVariables-branch {
|
|
32
|
+
grid-area: nested;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.jp-DebuggerVariables-body > .jp-DebuggerVariables-branch {
|
|
28
36
|
padding-top: 0.1em;
|
|
29
37
|
}
|
|
30
38
|
|
|
31
|
-
.jp-DebuggerVariables-
|
|
32
|
-
padding:
|
|
39
|
+
.jp-DebuggerVariables-branch li {
|
|
40
|
+
padding: 3px 0;
|
|
33
41
|
cursor: pointer;
|
|
34
42
|
color: var(--jp-content-font-color1);
|
|
35
|
-
|
|
43
|
+
display: grid;
|
|
44
|
+
grid-template:
|
|
45
|
+
'collapser name detail'
|
|
46
|
+
'nested nested nested';
|
|
47
|
+
grid-template-columns: max-content max-content 1fr;
|
|
36
48
|
}
|
|
37
49
|
|
|
38
|
-
.jp-DebuggerVariables-
|
|
39
|
-
|
|
50
|
+
.jp-DebuggerVariables-branch li:not(:has(li:hover)):hover {
|
|
51
|
+
background: var(--jp-layout-color2);
|
|
40
52
|
}
|
|
41
53
|
|
|
42
|
-
.jp-DebuggerVariables-
|
|
43
|
-
|
|
54
|
+
.jp-DebuggerVariables-collapser {
|
|
55
|
+
width: 16px;
|
|
56
|
+
grid-area: collapser;
|
|
57
|
+
transform: rotate(-90deg);
|
|
58
|
+
transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.jp-DebuggerVariables-collapser.jp-mod-expanded {
|
|
62
|
+
transform: rotate(0);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.jp-DebuggerVariables-buttons {
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: 0;
|
|
68
|
+
right: 8px;
|
|
69
|
+
margin-top: 1px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.jp-DebuggerVariables-name {
|
|
73
|
+
color: var(--jp-mirror-editor-attribute-color);
|
|
74
|
+
grid-area: name;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.jp-DebuggerVariables-name::after {
|
|
78
|
+
content: ':';
|
|
79
|
+
margin-right: 5px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.jp-DebuggerVariables-detail {
|
|
83
|
+
/* detail contains value for primitive types or name of the type otherwise */
|
|
84
|
+
color: var(--jp-mirror-editor-string-color);
|
|
44
85
|
}
|
|
45
86
|
|
|
46
|
-
.jp-DebuggerVariables-
|
|
47
|
-
flex: 0 0 auto;
|
|
87
|
+
.jp-DebuggerVariables-renderVariable {
|
|
48
88
|
border: none;
|
|
49
89
|
background: none;
|
|
50
90
|
cursor: pointer;
|
|
51
|
-
|
|
52
|
-
|
|
91
|
+
transform-origin: center center;
|
|
92
|
+
transition: transform 0.2s cubic-bezier(0.4, 0, 1, 1);
|
|
53
93
|
}
|
|
54
94
|
|
|
55
|
-
.jp-DebuggerVariables-
|
|
56
|
-
transform: scale(1.
|
|
57
|
-
overflow: hidden;
|
|
95
|
+
.jp-DebuggerVariables-renderVariable:active {
|
|
96
|
+
transform: scale(1.35);
|
|
58
97
|
}
|
|
59
98
|
|
|
60
|
-
.jp-DebuggerVariables-
|
|
99
|
+
.jp-DebuggerVariables-renderVariable:hover {
|
|
61
100
|
background-color: var(--jp-layout-color2);
|
|
62
101
|
}
|
|
63
102
|
|
|
64
|
-
.jp-DebuggerVariables-
|
|
103
|
+
.jp-DebuggerVariables-renderVariable:disabled {
|
|
65
104
|
cursor: default;
|
|
66
105
|
}
|
|
67
106
|
|
|
68
|
-
.jp-DebuggerVariables-
|
|
107
|
+
.jp-DebuggerVariables-branch li > .jp-DebuggerVariables-branch {
|
|
69
108
|
margin-left: 12px;
|
|
70
109
|
}
|
|
71
110
|
|