@jupyterlab/debugger 3.3.0-alpha.7 → 3.3.0-rc.0

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.
Files changed (96) hide show
  1. package/lib/debugger.d.ts +2 -1
  2. package/lib/debugger.js +3 -2
  3. package/lib/debugger.js.map +1 -1
  4. package/lib/handler.d.ts +1 -1
  5. package/lib/handler.js +16 -5
  6. package/lib/handler.js.map +1 -1
  7. package/lib/handlers/editor.d.ts +8 -0
  8. package/lib/handlers/editor.js +12 -0
  9. package/lib/handlers/editor.js.map +1 -1
  10. package/lib/handlers/file.d.ts +1 -0
  11. package/lib/handlers/file.js +6 -1
  12. package/lib/handlers/file.js.map +1 -1
  13. package/lib/handlers/notebook.js +12 -2
  14. package/lib/handlers/notebook.js.map +1 -1
  15. package/lib/icons.d.ts +2 -0
  16. package/lib/icons.js +10 -0
  17. package/lib/icons.js.map +1 -1
  18. package/lib/model.d.ts +5 -0
  19. package/lib/model.js +3 -0
  20. package/lib/model.js.map +1 -1
  21. package/lib/panels/breakpoints/body.d.ts +1 -1
  22. package/lib/panels/breakpoints/body.js +1 -1
  23. package/lib/panels/breakpoints/body.js.map +1 -1
  24. package/lib/panels/breakpoints/header.d.ts +1 -1
  25. package/lib/panels/breakpoints/header.js +1 -1
  26. package/lib/panels/breakpoints/header.js.map +1 -1
  27. package/lib/panels/breakpoints/index.d.ts +18 -0
  28. package/lib/panels/breakpoints/index.js +11 -5
  29. package/lib/panels/breakpoints/index.js.map +1 -1
  30. package/lib/panels/callstack/body.d.ts +1 -1
  31. package/lib/panels/callstack/body.js +2 -2
  32. package/lib/panels/callstack/body.js.map +1 -1
  33. package/lib/panels/callstack/header.d.ts +1 -1
  34. package/lib/panels/callstack/header.js +1 -1
  35. package/lib/panels/callstack/header.js.map +1 -1
  36. package/lib/panels/callstack/index.js +1 -1
  37. package/lib/panels/callstack/index.js.map +1 -1
  38. package/lib/panels/kernelSources/body.d.ts +47 -0
  39. package/lib/panels/kernelSources/body.js +86 -0
  40. package/lib/panels/kernelSources/body.js.map +1 -0
  41. package/lib/panels/kernelSources/filter.d.ts +12 -0
  42. package/lib/panels/kernelSources/filter.js +19 -0
  43. package/lib/panels/kernelSources/filter.js.map +1 -0
  44. package/lib/panels/kernelSources/header.d.ts +19 -0
  45. package/lib/panels/kernelSources/header.js +33 -0
  46. package/lib/panels/kernelSources/header.js.map +1 -0
  47. package/lib/panels/kernelSources/index.d.ts +39 -0
  48. package/lib/panels/kernelSources/index.js +59 -0
  49. package/lib/panels/kernelSources/index.js.map +1 -0
  50. package/lib/panels/kernelSources/model.d.ts +64 -0
  51. package/lib/panels/kernelSources/model.js +102 -0
  52. package/lib/panels/kernelSources/model.js.map +1 -0
  53. package/lib/panels/sources/header.d.ts +1 -1
  54. package/lib/panels/sources/header.js +1 -1
  55. package/lib/panels/sources/header.js.map +1 -1
  56. package/lib/panels/sources/index.js +1 -1
  57. package/lib/panels/sources/index.js.map +1 -1
  58. package/lib/panels/variables/grid.d.ts +0 -4
  59. package/lib/panels/variables/grid.js +4 -16
  60. package/lib/panels/variables/grid.js.map +1 -1
  61. package/lib/panels/variables/header.d.ts +1 -1
  62. package/lib/panels/variables/header.js +1 -1
  63. package/lib/panels/variables/header.js.map +1 -1
  64. package/lib/panels/variables/index.d.ts +1 -9
  65. package/lib/panels/variables/index.js +3 -16
  66. package/lib/panels/variables/index.js.map +1 -1
  67. package/lib/panels/variables/mimerenderer.d.ts +15 -2
  68. package/lib/panels/variables/mimerenderer.js +48 -17
  69. package/lib/panels/variables/mimerenderer.js.map +1 -1
  70. package/lib/panels/variables/model.d.ts +3 -0
  71. package/lib/panels/variables/model.js +7 -0
  72. package/lib/panels/variables/model.js.map +1 -1
  73. package/lib/panels/variables/scope.d.ts +1 -1
  74. package/lib/panels/variables/scope.js +2 -1
  75. package/lib/panels/variables/scope.js.map +1 -1
  76. package/lib/panels/variables/tree.d.ts +2 -6
  77. package/lib/panels/variables/tree.js +14 -12
  78. package/lib/panels/variables/tree.js.map +1 -1
  79. package/lib/service.d.ts +17 -1
  80. package/lib/service.js +98 -12
  81. package/lib/service.js.map +1 -1
  82. package/lib/session.d.ts +23 -1
  83. package/lib/session.js +39 -5
  84. package/lib/session.js.map +1 -1
  85. package/lib/sidebar.d.ts +9 -0
  86. package/lib/sidebar.js +9 -1
  87. package/lib/sidebar.js.map +1 -1
  88. package/lib/tokens.d.ts +93 -25
  89. package/lib/tokens.js.map +1 -1
  90. package/package.json +22 -21
  91. package/style/base.css +1 -0
  92. package/style/icons/open-kernel-source.svg +6 -0
  93. package/style/icons/pause.svg +6 -0
  94. package/style/icons.css +10 -0
  95. package/style/kernelSources.css +42 -0
  96. package/style/variables.css +14 -0
package/lib/tokens.d.ts CHANGED
@@ -4,7 +4,7 @@ import { ReadonlyJSONObject, Token } from '@lumino/coreutils';
4
4
  import { IObservableDisposable } from '@lumino/disposable';
5
5
  import { ISignal, Signal } from '@lumino/signaling';
6
6
  import { Widget } from '@lumino/widgets';
7
- import { DebugProtocol } from 'vscode-debugprotocol';
7
+ import { DebugProtocol } from '@vscode/debugprotocol';
8
8
  import { DebuggerHandler } from './handler';
9
9
  /**
10
10
  * An interface describing an application's visual debugger.
@@ -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
  */
@@ -66,10 +78,10 @@ export interface IDebugger {
66
78
  * Request rich representation of a variable.
67
79
  *
68
80
  * @param variableName The variable name to request
69
- * @param variablesReference The variable reference to request
81
+ * @param frameId The current frame id in which to request the variable
70
82
  * @returns The mime renderer data model
71
83
  */
72
- inspectRichVariable(variableName: string, variablesReference?: number): Promise<IDebugger.IRichVariable>;
84
+ inspectRichVariable(variableName: string, frameId?: number): Promise<IDebugger.IRichVariable>;
73
85
  /**
74
86
  * Requests all the defined variables and display them in the
75
87
  * table view.
@@ -85,6 +97,10 @@ export interface IDebugger {
85
97
  * Makes the current thread run again for one step.
86
98
  */
87
99
  next(): Promise<void>;
100
+ /**
101
+ * Requests all the loaded modules and display them.
102
+ */
103
+ displayModules(): Promise<void>;
88
104
  /**
89
105
  * Restart the debugger.
90
106
  * Precondition: isStarted
@@ -173,6 +189,19 @@ export declare namespace IDebugger {
173
189
  */
174
190
  breakpoints: Map<string, IDebugger.IBreakpoint[]>;
175
191
  };
192
+ /**
193
+ * The type for a kernel source file.
194
+ */
195
+ type KernelSource = {
196
+ /**
197
+ * The name of the source.
198
+ */
199
+ name: string;
200
+ /**
201
+ * The path of the source.
202
+ */
203
+ path: string;
204
+ };
176
205
  /**
177
206
  * Debugger file and hashing configuration.
178
207
  */
@@ -229,10 +258,23 @@ export declare namespace IDebugger {
229
258
  * The API session connection to connect to a debugger.
230
259
  */
231
260
  connection: Session.ISessionConnection | null;
261
+ readonly capabilities: DebugProtocol.Capabilities | undefined;
232
262
  /**
233
- * Whether the debug session is started
263
+ * Whether the debug session is started.
234
264
  */
235
265
  readonly isStarted: boolean;
266
+ /**
267
+ * Whether the debug session is pausing on exceptions.
268
+ */
269
+ pausingOnExceptions: string[];
270
+ /**
271
+ * Whether the debug session is pausing on exceptions.
272
+ */
273
+ exceptionPaths: string[];
274
+ /**
275
+ * Get exception filters and default values.
276
+ */
277
+ exceptionBreakpointFilters: DebugProtocol.ExceptionBreakpointsFilter[] | undefined;
236
278
  /**
237
279
  * Signal emitted for debug event messages.
238
280
  */
@@ -352,7 +394,7 @@ export declare namespace IDebugger {
352
394
  completions: DebugProtocol.CompletionsArguments;
353
395
  configurationDone: DebugProtocol.ConfigurationDoneArguments;
354
396
  continue: DebugProtocol.ContinueArguments;
355
- debugInfo: Record<string, never>;
397
+ debugInfo: {};
356
398
  disconnect: DebugProtocol.DisconnectArguments;
357
399
  dumpCell: IDumpCellArguments;
358
400
  evaluate: DebugProtocol.EvaluateArguments;
@@ -360,7 +402,7 @@ export declare namespace IDebugger {
360
402
  goto: DebugProtocol.GotoArguments;
361
403
  gotoTargets: DebugProtocol.GotoTargetsArguments;
362
404
  initialize: DebugProtocol.InitializeRequestArguments;
363
- inspectVariables: Record<string, never>;
405
+ inspectVariables: {};
364
406
  launch: DebugProtocol.LaunchRequestArguments;
365
407
  loadedSources: DebugProtocol.LoadedSourcesArguments;
366
408
  modules: DebugProtocol.ModulesArguments;
@@ -384,7 +426,7 @@ export declare namespace IDebugger {
384
426
  stepOut: DebugProtocol.StepOutArguments;
385
427
  terminate: DebugProtocol.TerminateArguments;
386
428
  terminateThreads: DebugProtocol.TerminateThreadsArguments;
387
- threads: Record<string, never>;
429
+ threads: {};
388
430
  variables: DebugProtocol.VariablesArguments;
389
431
  };
390
432
  /**
@@ -452,9 +494,10 @@ export declare namespace IDebugger {
452
494
  * Whether the kernel supports variable rich rendering or not.
453
495
  */
454
496
  richRendering?: boolean;
455
- stoppedThreads: number[];
456
497
  tmpFilePrefix: string;
457
498
  tmpFileSuffix: string;
499
+ stoppedThreads: number[];
500
+ exceptionPaths: string[];
458
501
  };
459
502
  }
460
503
  /**
@@ -520,30 +563,18 @@ export declare namespace IDebugger {
520
563
  }
521
564
  /**
522
565
  * Select variable in the variables explorer.
566
+ *
567
+ * @hidden
568
+ *
569
+ * #### Notes
570
+ * This is experimental API
523
571
  */
524
572
  interface IVariableSelection extends Pick<DebugProtocol.Variable, 'name' | 'type' | 'variablesReference' | 'value'> {
525
573
  }
526
- /**
527
- * Debugger variables explorer interface.
528
- */
529
- interface IVariablesPanel {
530
- /**
531
- * Select variable in the variables explorer.
532
- */
533
- latestSelection: IVariableSelection | null;
534
- /**
535
- * Variable view mode.
536
- */
537
- viewMode: 'tree' | 'table';
538
- }
539
574
  /**
540
575
  * Debugger sidebar interface.
541
576
  */
542
577
  interface ISidebar extends Widget {
543
- /**
544
- * Debugger variables explorer.
545
- */
546
- variables: IVariablesPanel;
547
578
  /**
548
579
  * Add item at the end of the sidebar.
549
580
  */
@@ -689,6 +720,10 @@ export declare namespace IDebugger {
689
720
  * The sources UI model.
690
721
  */
691
722
  readonly sources: ISources;
723
+ /**
724
+ * The kernel sources UI model.
725
+ */
726
+ readonly kernelSources: IKernelSources;
692
727
  /**
693
728
  * The set of threads in stopped state.
694
729
  */
@@ -731,6 +766,35 @@ export declare namespace IDebugger {
731
766
  */
732
767
  open(): void;
733
768
  }
769
+ /**
770
+ * The kernel sources UI model.
771
+ */
772
+ interface IKernelSources {
773
+ /**
774
+ * The kernel source.
775
+ */
776
+ kernelSources: IDebugger.KernelSource[] | null;
777
+ /**
778
+ * The filter to apply.
779
+ */
780
+ filter: string;
781
+ /**
782
+ * Signal emitted when the kernel sources have changed.
783
+ */
784
+ readonly changed: ISignal<IDebugger.Model.IKernelSources, IDebugger.KernelSource[] | null>;
785
+ /**
786
+ * Signal emitted when the kernel sources filter has changed.
787
+ */
788
+ readonly filterChanged: ISignal<IDebugger.Model.IKernelSources, string>;
789
+ /**
790
+ * Signal emitted when a kernel source has be opened in the main area.
791
+ */
792
+ readonly kernelSourceOpened: ISignal<IDebugger.Model.IKernelSources, IDebugger.Source | null>;
793
+ /**
794
+ * Open a source in the main area.
795
+ */
796
+ open(source: IDebugger.Source): void;
797
+ }
734
798
  /**
735
799
  * The variables UI model.
736
800
  */
@@ -747,6 +811,10 @@ export declare namespace IDebugger {
747
811
  * Signal emitted when the current variable has been expanded.
748
812
  */
749
813
  readonly variableExpanded: ISignal<this, IDebugger.IVariable>;
814
+ /**
815
+ * Selected variable in the variables explorer.
816
+ */
817
+ selectedVariable: IVariableSelection | null;
750
818
  /**
751
819
  * Expand a variable.
752
820
  *
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;AAq4B9D;;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"}
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;AAo+B9D;;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": "3.3.0-alpha.7",
3
+ "version": "3.3.0-rc.0",
4
4
  "description": "JupyterLab - Debugger Extension",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -48,37 +48,38 @@
48
48
  "watch": "tsc -b --watch"
49
49
  },
50
50
  "dependencies": {
51
- "@jupyterlab/application": "^3.3.0-alpha.7",
52
- "@jupyterlab/apputils": "^3.3.0-alpha.7",
53
- "@jupyterlab/cells": "^3.3.0-alpha.7",
54
- "@jupyterlab/codeeditor": "^3.3.0-alpha.7",
55
- "@jupyterlab/codemirror": "^3.3.0-alpha.7",
56
- "@jupyterlab/console": "^3.3.0-alpha.7",
57
- "@jupyterlab/coreutils": "^5.3.0-alpha.7",
58
- "@jupyterlab/docregistry": "^3.3.0-alpha.7",
59
- "@jupyterlab/fileeditor": "^3.3.0-alpha.7",
60
- "@jupyterlab/notebook": "^3.3.0-alpha.7",
61
- "@jupyterlab/observables": "^4.3.0-alpha.7",
62
- "@jupyterlab/rendermime": "^3.3.0-alpha.7",
63
- "@jupyterlab/services": "^6.3.0-alpha.7",
64
- "@jupyterlab/translation": "^3.3.0-alpha.7",
65
- "@jupyterlab/ui-components": "^3.3.0-alpha.7",
51
+ "@jupyterlab/application": "^3.3.0-rc.0",
52
+ "@jupyterlab/apputils": "^3.3.0-rc.0",
53
+ "@jupyterlab/cells": "^3.3.0-rc.0",
54
+ "@jupyterlab/codeeditor": "^3.3.0-rc.0",
55
+ "@jupyterlab/codemirror": "^3.3.0-rc.0",
56
+ "@jupyterlab/console": "^3.3.0-rc.0",
57
+ "@jupyterlab/coreutils": "^5.3.0-rc.0",
58
+ "@jupyterlab/docregistry": "^3.3.0-rc.0",
59
+ "@jupyterlab/fileeditor": "^3.3.0-rc.0",
60
+ "@jupyterlab/notebook": "^3.3.0-rc.0",
61
+ "@jupyterlab/observables": "^4.3.0-rc.0",
62
+ "@jupyterlab/rendermime": "^3.3.0-rc.0",
63
+ "@jupyterlab/services": "^6.3.0-rc.0",
64
+ "@jupyterlab/translation": "^3.3.0-rc.0",
65
+ "@jupyterlab/ui-components": "^3.3.0-rc.0",
66
66
  "@lumino/algorithm": "^1.3.3",
67
67
  "@lumino/commands": "^1.12.0",
68
68
  "@lumino/coreutils": "^1.5.3",
69
- "@lumino/datagrid": "^0.28.0",
69
+ "@lumino/datagrid": "^0.20.0",
70
70
  "@lumino/disposable": "^1.4.3",
71
71
  "@lumino/messaging": "^1.4.3",
72
+ "@lumino/polling": "^1.3.3",
72
73
  "@lumino/signaling": "^1.4.3",
73
- "@lumino/widgets": "^1.26.0",
74
+ "@lumino/widgets": "^1.19.0",
75
+ "@vscode/debugprotocol": "^1.51.0",
74
76
  "codemirror": "~5.61.0",
75
- "react": "^17.0.1",
76
- "vscode-debugprotocol": "^1.37.0"
77
+ "react": "^17.0.1"
77
78
  },
78
79
  "devDependencies": {
79
80
  "@babel/core": "^7.10.2",
80
81
  "@babel/preset-env": "^7.10.2",
81
- "@jupyterlab/testutils": "^3.3.0-alpha.7",
82
+ "@jupyterlab/testutils": "^3.3.0-rc.0",
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
@@ -8,6 +8,7 @@
8
8
  @import './icons.css';
9
9
  @import './sidebar.css';
10
10
  @import './sources.css';
11
+ @import './kernelSources.css';
11
12
  @import './variables.css';
12
13
 
13
14
  .jp-left-truncated {
@@ -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>
@@ -0,0 +1,6 @@
1
+ <svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
2
+ <g class="jp-icon3" fill="#616161">
3
+ <path d="m 7,6 h 4 V 18 H 7 Z" />
4
+ <path d="m 13,6 h 4 v 12 h -4 z" />
5
+ </g>
6
+ </svg>
package/style/icons.css CHANGED
@@ -25,3 +25,13 @@ button.jp-Button.bp3-button.bp3-minimal.jp-TableView:hover {
25
25
  .jp-ViewModeSelected {
26
26
  background-color: var(--jp-layout-color1);
27
27
  }
28
+
29
+ /* Pause on exceptions */
30
+ button.jp-Button.jp-mod-minimal.jp-PauseOnExceptions:hover {
31
+ cursor: pointer;
32
+ background-color: var(--jp-layout-color1);
33
+ }
34
+
35
+ button.jp-Button.jp-PauseOnExceptions.lm-mod-toggled {
36
+ background-color: var(--jp-layout-color1);
37
+ }
@@ -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: 0px;
36
+ flex: 0 0 auto;
37
+ margin: 0px 0px 0px 0px;
38
+ }
39
+
40
+ .jp-DebuggerKernelSource-filterBox-hidden {
41
+ display: none;
42
+ }
@@ -116,3 +116,17 @@
116
116
  .jp-DebuggerVariables-colorPalette .jp-mod-text {
117
117
  color: var(--jp-content-font-color0);
118
118
  }
119
+
120
+ .jp-VariableRenderer-TrustButton[aria-pressed='true'] {
121
+ box-shadow: inset 0 var(--jp-border-width) 4px
122
+ rgba(
123
+ var(--jp-shadow-base-lightness),
124
+ var(--jp-shadow-base-lightness),
125
+ var(--jp-shadow-base-lightness),
126
+ 0.6
127
+ );
128
+ }
129
+
130
+ .jp-DebuggerRichVariable div[data-mime-type='text/plain'] > pre {
131
+ white-space: normal;
132
+ }