@theia/debug 1.67.0-next.13 → 1.67.0-next.56

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 (344) hide show
  1. package/README.md +1 -1
  2. package/package.json +15 -15
  3. package/src/browser/breakpoint/breakpoint-manager.ts +69 -16
  4. package/src/browser/breakpoint/breakpoint-marker.ts +38 -0
  5. package/src/browser/breakpoint/debug-data-breakpoint-actions.ts +170 -0
  6. package/src/browser/console/debug-console-items.tsx +5 -1
  7. package/src/browser/debug-frontend-application-contribution.ts +19 -0
  8. package/src/browser/debug-frontend-module.ts +2 -0
  9. package/src/browser/debug-session-manager.ts +18 -0
  10. package/src/browser/debug-session.tsx +31 -0
  11. package/src/browser/model/debug-data-breakpoint.tsx +79 -0
  12. package/src/browser/style/index.css +4 -0
  13. package/src/browser/view/debug-breakpoints-source.tsx +4 -10
  14. package/src/browser/view/debug-stack-frames-widget.ts +6 -2
  15. package/src/browser/view/debug-variables-widget.ts +99 -2
  16. package/src/browser/view/debug-view-model.ts +5 -0
  17. package/lib/browser/breakpoint/breakpoint-manager.d.ts +0 -71
  18. package/lib/browser/breakpoint/breakpoint-manager.d.ts.map +0 -1
  19. package/lib/browser/breakpoint/breakpoint-manager.js +0 -321
  20. package/lib/browser/breakpoint/breakpoint-manager.js.map +0 -1
  21. package/lib/browser/breakpoint/breakpoint-marker.d.ts +0 -42
  22. package/lib/browser/breakpoint/breakpoint-marker.d.ts.map +0 -1
  23. package/lib/browser/breakpoint/breakpoint-marker.js +0 -88
  24. package/lib/browser/breakpoint/breakpoint-marker.js.map +0 -1
  25. package/lib/browser/console/debug-console-contribution.d.ts +0 -45
  26. package/lib/browser/console/debug-console-contribution.d.ts.map +0 -1
  27. package/lib/browser/console/debug-console-contribution.js +0 -233
  28. package/lib/browser/console/debug-console-contribution.js.map +0 -1
  29. package/lib/browser/console/debug-console-items.d.ts +0 -97
  30. package/lib/browser/console/debug-console-items.d.ts.map +0 -1
  31. package/lib/browser/console/debug-console-items.js +0 -343
  32. package/lib/browser/console/debug-console-items.js.map +0 -1
  33. package/lib/browser/console/debug-console-session.d.ts +0 -32
  34. package/lib/browser/console/debug-console-session.d.ts.map +0 -1
  35. package/lib/browser/console/debug-console-session.js +0 -192
  36. package/lib/browser/console/debug-console-session.js.map +0 -1
  37. package/lib/browser/debug-call-stack-item-type-key.d.ts +0 -4
  38. package/lib/browser/debug-call-stack-item-type-key.d.ts.map +0 -1
  39. package/lib/browser/debug-call-stack-item-type-key.js +0 -20
  40. package/lib/browser/debug-call-stack-item-type-key.js.map +0 -1
  41. package/lib/browser/debug-configuration-manager.d.ts +0 -103
  42. package/lib/browser/debug-configuration-manager.d.ts.map +0 -1
  43. package/lib/browser/debug-configuration-manager.js +0 -545
  44. package/lib/browser/debug-configuration-manager.js.map +0 -1
  45. package/lib/browser/debug-configuration-model.d.ts +0 -30
  46. package/lib/browser/debug-configuration-model.d.ts.map +0 -1
  47. package/lib/browser/debug-configuration-model.js +0 -80
  48. package/lib/browser/debug-configuration-model.js.map +0 -1
  49. package/lib/browser/debug-contribution.d.ts +0 -23
  50. package/lib/browser/debug-contribution.d.ts.map +0 -1
  51. package/lib/browser/debug-contribution.js +0 -20
  52. package/lib/browser/debug-contribution.js.map +0 -1
  53. package/lib/browser/debug-frontend-application-contribution.d.ts +0 -249
  54. package/lib/browser/debug-frontend-application-contribution.d.ts.map +0 -1
  55. package/lib/browser/debug-frontend-application-contribution.js +0 -1678
  56. package/lib/browser/debug-frontend-application-contribution.js.map +0 -1
  57. package/lib/browser/debug-frontend-module.d.ts +0 -5
  58. package/lib/browser/debug-frontend-module.d.ts.map +0 -1
  59. package/lib/browser/debug-frontend-module.js +0 -110
  60. package/lib/browser/debug-frontend-module.js.map +0 -1
  61. package/lib/browser/debug-package.spec.d.ts +0 -1
  62. package/lib/browser/debug-package.spec.d.ts.map +0 -1
  63. package/lib/browser/debug-package.spec.js +0 -19
  64. package/lib/browser/debug-package.spec.js.map +0 -1
  65. package/lib/browser/debug-prefix-configuration.d.ts +0 -52
  66. package/lib/browser/debug-prefix-configuration.d.ts.map +0 -1
  67. package/lib/browser/debug-prefix-configuration.js +0 -202
  68. package/lib/browser/debug-prefix-configuration.js.map +0 -1
  69. package/lib/browser/debug-resource.d.ts +0 -15
  70. package/lib/browser/debug-resource.d.ts.map +0 -1
  71. package/lib/browser/debug-resource.js +0 -58
  72. package/lib/browser/debug-resource.js.map +0 -1
  73. package/lib/browser/debug-schema-updater.d.ts +0 -14
  74. package/lib/browser/debug-schema-updater.d.ts.map +0 -1
  75. package/lib/browser/debug-schema-updater.js +0 -161
  76. package/lib/browser/debug-schema-updater.js.map +0 -1
  77. package/lib/browser/debug-session-configuration-label-provider.d.ts +0 -11
  78. package/lib/browser/debug-session-configuration-label-provider.d.ts.map +0 -1
  79. package/lib/browser/debug-session-configuration-label-provider.js +0 -48
  80. package/lib/browser/debug-session-configuration-label-provider.js.map +0 -1
  81. package/lib/browser/debug-session-configuration-label-provider.spec.d.ts +0 -2
  82. package/lib/browser/debug-session-configuration-label-provider.spec.d.ts.map +0 -1
  83. package/lib/browser/debug-session-configuration-label-provider.spec.js +0 -84
  84. package/lib/browser/debug-session-configuration-label-provider.spec.js.map +0 -1
  85. package/lib/browser/debug-session-connection.d.ts +0 -111
  86. package/lib/browser/debug-session-connection.d.ts.map +0 -1
  87. package/lib/browser/debug-session-connection.js +0 -259
  88. package/lib/browser/debug-session-connection.js.map +0 -1
  89. package/lib/browser/debug-session-contribution.d.ts +0 -77
  90. package/lib/browser/debug-session-contribution.d.ts.map +0 -1
  91. package/lib/browser/debug-session-contribution.js +0 -143
  92. package/lib/browser/debug-session-contribution.js.map +0 -1
  93. package/lib/browser/debug-session-manager.d.ts +0 -138
  94. package/lib/browser/debug-session-manager.d.ts.map +0 -1
  95. package/lib/browser/debug-session-manager.js +0 -620
  96. package/lib/browser/debug-session-manager.js.map +0 -1
  97. package/lib/browser/debug-session-options.d.ts +0 -56
  98. package/lib/browser/debug-session-options.d.ts.map +0 -1
  99. package/lib/browser/debug-session-options.js +0 -92
  100. package/lib/browser/debug-session-options.js.map +0 -1
  101. package/lib/browser/debug-session.d.ts +0 -192
  102. package/lib/browser/debug-session.d.ts.map +0 -1
  103. package/lib/browser/debug-session.js +0 -913
  104. package/lib/browser/debug-session.js.map +0 -1
  105. package/lib/browser/debug-tab-bar-decorator.d.ts +0 -17
  106. package/lib/browser/debug-tab-bar-decorator.d.ts.map +0 -1
  107. package/lib/browser/debug-tab-bar-decorator.js +0 -63
  108. package/lib/browser/debug-tab-bar-decorator.js.map +0 -1
  109. package/lib/browser/debug-watch-manager.d.ts +0 -22
  110. package/lib/browser/debug-watch-manager.d.ts.map +0 -1
  111. package/lib/browser/debug-watch-manager.js +0 -86
  112. package/lib/browser/debug-watch-manager.js.map +0 -1
  113. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts +0 -7
  114. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts.map +0 -1
  115. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js +0 -39
  116. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js.map +0 -1
  117. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts +0 -20
  118. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts.map +0 -1
  119. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js +0 -111
  120. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js.map +0 -1
  121. package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts +0 -25
  122. package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts.map +0 -1
  123. package/lib/browser/disassembly-view/disassembly-view-contribution.js +0 -124
  124. package/lib/browser/disassembly-view/disassembly-view-contribution.js.map +0 -1
  125. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts +0 -39
  126. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts.map +0 -1
  127. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js +0 -213
  128. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js.map +0 -1
  129. package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts +0 -16
  130. package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts.map +0 -1
  131. package/lib/browser/disassembly-view/disassembly-view-table-delegate.js +0 -39
  132. package/lib/browser/disassembly-view/disassembly-view-table-delegate.js.map +0 -1
  133. package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts +0 -38
  134. package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts.map +0 -1
  135. package/lib/browser/disassembly-view/disassembly-view-utilities.js +0 -18
  136. package/lib/browser/disassembly-view/disassembly-view-utilities.js.map +0 -1
  137. package/lib/browser/disassembly-view/disassembly-view-widget.d.ts +0 -61
  138. package/lib/browser/disassembly-view/disassembly-view-widget.d.ts.map +0 -1
  139. package/lib/browser/disassembly-view/disassembly-view-widget.js +0 -446
  140. package/lib/browser/disassembly-view/disassembly-view-widget.js.map +0 -1
  141. package/lib/browser/editor/debug-breakpoint-widget.d.ts +0 -58
  142. package/lib/browser/editor/debug-breakpoint-widget.d.ts.map +0 -1
  143. package/lib/browser/editor/debug-breakpoint-widget.js +0 -270
  144. package/lib/browser/editor/debug-breakpoint-widget.js.map +0 -1
  145. package/lib/browser/editor/debug-editor-model.d.ts +0 -87
  146. package/lib/browser/editor/debug-editor-model.d.ts.map +0 -1
  147. package/lib/browser/editor/debug-editor-model.js +0 -499
  148. package/lib/browser/editor/debug-editor-model.js.map +0 -1
  149. package/lib/browser/editor/debug-editor-service.d.ts +0 -38
  150. package/lib/browser/editor/debug-editor-service.d.ts.map +0 -1
  151. package/lib/browser/editor/debug-editor-service.js +0 -183
  152. package/lib/browser/editor/debug-editor-service.js.map +0 -1
  153. package/lib/browser/editor/debug-editor.d.ts +0 -4
  154. package/lib/browser/editor/debug-editor.d.ts.map +0 -1
  155. package/lib/browser/editor/debug-editor.js +0 -20
  156. package/lib/browser/editor/debug-editor.js.map +0 -1
  157. package/lib/browser/editor/debug-exception-widget.d.ts +0 -30
  158. package/lib/browser/editor/debug-exception-widget.d.ts.map +0 -1
  159. package/lib/browser/editor/debug-exception-widget.js +0 -107
  160. package/lib/browser/editor/debug-exception-widget.js.map +0 -1
  161. package/lib/browser/editor/debug-expression-provider.d.ts +0 -17
  162. package/lib/browser/editor/debug-expression-provider.d.ts.map +0 -1
  163. package/lib/browser/editor/debug-expression-provider.js +0 -107
  164. package/lib/browser/editor/debug-expression-provider.js.map +0 -1
  165. package/lib/browser/editor/debug-hover-source.d.ts +0 -19
  166. package/lib/browser/editor/debug-hover-source.d.ts.map +0 -1
  167. package/lib/browser/editor/debug-hover-source.js +0 -110
  168. package/lib/browser/editor/debug-hover-source.js.map +0 -1
  169. package/lib/browser/editor/debug-hover-widget.d.ts +0 -61
  170. package/lib/browser/editor/debug-hover-widget.d.ts.map +0 -1
  171. package/lib/browser/editor/debug-hover-widget.js +0 -271
  172. package/lib/browser/editor/debug-hover-widget.js.map +0 -1
  173. package/lib/browser/editor/debug-inline-value-decorator.d.ts +0 -20
  174. package/lib/browser/editor/debug-inline-value-decorator.d.ts.map +0 -1
  175. package/lib/browser/editor/debug-inline-value-decorator.js +0 -326
  176. package/lib/browser/editor/debug-inline-value-decorator.js.map +0 -1
  177. package/lib/browser/model/debug-breakpoint.d.ts +0 -48
  178. package/lib/browser/model/debug-breakpoint.d.ts.map +0 -1
  179. package/lib/browser/model/debug-breakpoint.js +0 -111
  180. package/lib/browser/model/debug-breakpoint.js.map +0 -1
  181. package/lib/browser/model/debug-function-breakpoint.d.ts +0 -19
  182. package/lib/browser/model/debug-function-breakpoint.d.ts.map +0 -1
  183. package/lib/browser/model/debug-function-breakpoint.js +0 -93
  184. package/lib/browser/model/debug-function-breakpoint.js.map +0 -1
  185. package/lib/browser/model/debug-instruction-breakpoint.d.ts +0 -15
  186. package/lib/browser/model/debug-instruction-breakpoint.d.ts.map +0 -1
  187. package/lib/browser/model/debug-instruction-breakpoint.js +0 -66
  188. package/lib/browser/model/debug-instruction-breakpoint.js.map +0 -1
  189. package/lib/browser/model/debug-source-breakpoint.d.ts +0 -39
  190. package/lib/browser/model/debug-source-breakpoint.d.ts.map +0 -1
  191. package/lib/browser/model/debug-source-breakpoint.js +0 -219
  192. package/lib/browser/model/debug-source-breakpoint.js.map +0 -1
  193. package/lib/browser/model/debug-source.d.ts +0 -25
  194. package/lib/browser/model/debug-source.d.ts.map +0 -1
  195. package/lib/browser/model/debug-source.js +0 -81
  196. package/lib/browser/model/debug-source.js.map +0 -1
  197. package/lib/browser/model/debug-stack-frame.d.ts +0 -45
  198. package/lib/browser/model/debug-stack-frame.d.ts.map +0 -1
  199. package/lib/browser/model/debug-stack-frame.js +0 -157
  200. package/lib/browser/model/debug-stack-frame.js.map +0 -1
  201. package/lib/browser/model/debug-thread.d.ts +0 -68
  202. package/lib/browser/model/debug-thread.d.ts.map +0 -1
  203. package/lib/browser/model/debug-thread.js +0 -262
  204. package/lib/browser/model/debug-thread.js.map +0 -1
  205. package/lib/browser/view/debug-action.d.ts +0 -18
  206. package/lib/browser/view/debug-action.d.ts.map +0 -1
  207. package/lib/browser/view/debug-action.js +0 -44
  208. package/lib/browser/view/debug-action.js.map +0 -1
  209. package/lib/browser/view/debug-breakpoints-source.d.ts +0 -10
  210. package/lib/browser/view/debug-breakpoints-source.d.ts.map +0 -1
  211. package/lib/browser/view/debug-breakpoints-source.js +0 -63
  212. package/lib/browser/view/debug-breakpoints-source.js.map +0 -1
  213. package/lib/browser/view/debug-breakpoints-widget.d.ts +0 -23
  214. package/lib/browser/view/debug-breakpoints-widget.d.ts.map +0 -1
  215. package/lib/browser/view/debug-breakpoints-widget.js +0 -81
  216. package/lib/browser/view/debug-breakpoints-widget.js.map +0 -1
  217. package/lib/browser/view/debug-configuration-select.d.ts +0 -67
  218. package/lib/browser/view/debug-configuration-select.d.ts.map +0 -1
  219. package/lib/browser/view/debug-configuration-select.js +0 -212
  220. package/lib/browser/view/debug-configuration-select.js.map +0 -1
  221. package/lib/browser/view/debug-configuration-widget.d.ts +0 -33
  222. package/lib/browser/view/debug-configuration-widget.d.ts.map +0 -1
  223. package/lib/browser/view/debug-configuration-widget.js +0 -137
  224. package/lib/browser/view/debug-configuration-widget.js.map +0 -1
  225. package/lib/browser/view/debug-exception-breakpoint.d.ts +0 -15
  226. package/lib/browser/view/debug-exception-breakpoint.d.ts.map +0 -1
  227. package/lib/browser/view/debug-exception-breakpoint.js +0 -62
  228. package/lib/browser/view/debug-exception-breakpoint.js.map +0 -1
  229. package/lib/browser/view/debug-session-widget.d.ts +0 -29
  230. package/lib/browser/view/debug-session-widget.d.ts.map +0 -1
  231. package/lib/browser/view/debug-session-widget.js +0 -127
  232. package/lib/browser/view/debug-session-widget.js.map +0 -1
  233. package/lib/browser/view/debug-stack-frames-source.d.ts +0 -18
  234. package/lib/browser/view/debug-stack-frames-source.d.ts.map +0 -1
  235. package/lib/browser/view/debug-stack-frames-source.js +0 -83
  236. package/lib/browser/view/debug-stack-frames-source.js.map +0 -1
  237. package/lib/browser/view/debug-stack-frames-widget.d.ts +0 -25
  238. package/lib/browser/view/debug-stack-frames-widget.d.ts.map +0 -1
  239. package/lib/browser/view/debug-stack-frames-widget.js +0 -147
  240. package/lib/browser/view/debug-stack-frames-widget.js.map +0 -1
  241. package/lib/browser/view/debug-threads-source.d.ts +0 -9
  242. package/lib/browser/view/debug-threads-source.d.ts.map +0 -1
  243. package/lib/browser/view/debug-threads-source.js +0 -56
  244. package/lib/browser/view/debug-threads-source.js.map +0 -1
  245. package/lib/browser/view/debug-threads-widget.d.ts +0 -27
  246. package/lib/browser/view/debug-threads-widget.d.ts.map +0 -1
  247. package/lib/browser/view/debug-threads-widget.js +0 -139
  248. package/lib/browser/view/debug-threads-widget.js.map +0 -1
  249. package/lib/browser/view/debug-toolbar-widget.d.ts +0 -34
  250. package/lib/browser/view/debug-toolbar-widget.d.ts.map +0 -1
  251. package/lib/browser/view/debug-toolbar-widget.js +0 -139
  252. package/lib/browser/view/debug-toolbar-widget.js.map +0 -1
  253. package/lib/browser/view/debug-variables-source.d.ts +0 -10
  254. package/lib/browser/view/debug-variables-source.d.ts.map +0 -1
  255. package/lib/browser/view/debug-variables-source.js +0 -53
  256. package/lib/browser/view/debug-variables-source.js.map +0 -1
  257. package/lib/browser/view/debug-variables-widget.d.ts +0 -17
  258. package/lib/browser/view/debug-variables-widget.d.ts.map +0 -1
  259. package/lib/browser/view/debug-variables-widget.js +0 -71
  260. package/lib/browser/view/debug-variables-widget.js.map +0 -1
  261. package/lib/browser/view/debug-view-model.d.ts +0 -53
  262. package/lib/browser/view/debug-view-model.d.ts.map +0 -1
  263. package/lib/browser/view/debug-view-model.js +0 -212
  264. package/lib/browser/view/debug-view-model.js.map +0 -1
  265. package/lib/browser/view/debug-watch-expression.d.ts +0 -33
  266. package/lib/browser/view/debug-watch-expression.d.ts.map +0 -1
  267. package/lib/browser/view/debug-watch-expression.js +0 -93
  268. package/lib/browser/view/debug-watch-expression.js.map +0 -1
  269. package/lib/browser/view/debug-watch-source.d.ts +0 -10
  270. package/lib/browser/view/debug-watch-source.d.ts.map +0 -1
  271. package/lib/browser/view/debug-watch-source.js +0 -51
  272. package/lib/browser/view/debug-watch-source.js.map +0 -1
  273. package/lib/browser/view/debug-watch-widget.d.ts +0 -17
  274. package/lib/browser/view/debug-watch-widget.d.ts.map +0 -1
  275. package/lib/browser/view/debug-watch-widget.js +0 -71
  276. package/lib/browser/view/debug-watch-widget.js.map +0 -1
  277. package/lib/browser/view/debug-widget.d.ts +0 -24
  278. package/lib/browser/view/debug-widget.d.ts.map +0 -1
  279. package/lib/browser/view/debug-widget.js +0 -101
  280. package/lib/browser/view/debug-widget.js.map +0 -1
  281. package/lib/common/debug-adapter-contribution-registry.d.ts +0 -60
  282. package/lib/common/debug-adapter-contribution-registry.d.ts.map +0 -1
  283. package/lib/common/debug-adapter-contribution-registry.js +0 -205
  284. package/lib/common/debug-adapter-contribution-registry.js.map +0 -1
  285. package/lib/common/debug-adapter-session.d.ts +0 -19
  286. package/lib/common/debug-adapter-session.d.ts.map +0 -1
  287. package/lib/common/debug-adapter-session.js +0 -79
  288. package/lib/common/debug-adapter-session.js.map +0 -1
  289. package/lib/common/debug-common.d.ts +0 -2
  290. package/lib/common/debug-common.d.ts.map +0 -1
  291. package/lib/common/debug-common.js +0 -21
  292. package/lib/common/debug-common.js.map +0 -1
  293. package/lib/common/debug-compound.d.ts +0 -15
  294. package/lib/common/debug-compound.d.ts.map +0 -1
  295. package/lib/common/debug-compound.js +0 -28
  296. package/lib/common/debug-compound.js.map +0 -1
  297. package/lib/common/debug-configuration.d.ts +0 -77
  298. package/lib/common/debug-configuration.d.ts.map +0 -1
  299. package/lib/common/debug-configuration.js +0 -32
  300. package/lib/common/debug-configuration.js.map +0 -1
  301. package/lib/common/debug-model.d.ts +0 -153
  302. package/lib/common/debug-model.d.ts.map +0 -1
  303. package/lib/common/debug-model.js +0 -36
  304. package/lib/common/debug-model.js.map +0 -1
  305. package/lib/common/debug-preferences.d.ts +0 -18
  306. package/lib/common/debug-preferences.d.ts.map +0 -1
  307. package/lib/common/debug-preferences.js +0 -89
  308. package/lib/common/debug-preferences.js.map +0 -1
  309. package/lib/common/debug-service.d.ts +0 -124
  310. package/lib/common/debug-service.d.ts.map +0 -1
  311. package/lib/common/debug-service.js +0 -67
  312. package/lib/common/debug-service.js.map +0 -1
  313. package/lib/common/debug-uri-utils.d.ts +0 -24
  314. package/lib/common/debug-uri-utils.d.ts.map +0 -1
  315. package/lib/common/debug-uri-utils.js +0 -27
  316. package/lib/common/debug-uri-utils.js.map +0 -1
  317. package/lib/common/inline-debug-adapter.d.ts +0 -19
  318. package/lib/common/inline-debug-adapter.d.ts.map +0 -1
  319. package/lib/common/inline-debug-adapter.js +0 -45
  320. package/lib/common/inline-debug-adapter.js.map +0 -1
  321. package/lib/common/launch-preferences.d.ts +0 -6
  322. package/lib/common/launch-preferences.d.ts.map +0 -1
  323. package/lib/common/launch-preferences.js +0 -37
  324. package/lib/common/launch-preferences.js.map +0 -1
  325. package/lib/node/debug-adapter-factory.d.ts +0 -20
  326. package/lib/node/debug-adapter-factory.d.ts.map +0 -1
  327. package/lib/node/debug-adapter-factory.js +0 -89
  328. package/lib/node/debug-adapter-factory.js.map +0 -1
  329. package/lib/node/debug-adapter-session-manager.d.ts +0 -38
  330. package/lib/node/debug-adapter-session-manager.d.ts.map +0 -1
  331. package/lib/node/debug-adapter-session-manager.js +0 -104
  332. package/lib/node/debug-adapter-session-manager.js.map +0 -1
  333. package/lib/node/debug-backend-module.d.ts +0 -4
  334. package/lib/node/debug-backend-module.d.ts.map +0 -1
  335. package/lib/node/debug-backend-module.js +0 -45
  336. package/lib/node/debug-backend-module.js.map +0 -1
  337. package/lib/node/debug-service-impl.d.ts +0 -31
  338. package/lib/node/debug-service-impl.d.ts.map +0 -1
  339. package/lib/node/debug-service-impl.js +0 -117
  340. package/lib/node/debug-service-impl.js.map +0 -1
  341. package/lib/node/stream-debug-adapter.d.ts +0 -41
  342. package/lib/node/stream-debug-adapter.d.ts.map +0 -1
  343. package/lib/node/stream-debug-adapter.js +0 -113
  344. package/lib/node/stream-debug-adapter.js.map +0 -1
@@ -1,137 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.DebugConfigurationWidget = void 0;
19
- const tslib_1 = require("tslib");
20
- const browser_1 = require("@theia/core/lib/browser");
21
- const common_1 = require("@theia/core/lib/common");
22
- const inversify_1 = require("@theia/core/shared/inversify");
23
- const React = require("@theia/core/shared/react");
24
- const browser_2 = require("@theia/workspace/lib/browser");
25
- const debug_console_contribution_1 = require("../console/debug-console-contribution");
26
- const debug_configuration_manager_1 = require("../debug-configuration-manager");
27
- const debug_frontend_application_contribution_1 = require("../debug-frontend-application-contribution");
28
- const debug_session_manager_1 = require("../debug-session-manager");
29
- const debug_action_1 = require("./debug-action");
30
- const debug_configuration_select_1 = require("./debug-configuration-select");
31
- const debug_view_model_1 = require("./debug-view-model");
32
- const nls_1 = require("@theia/core/lib/common/nls");
33
- const debug_session_options_1 = require("../debug-session-options");
34
- const debug_session_configuration_label_provider_1 = require("../debug-session-configuration-label-provider");
35
- let DebugConfigurationWidget = class DebugConfigurationWidget extends browser_1.ReactWidget {
36
- constructor() {
37
- super(...arguments);
38
- this.onRender = new common_1.DisposableCollection();
39
- this.setStepRef = (stepRef) => {
40
- this.stepRef = stepRef || undefined;
41
- this.onRender.dispose();
42
- };
43
- this.start = async () => {
44
- let configuration;
45
- try {
46
- configuration = await this.manager.getSelectedConfiguration();
47
- }
48
- catch (e) {
49
- this.messageService.error(e.message);
50
- return;
51
- }
52
- if (debug_session_options_1.DebugSessionOptions.isConfiguration(configuration)) {
53
- configuration.startedByUser = true;
54
- }
55
- this.commandRegistry.executeCommand(debug_frontend_application_contribution_1.DebugCommands.START.id, configuration);
56
- };
57
- this.openConfiguration = () => this.manager.openConfiguration();
58
- this.openConsole = () => this.debugConsole.openView({
59
- activate: true
60
- });
61
- }
62
- init() {
63
- this.addClass('debug-toolbar');
64
- this.toDispose.push(this.manager.onDidChange(() => this.update()));
65
- this.toDispose.push(this.workspaceService.onWorkspaceChanged(() => this.update()));
66
- this.toDispose.push(this.workspaceService.onWorkspaceLocationChanged(() => this.update()));
67
- this.scrollOptions = undefined;
68
- this.update();
69
- }
70
- focus() {
71
- if (!this.doFocus()) {
72
- this.onRender.push(common_1.Disposable.create(() => this.doFocus()));
73
- this.update();
74
- }
75
- }
76
- doFocus() {
77
- if (!this.stepRef) {
78
- return false;
79
- }
80
- this.stepRef.focus();
81
- return true;
82
- }
83
- render() {
84
- return React.createElement(React.Fragment, null,
85
- React.createElement(debug_action_1.DebugAction, { run: this.start, label: nls_1.nls.localizeByDefault('Start Debugging'), iconClass: 'debug-start', ref: this.setStepRef }),
86
- React.createElement(debug_configuration_select_1.DebugConfigurationSelect, { manager: this.manager, quickInputService: this.quickInputService, isMultiRoot: this.workspaceService.isMultiRootWorkspaceOpened, labelProvider: this.sessionConfigurationLabelProvider }),
87
- React.createElement(debug_action_1.DebugAction, { run: this.openConfiguration, label: nls_1.nls.localizeByDefault('Open {0}', '"launch.json"'), iconClass: 'settings-gear' }),
88
- React.createElement(debug_action_1.DebugAction, { run: this.openConsole, label: nls_1.nls.localizeByDefault('Debug Console'), iconClass: 'terminal' }));
89
- }
90
- };
91
- exports.DebugConfigurationWidget = DebugConfigurationWidget;
92
- tslib_1.__decorate([
93
- (0, inversify_1.inject)(common_1.CommandRegistry),
94
- tslib_1.__metadata("design:type", common_1.CommandRegistry)
95
- ], DebugConfigurationWidget.prototype, "commandRegistry", void 0);
96
- tslib_1.__decorate([
97
- (0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
98
- tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
99
- ], DebugConfigurationWidget.prototype, "viewModel", void 0);
100
- tslib_1.__decorate([
101
- (0, inversify_1.inject)(debug_configuration_manager_1.DebugConfigurationManager),
102
- tslib_1.__metadata("design:type", debug_configuration_manager_1.DebugConfigurationManager)
103
- ], DebugConfigurationWidget.prototype, "manager", void 0);
104
- tslib_1.__decorate([
105
- (0, inversify_1.inject)(debug_session_manager_1.DebugSessionManager),
106
- tslib_1.__metadata("design:type", debug_session_manager_1.DebugSessionManager)
107
- ], DebugConfigurationWidget.prototype, "sessionManager", void 0);
108
- tslib_1.__decorate([
109
- (0, inversify_1.inject)(debug_console_contribution_1.DebugConsoleContribution),
110
- tslib_1.__metadata("design:type", debug_console_contribution_1.DebugConsoleContribution)
111
- ], DebugConfigurationWidget.prototype, "debugConsole", void 0);
112
- tslib_1.__decorate([
113
- (0, inversify_1.inject)(browser_1.QuickInputService),
114
- tslib_1.__metadata("design:type", Object)
115
- ], DebugConfigurationWidget.prototype, "quickInputService", void 0);
116
- tslib_1.__decorate([
117
- (0, inversify_1.inject)(browser_2.WorkspaceService),
118
- tslib_1.__metadata("design:type", browser_2.WorkspaceService)
119
- ], DebugConfigurationWidget.prototype, "workspaceService", void 0);
120
- tslib_1.__decorate([
121
- (0, inversify_1.inject)(common_1.MessageService),
122
- tslib_1.__metadata("design:type", common_1.MessageService)
123
- ], DebugConfigurationWidget.prototype, "messageService", void 0);
124
- tslib_1.__decorate([
125
- (0, inversify_1.inject)(debug_session_configuration_label_provider_1.DebugSessionConfigurationLabelProvider),
126
- tslib_1.__metadata("design:type", debug_session_configuration_label_provider_1.DebugSessionConfigurationLabelProvider)
127
- ], DebugConfigurationWidget.prototype, "sessionConfigurationLabelProvider", void 0);
128
- tslib_1.__decorate([
129
- (0, inversify_1.postConstruct)(),
130
- tslib_1.__metadata("design:type", Function),
131
- tslib_1.__metadata("design:paramtypes", []),
132
- tslib_1.__metadata("design:returntype", void 0)
133
- ], DebugConfigurationWidget.prototype, "init", null);
134
- exports.DebugConfigurationWidget = DebugConfigurationWidget = tslib_1.__decorate([
135
- (0, inversify_1.injectable)()
136
- ], DebugConfigurationWidget);
137
- //# sourceMappingURL=debug-configuration-widget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-configuration-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-configuration-widget.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5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AC,mFAAsC,CAAC;sCACO,mFAAsC;mFAAC;AAKnF;IADT,IAAA,yBAAa,GAAE;;;;oDAQf;mCAvCQ,wBAAwB;IADpC,IAAA,sBAAU,GAAE;GACA,wBAAwB,CAiGpC"}
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import * as React from '@theia/core/shared/react';
3
- import { TreeElement } from '@theia/core/lib/browser/source-tree';
4
- import { BreakpointManager } from '../breakpoint/breakpoint-manager';
5
- import { ExceptionBreakpoint } from '../breakpoint/breakpoint-marker';
6
- export declare class DebugExceptionBreakpoint implements TreeElement {
7
- readonly data: ExceptionBreakpoint;
8
- readonly breakpoints: BreakpointManager;
9
- readonly id: string;
10
- constructor(data: ExceptionBreakpoint, breakpoints: BreakpointManager);
11
- render(): React.ReactNode;
12
- protected toggle: () => void;
13
- editCondition(): Promise<void>;
14
- }
15
- //# sourceMappingURL=debug-exception-breakpoint.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-exception-breakpoint.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-exception-breakpoint.tsx"],"names":[],"mappings":";AAgBA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAKtE,qBAAa,wBAAyB,YAAW,WAAW;IAKpD,QAAQ,CAAC,IAAI,EAAE,mBAAmB;IAClC,QAAQ,CAAC,WAAW,EAAE,iBAAiB;IAJ3C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;gBAGP,IAAI,EAAE,mBAAmB,EACzB,WAAW,EAAE,iBAAiB;IAK3C,MAAM,IAAI,KAAK,CAAC,SAAS;IAazB,SAAS,CAAC,MAAM,aAA0E;IAEpF,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;CAiBvC"}
@@ -1,62 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2019 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.DebugExceptionBreakpoint = void 0;
19
- const React = require("@theia/core/shared/react");
20
- const dialogs_1 = require("@theia/core/lib/browser/dialogs");
21
- const browser_1 = require("@theia/core/lib/browser");
22
- const core_1 = require("@theia/core");
23
- class DebugExceptionBreakpoint {
24
- constructor(data, breakpoints) {
25
- this.data = data;
26
- this.breakpoints = breakpoints;
27
- this.toggle = () => this.breakpoints.toggleExceptionBreakpoint(this.data.raw.filter);
28
- this.id = data.raw.filter + ':' + data.raw.label;
29
- }
30
- render() {
31
- return React.createElement("div", { title: this.data.raw.description || this.data.raw.label, className: 'theia-source-breakpoint' },
32
- React.createElement("span", { className: 'theia-debug-breakpoint-icon' }),
33
- React.createElement("input", { type: 'checkbox', checked: this.data.enabled, onChange: this.toggle }),
34
- React.createElement("span", { className: 'line-info' },
35
- React.createElement("span", { className: 'name' },
36
- this.data.raw.label,
37
- " "),
38
- this.data.condition &&
39
- React.createElement("span", { title: core_1.nls.localizeByDefault('Expression condition: {0}', this.data.condition), className: 'path ' + browser_1.TREE_NODE_INFO_CLASS },
40
- this.data.condition,
41
- " ")));
42
- }
43
- async editCondition() {
44
- const inputDialog = new dialogs_1.SingleTextInputDialog({
45
- title: this.data.raw.label,
46
- placeholder: this.data.raw.conditionDescription,
47
- initialValue: this.data.condition
48
- });
49
- let condition = await inputDialog.open();
50
- if (condition === undefined) {
51
- return;
52
- }
53
- if (condition === '') {
54
- condition = undefined;
55
- }
56
- if (condition !== this.data.condition) {
57
- this.breakpoints.updateExceptionBreakpoint(this.data.raw.filter, { condition });
58
- }
59
- }
60
- }
61
- exports.DebugExceptionBreakpoint = DebugExceptionBreakpoint;
62
- //# sourceMappingURL=debug-exception-breakpoint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-exception-breakpoint.js","sourceRoot":"","sources":["../../../src/browser/view/debug-exception-breakpoint.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,kDAAkD;AAIlD,6DAAwE;AACxE,qDAA+D;AAC/D,sCAAkC;AAElC,MAAa,wBAAwB;IAIjC,YACa,IAAyB,EACzB,WAA8B;QAD9B,SAAI,GAAJ,IAAI,CAAqB;QACzB,gBAAW,GAAX,WAAW,CAAmB;QAkBjC,WAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAhBtF,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;IACrD,CAAC;IAED,MAAM;QACF,OAAO,6BAAK,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,EAAC,yBAAyB;YACpG,8BAAM,SAAS,EAAC,6BAA6B,GAAG;YAChD,+BA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core/shared/inversify';
2
- import { Message, ApplicationShell, Widget, BaseWidget, StatefulWidget, ViewContainer, ViewContainerTitleOptions, WidgetManager } from '@theia/core/lib/browser';
3
- import { DebugThreadsWidget } from './debug-threads-widget';
4
- import { DebugStackFramesWidget } from './debug-stack-frames-widget';
5
- import { DebugBreakpointsWidget } from './debug-breakpoints-widget';
6
- import { DebugVariablesWidget } from './debug-variables-widget';
7
- import { DebugToolBar } from './debug-toolbar-widget';
8
- import { DebugViewModel } from './debug-view-model';
9
- import { DebugWatchWidget } from './debug-watch-widget';
10
- import { FrontendApplicationStateService } from '@theia/core/lib/browser/frontend-application-state';
11
- export declare const DEBUG_VIEW_CONTAINER_TITLE_OPTIONS: ViewContainerTitleOptions;
12
- export declare class DebugSessionWidget extends BaseWidget implements StatefulWidget, ApplicationShell.TrackableWidgetProvider {
13
- static createContainer(parent: interfaces.Container): Container;
14
- static createWidget(parent: interfaces.Container): DebugSessionWidget;
15
- static subwidgets: (typeof DebugThreadsWidget | typeof DebugStackFramesWidget | typeof DebugBreakpointsWidget | typeof DebugVariablesWidget | typeof DebugWatchWidget)[];
16
- protected viewContainer: ViewContainer;
17
- protected readonly viewContainerFactory: ViewContainer.Factory;
18
- readonly model: DebugViewModel;
19
- protected readonly toolbar: DebugToolBar;
20
- protected readonly widgetManager: WidgetManager;
21
- protected readonly stateService: FrontendApplicationStateService;
22
- protected init(): void;
23
- protected onActivateRequest(msg: Message): void;
24
- protected onAfterShow(msg: Message): void;
25
- getTrackableWidgets(): Widget[];
26
- storeState(): object;
27
- restoreState(oldState: ViewContainer.State): void;
28
- }
29
- //# sourceMappingURL=debug-session-widget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-session-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-session-widget.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACxG,OAAO,EACH,OAAO,EAAE,gBAAgB,EAAE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,IAAI;cAKrC,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAKlD,mBAAmB,IAAI,MAAM,EAAE;IAI/B,UAAU,IAAI,MAAM;IAIpB,YAAY,CAAC,QAAQ,EAAE,aAAa,CAAC,KAAK,GAAG,IAAI;CAGpD"}
@@ -1,127 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- var DebugSessionWidget_1;
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.DebugSessionWidget = exports.DEBUG_VIEW_CONTAINER_TITLE_OPTIONS = void 0;
20
- const tslib_1 = require("tslib");
21
- const inversify_1 = require("@theia/core/shared/inversify");
22
- const browser_1 = require("@theia/core/lib/browser");
23
- const debug_threads_widget_1 = require("./debug-threads-widget");
24
- const debug_stack_frames_widget_1 = require("./debug-stack-frames-widget");
25
- const debug_breakpoints_widget_1 = require("./debug-breakpoints-widget");
26
- const debug_variables_widget_1 = require("./debug-variables-widget");
27
- const debug_toolbar_widget_1 = require("./debug-toolbar-widget");
28
- const debug_view_model_1 = require("./debug-view-model");
29
- const debug_watch_widget_1 = require("./debug-watch-widget");
30
- const frontend_application_state_1 = require("@theia/core/lib/browser/frontend-application-state");
31
- exports.DEBUG_VIEW_CONTAINER_TITLE_OPTIONS = {
32
- label: 'debug',
33
- iconClass: (0, browser_1.codicon)('debug-alt'),
34
- closeable: true
35
- };
36
- let DebugSessionWidget = DebugSessionWidget_1 = class DebugSessionWidget extends browser_1.BaseWidget {
37
- static createContainer(parent) {
38
- const child = new inversify_1.Container({ defaultScope: 'Singleton' });
39
- child.parent = parent;
40
- child.bind(debug_view_model_1.DebugViewModel).toSelf();
41
- child.bind(debug_toolbar_widget_1.DebugToolBar).toSelf();
42
- child.bind(DebugSessionWidget_1).toSelf();
43
- return child;
44
- }
45
- static createWidget(parent) {
46
- return DebugSessionWidget_1.createContainer(parent).get(DebugSessionWidget_1);
47
- }
48
- init() {
49
- this.id = 'debug:session:' + this.model.id;
50
- this.title.label = this.model.label;
51
- this.title.caption = this.model.label;
52
- this.title.closable = true;
53
- this.title.iconClass = (0, browser_1.codicon)('debug-alt');
54
- this.addClass('theia-session-container');
55
- this.viewContainer = this.viewContainerFactory({
56
- id: 'debug:view-container:' + this.model.id
57
- });
58
- this.viewContainer.setTitleOptions(exports.DEBUG_VIEW_CONTAINER_TITLE_OPTIONS);
59
- this.stateService.reachedState('initialized_layout').then(() => {
60
- for (const subwidget of DebugSessionWidget_1.subwidgets) {
61
- const widgetPromises = [];
62
- const existingWidget = this.widgetManager.tryGetPendingWidget(subwidget.FACTORY_ID);
63
- // No other view container instantiated this widget during startup.
64
- if (!existingWidget) {
65
- widgetPromises.push(this.widgetManager.getOrCreateWidget(subwidget.FACTORY_ID));
66
- }
67
- Promise.all(widgetPromises).then(widgets => widgets.forEach(widget => this.viewContainer.addWidget(widget)));
68
- }
69
- });
70
- this.toDispose.pushAll([
71
- this.toolbar,
72
- this.viewContainer
73
- ]);
74
- const layout = this.layout = new browser_1.PanelLayout();
75
- layout.addWidget(this.toolbar);
76
- layout.addWidget(this.viewContainer);
77
- }
78
- onActivateRequest(msg) {
79
- super.onActivateRequest(msg);
80
- this.toolbar.focus();
81
- }
82
- onAfterShow(msg) {
83
- super.onAfterShow(msg);
84
- this.getTrackableWidgets().forEach(w => w.update());
85
- }
86
- getTrackableWidgets() {
87
- return [this.viewContainer];
88
- }
89
- storeState() {
90
- return this.viewContainer.storeState();
91
- }
92
- restoreState(oldState) {
93
- this.viewContainer.restoreState(oldState);
94
- }
95
- };
96
- exports.DebugSessionWidget = DebugSessionWidget;
97
- DebugSessionWidget.subwidgets = [debug_threads_widget_1.DebugThreadsWidget, debug_stack_frames_widget_1.DebugStackFramesWidget, debug_variables_widget_1.DebugVariablesWidget, debug_watch_widget_1.DebugWatchWidget, debug_breakpoints_widget_1.DebugBreakpointsWidget];
98
- tslib_1.__decorate([
99
- (0, inversify_1.inject)(browser_1.ViewContainer.Factory),
100
- tslib_1.__metadata("design:type", Function)
101
- ], DebugSessionWidget.prototype, "viewContainerFactory", void 0);
102
- tslib_1.__decorate([
103
- (0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
104
- tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
105
- ], DebugSessionWidget.prototype, "model", void 0);
106
- tslib_1.__decorate([
107
- (0, inversify_1.inject)(debug_toolbar_widget_1.DebugToolBar),
108
- tslib_1.__metadata("design:type", debug_toolbar_widget_1.DebugToolBar)
109
- ], DebugSessionWidget.prototype, "toolbar", void 0);
110
- tslib_1.__decorate([
111
- (0, inversify_1.inject)(browser_1.WidgetManager),
112
- tslib_1.__metadata("design:type", browser_1.WidgetManager)
113
- ], DebugSessionWidget.prototype, "widgetManager", void 0);
114
- tslib_1.__decorate([
115
- (0, inversify_1.inject)(frontend_application_state_1.FrontendApplicationStateService),
116
- tslib_1.__metadata("design:type", frontend_application_state_1.FrontendApplicationStateService)
117
- ], DebugSessionWidget.prototype, "stateService", void 0);
118
- tslib_1.__decorate([
119
- (0, inversify_1.postConstruct)(),
120
- tslib_1.__metadata("design:type", Function),
121
- tslib_1.__metadata("design:paramtypes", []),
122
- tslib_1.__metadata("design:returntype", void 0)
123
- ], DebugSessionWidget.prototype, "init", null);
124
- exports.DebugSessionWidget = DebugSessionWidget = DebugSessionWidget_1 = tslib_1.__decorate([
125
- (0, inversify_1.injectable)()
126
- ], DebugSessionWidget);
127
- //# sourceMappingURL=debug-session-widget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-session-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-session-widget.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;;AAEhF,4DAAwG;AACxG,qDAEiC;AACjC,iEAA4D;AAC5D,2EAAqE;AACrE,yEAAoE;AACpE,qEAAgE;AAChE,iEAAsD;AACtD,yDAAoD;AACpD,6DAAwD;AACxD,mGAAqG;AAExF,QAAA,kCAAkC,GAA8B;IACzE,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,IAAA,iBAAO,EAAC,WAAW,CAAC;IAC/B,SAAS,EAAE,IAAI;CAClB,CAAC;AAGK,IAAM,kBAAkB,0BAAxB,MAAM,kBAAmB,SAAQ,oBAAU;IAE9C,MAAM,CAAC,eAAe,CAAC,MAA4B;QAC/C,MAAM,KAAK,GAAG,IAAI,qBAAS,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC,CAAC;QAC3D,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;QACtB,KAAK,CAAC,IAAI,CAAC,iCAAc,CAAC,CAAC,MAAM,EAAE,CAAC;QACpC,KAAK,CAAC,IAAI,CAAC,mCAAY,CAAC,CAAC,MAAM,EAAE,CAAC;QAClC,KAAK,CAAC,IAAI,CAAC,oBAAkB,CAAC,CAAC,MAAM,EAAE,CAAC;QACxC,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,MAA4B;QAC5C,OAAO,oBAAkB,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,oBAAkB,CAAC,CAAC;IAC9E,CAAC;IAmBS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;sCACP,iCAAc;iDAAC;AAGZ;IADlB,IAAA,kBAAM,EAAC,mCAAY,CAAC;sCACO,mCAAY;mDAAC;AAEC;IAAzC,IAAA,kBAAM,EAAC,uBAAa,CAAC;sCAAmC,uBAAa;yDAAC;AACX;IAA3D,IAAA,kBAAM,EAAC,4DAA+B,CAAC;sCAAkC,4DAA+B;wDAAC;AAGhG;IADT,IAAA,yBAAa,GAAE;;;;8CAiCf;6BAhEQ,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CAuF9B"}
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import * as React from '@theia/core/shared/react';
3
- import { TreeSource, TreeElement } from '@theia/core/lib/browser/source-tree';
4
- import { DebugThread } from '../model/debug-thread';
5
- import { DebugViewModel } from './debug-view-model';
6
- export declare class DebugStackFramesSource extends TreeSource {
7
- protected readonly model: DebugViewModel;
8
- protected init(): void;
9
- protected readonly refresh: () => Promise<void>;
10
- getElements(): IterableIterator<TreeElement>;
11
- }
12
- export declare class LoadMoreStackFrames implements TreeElement {
13
- readonly thread: DebugThread;
14
- constructor(thread: DebugThread);
15
- render(): React.ReactNode;
16
- open(): Promise<void>;
17
- }
18
- //# sourceMappingURL=debug-stack-frames-source.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-stack-frames-source.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-stack-frames-source.tsx"],"names":[],"mappings":";AAgBA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIpD,qBACa,sBAAuB,SAAQ,UAAU;IAGlD,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAGzC,SAAS,CAAC,IAAI,IAAI,IAAI;IAKtB,SAAS,CAAC,QAAQ,CAAC,OAAO,sBAA6C;IAEtE,WAAW,IAAI,gBAAgB,CAAC,WAAW,CAAC;CAkBhD;AAED,qBAAa,mBAAoB,YAAW,WAAW;IAG/C,QAAQ,CAAC,MAAM,EAAE,WAAW;gBAAnB,MAAM,EAAE,WAAW;IAGhC,MAAM,IAAI,KAAK,CAAC,SAAS;IAInB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAO9B"}
@@ -1,83 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.LoadMoreStackFrames = exports.DebugStackFramesSource = void 0;
19
- const tslib_1 = require("tslib");
20
- const React = require("@theia/core/shared/react");
21
- const inversify_1 = require("@theia/core/shared/inversify");
22
- const source_tree_1 = require("@theia/core/lib/browser/source-tree");
23
- const debug_view_model_1 = require("./debug-view-model");
24
- const debounce = require("p-debounce");
25
- const core_1 = require("@theia/core");
26
- let DebugStackFramesSource = class DebugStackFramesSource extends source_tree_1.TreeSource {
27
- constructor() {
28
- super(...arguments);
29
- this.refresh = debounce(() => this.fireDidChange(), 100);
30
- }
31
- init() {
32
- this.refresh();
33
- this.toDispose.push(this.model.onDidChange(() => this.refresh()));
34
- }
35
- *getElements() {
36
- const thread = this.model.currentThread;
37
- if (!thread) {
38
- return;
39
- }
40
- yield* thread.frames;
41
- if (thread.stoppedDetails) {
42
- const { framesErrorMessage, totalFrames } = thread.stoppedDetails;
43
- if (framesErrorMessage) {
44
- yield {
45
- render: () => React.createElement("span", { title: framesErrorMessage }, framesErrorMessage)
46
- };
47
- }
48
- if (totalFrames && totalFrames > thread.frameCount) {
49
- yield new LoadMoreStackFrames(thread);
50
- }
51
- }
52
- }
53
- };
54
- exports.DebugStackFramesSource = DebugStackFramesSource;
55
- tslib_1.__decorate([
56
- (0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
57
- tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
58
- ], DebugStackFramesSource.prototype, "model", void 0);
59
- tslib_1.__decorate([
60
- (0, inversify_1.postConstruct)(),
61
- tslib_1.__metadata("design:type", Function),
62
- tslib_1.__metadata("design:paramtypes", []),
63
- tslib_1.__metadata("design:returntype", void 0)
64
- ], DebugStackFramesSource.prototype, "init", null);
65
- exports.DebugStackFramesSource = DebugStackFramesSource = tslib_1.__decorate([
66
- (0, inversify_1.injectable)()
67
- ], DebugStackFramesSource);
68
- class LoadMoreStackFrames {
69
- constructor(thread) {
70
- this.thread = thread;
71
- }
72
- render() {
73
- return React.createElement("span", { className: 'theia-load-more-frames' }, core_1.nls.localizeByDefault('Load More Stack Frames'));
74
- }
75
- async open() {
76
- const frames = await this.thread.fetchFrames();
77
- if (frames[0]) {
78
- this.thread.currentFrame = frames[0];
79
- }
80
- }
81
- }
82
- exports.LoadMoreStackFrames = LoadMoreStackFrames;
83
- //# sourceMappingURL=debug-stack-frames-source.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-stack-frames-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-stack-frames-source.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;A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AIf;iCATQ,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CA+BlC;AAED,MAAa,mBAAmB;IAE5B,YACa,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAC5B,CAAC;IAEL,MAAM;QACF,OAAO,8BAAM,SAAS,EAAC,wBAAwB,IAAE,UAAG,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,CAAQ,CAAC;IAC7G,CAAC;IAED,KAAK,CAAC,IAAI;QACN,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAC/C,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;YACZ,IAAI,CAAC,MAAM,CAAC,YAAY,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;QACzC,CAAC;IACL,CAAC;CAEJ;AAjBD,kDAiBC"}
@@ -1,25 +0,0 @@
1
- /// <reference types="react" />
2
- import { interfaces, Container } from '@theia/core/shared/inversify';
3
- import { MenuPath } from '@theia/core';
4
- import { TreeNode, NodeProps, SelectableTreeNode } from '@theia/core/lib/browser';
5
- import { SourceTreeWidget } from '@theia/core/lib/browser/source-tree';
6
- import { DebugStackFramesSource } from './debug-stack-frames-source';
7
- import { DebugViewModel } from './debug-view-model';
8
- import { DebugCallStackItemTypeKey } from '../debug-call-stack-item-type-key';
9
- export declare class DebugStackFramesWidget extends SourceTreeWidget {
10
- static CONTEXT_MENU: MenuPath;
11
- static FACTORY_ID: string;
12
- static createContainer(parent: interfaces.Container): Container;
13
- static createWidget(parent: interfaces.Container): DebugStackFramesWidget;
14
- protected readonly frames: DebugStackFramesSource;
15
- protected readonly viewModel: DebugViewModel;
16
- protected readonly debugCallStackItemTypeKey: DebugCallStackItemTypeKey;
17
- protected init(): void;
18
- protected updatingSelection: boolean;
19
- protected updateWidgetSelection(): Promise<void>;
20
- protected updateModelSelection(): Promise<void>;
21
- protected toContextMenuArgs(node: SelectableTreeNode): [string | number] | undefined;
22
- protected tapNode(node?: TreeNode): void;
23
- protected getDefaultNodeStyle(node: TreeNode, props: NodeProps): React.CSSProperties | undefined;
24
- }
25
- //# sourceMappingURL=debug-stack-frames-widget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-stack-frames-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-stack-frames-widget.ts"],"names":[],"mappings":";AAgBA,OAAO,EAAqC,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACxG,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAmB,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAuB,MAAM,6BAA6B,CAAC;AAE1F,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAG9E,qBACa,sBAAuB,SAAQ,gBAAgB;IAExD,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAiC;IAC9D,MAAM,CAAC,UAAU,SAAkB;WACnB,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS;IAWxE,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,sBAAsB;IAKzE,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC;IAGlD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IAG7C,SAAS,CAAC,QAAQ,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;cAGrD,IAAI,IAAI,IAAI;IAY/B,SAAS,CAAC,iBAAiB,UAAS;cACpB,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC;cAiBtC,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;cAkBlC,iBAAiB,C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