@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,51 +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.DebugWatchSource = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const source_tree_1 = require("@theia/core/lib/browser/source-tree");
22
- const debug_view_model_1 = require("./debug-view-model");
23
- const debounce = require("p-debounce");
24
- let DebugWatchSource = class DebugWatchSource extends source_tree_1.TreeSource {
25
- constructor() {
26
- super(...arguments);
27
- this.refresh = debounce(() => this.fireDidChange(), 100);
28
- }
29
- init() {
30
- this.refresh();
31
- this.toDispose.push(this.model.onDidChangeWatchExpressions(() => this.refresh()));
32
- }
33
- async getElements() {
34
- return this.model.watchExpressions[Symbol.iterator]();
35
- }
36
- };
37
- exports.DebugWatchSource = DebugWatchSource;
38
- tslib_1.__decorate([
39
- (0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
40
- tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
41
- ], DebugWatchSource.prototype, "model", void 0);
42
- tslib_1.__decorate([
43
- (0, inversify_1.postConstruct)(),
44
- tslib_1.__metadata("design:type", Function),
45
- tslib_1.__metadata("design:paramtypes", []),
46
- tslib_1.__metadata("design:returntype", void 0)
47
- ], DebugWatchSource.prototype, "init", null);
48
- exports.DebugWatchSource = DebugWatchSource = tslib_1.__decorate([
49
- (0, inversify_1.injectable)()
50
- ], DebugWatchSource);
51
- //# sourceMappingURL=debug-watch-source.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-watch-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-watch-source.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,4DAAiF;AACjF,qEAAiE;AACjE,yDAAoD;AAEpD,uCAAwC;AAGjC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,wBAAU;IAAzC;;QAWgB,YAAO,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,GAAG,CAAC,CAAC;IAM3E,CAAC;IAXa,IAAI;QACV,IAAI,CAAC,OAAO,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,2BAA2B,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACtF,CAAC;IAID,KAAK,CAAC,WAAW;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC1D,CAAC;CAEJ,CAAA;AAjBY,4CAAgB;AAGN;IADlB,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACG,iCAAc;+CAAC;AAG/B;IADT,IAAA,yBAAa,GAAE;;;;4CAIf;2BATQ,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CAiB5B"}
@@ -1,17 +0,0 @@
1
- import { interfaces, Container } from '@theia/core/shared/inversify';
2
- import { MenuPath } from '@theia/core/lib/common';
3
- import { SourceTreeWidget } from '@theia/core/lib/browser/source-tree';
4
- import { DebugWatchSource } from './debug-watch-source';
5
- import { DebugViewModel } from './debug-view-model';
6
- export declare class DebugWatchWidget extends SourceTreeWidget {
7
- static CONTEXT_MENU: MenuPath;
8
- static EDIT_MENU: string[];
9
- static REMOVE_MENU: string[];
10
- static FACTORY_ID: string;
11
- static createContainer(parent: interfaces.Container): Container;
12
- static createWidget(parent: interfaces.Container): DebugWatchWidget;
13
- readonly viewModel: DebugViewModel;
14
- protected readonly variables: DebugWatchSource;
15
- protected init(): void;
16
- }
17
- //# sourceMappingURL=debug-watch-widget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-watch-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-watch-widget.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACxG,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBACa,gBAAiB,SAAQ,gBAAgB;IAElD,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAgC;IAC7D,MAAM,CAAC,SAAS,WAAgD;IAChE,MAAM,CAAC,WAAW,WAAkD;IACpE,MAAM,CAAC,UAAU,SAAiB;WAClB,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS;IAWxE,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,gBAAgB;IAKnE,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IAGnC,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;cAG5B,IAAI,IAAI,IAAI;CAQlC"}
@@ -1,71 +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
- var DebugWatchWidget_1;
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.DebugWatchWidget = void 0;
20
- const tslib_1 = require("tslib");
21
- const inversify_1 = require("@theia/core/shared/inversify");
22
- const source_tree_1 = require("@theia/core/lib/browser/source-tree");
23
- const debug_watch_source_1 = require("./debug-watch-source");
24
- const debug_view_model_1 = require("./debug-view-model");
25
- const nls_1 = require("@theia/core/lib/common/nls");
26
- let DebugWatchWidget = DebugWatchWidget_1 = class DebugWatchWidget extends source_tree_1.SourceTreeWidget {
27
- static createContainer(parent) {
28
- const child = source_tree_1.SourceTreeWidget.createContainer(parent, {
29
- contextMenuPath: DebugWatchWidget_1.CONTEXT_MENU,
30
- virtualized: false,
31
- scrollIfActive: true
32
- });
33
- child.bind(debug_watch_source_1.DebugWatchSource).toSelf();
34
- child.unbind(source_tree_1.SourceTreeWidget);
35
- child.bind(DebugWatchWidget_1).toSelf();
36
- return child;
37
- }
38
- static createWidget(parent) {
39
- return DebugWatchWidget_1.createContainer(parent).get(DebugWatchWidget_1);
40
- }
41
- init() {
42
- super.init();
43
- this.id = DebugWatchWidget_1.FACTORY_ID + ':' + this.viewModel.id;
44
- this.title.label = nls_1.nls.localizeByDefault('Watch');
45
- this.toDispose.push(this.variables);
46
- this.source = this.variables;
47
- }
48
- };
49
- exports.DebugWatchWidget = DebugWatchWidget;
50
- DebugWatchWidget.CONTEXT_MENU = ['debug-watch-context-menu'];
51
- DebugWatchWidget.EDIT_MENU = [...DebugWatchWidget_1.CONTEXT_MENU, 'a_edit'];
52
- DebugWatchWidget.REMOVE_MENU = [...DebugWatchWidget_1.CONTEXT_MENU, 'b_remove'];
53
- DebugWatchWidget.FACTORY_ID = 'debug:watch';
54
- tslib_1.__decorate([
55
- (0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
56
- tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
57
- ], DebugWatchWidget.prototype, "viewModel", void 0);
58
- tslib_1.__decorate([
59
- (0, inversify_1.inject)(debug_watch_source_1.DebugWatchSource),
60
- tslib_1.__metadata("design:type", debug_watch_source_1.DebugWatchSource)
61
- ], DebugWatchWidget.prototype, "variables", void 0);
62
- tslib_1.__decorate([
63
- (0, inversify_1.postConstruct)(),
64
- tslib_1.__metadata("design:type", Function),
65
- tslib_1.__metadata("design:paramtypes", []),
66
- tslib_1.__metadata("design:returntype", void 0)
67
- ], DebugWatchWidget.prototype, "init", null);
68
- exports.DebugWatchWidget = DebugWatchWidget = DebugWatchWidget_1 = tslib_1.__decorate([
69
- (0, inversify_1.injectable)()
70
- ], DebugWatchWidget);
71
- //# sourceMappingURL=debug-watch-widget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-watch-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-watch-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;AAExG,qEAAuE;AACvE,6DAAwD;AACxD,yDAAoD;AACpD,oDAAiD;AAG1C,IAAM,gBAAgB,wBAAtB,MAAM,gBAAiB,SAAQ,8BAAgB;IAMlD,MAAM,CAAU,eAAe,CAAC,MAA4B;QACxD,MAAM,KAAK,GAAG,8BAAgB,CAAC,eAAe,CAAC,MAAM,EAAE;YACnD,eAAe,EAAE,kBAAgB,CAAC,YAAY;YAC9C,WAAW,EAAE,KAAK;YAClB,cAAc,EAAE,IAAI;SACvB,CAAC,CAAC;QACH,KAAK,CAAC,IAAI,CAAC,qCAAgB,CAAC,CAAC,MAAM,EAAE,CAAC;QACtC,KAAK,CAAC,MAAM,CAAC,8BAAgB,CAAC,CAAC;QAC/B,KAAK,CAAC,IAAI,CAAC,kBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC;QACtC,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,MAAM,CAAC,YAAY,CAAC,MAA4B;QAC5C,OAAO,kBAAgB,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,kBAAgB,CAAC,CAAC;IAC1E,CAAC;IASkB,IAAI;QACnB,KAAK,CAAC,IAAI,EAAE,CAAC;QACb,IAAI,CAAC,EAAE,GAAG,kBAAgB,CAAC,UAAU,GAAG,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;QAChE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,SAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAClD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC;IACjC,CAAC;;AAlCQ,4CAAgB;AAElB,6BAAY,GAAa,CAAC,0BAA0B,CAAC,AAAzC,CAA0C;AACtD,0BAAS,GAAG,CAAC,GAAG,kBAAgB,CAAC,YAAY,EAAE,QAAQ,CAAC,AAA/C,CAAgD;AACzD,4BAAW,GAAG,CAAC,GAAG,kBAAgB,CAAC,YAAY,EAAE,UAAU,CAAC,AAAjD,CAAkD;AAC7D,2BAAU,GAAG,aAAa,AAAhB,CAAiB;AAiBzB;IADR,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACH,iCAAc;mDAAC;AAGhB;IADlB,IAAA,kBAAM,EAAC,qCAAgB,CAAC;sCACK,qCAAgB;mDAAC;AAG5B;IADlB,IAAA,yBAAa,GAAE;;;;4CAOf;2BAlCQ,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CAoC5B"}
@@ -1,24 +0,0 @@
1
- import { interfaces, Container } from '@theia/core/shared/inversify';
2
- import { BaseWidget, Message, ApplicationShell, Widget, StatefulWidget, ViewContainer } from '@theia/core/lib/browser';
3
- import { DebugSessionWidget } from './debug-session-widget';
4
- import { DebugConfigurationWidget } from './debug-configuration-widget';
5
- import { DebugViewModel } from './debug-view-model';
6
- import { DebugSessionManager } from '../debug-session-manager';
7
- import { ProgressBarFactory } from '@theia/core/lib/browser/progress-bar-factory';
8
- export declare class DebugWidget extends BaseWidget implements StatefulWidget, ApplicationShell.TrackableWidgetProvider {
9
- static createContainer(parent: interfaces.Container): Container;
10
- static createWidget(parent: interfaces.Container): DebugWidget;
11
- static ID: string;
12
- static LABEL: string;
13
- readonly model: DebugViewModel;
14
- readonly sessionManager: DebugSessionManager;
15
- protected readonly toolbar: DebugConfigurationWidget;
16
- protected readonly sessionWidget: DebugSessionWidget;
17
- protected readonly progressBarFactory: ProgressBarFactory;
18
- protected init(): void;
19
- protected onActivateRequest(msg: Message): void;
20
- getTrackableWidgets(): Widget[];
21
- storeState(): object;
22
- restoreState(oldState: ViewContainer.State): void;
23
- }
24
- //# sourceMappingURL=debug-widget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-widget.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACxG,OAAO,EACH,UAAU,EAAe,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,cAAc,EAAE,aAAa,EAC5F,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAGlF,qBACa,WAAY,SAAQ,UAAW,YAAW,cAAc,EAAE,gBAAgB,CAAC,uBAAuB;IAE3G,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS;IAO/D,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,WAAW;IAI9D,MAAM,CAAC,EAAE,SAAW;IACpB,MAAM,CAAC,KAAK,SAAkC;IAG9C,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAG/B,QAAQ,CAAC,cAAc,EAAE,mBAAmB,CAAC;IAG7C,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;IAGrD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,kBAAkB,CAAC;IAGrD,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAG1D,SAAS,CAAC,IAAI,IAAI,IAAI;cAmBH,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAKxD,mBAAmB,IAAI,MAAM,EAAE;IAI/B,UAAU,IAAI,MAAM;IAIpB,YAAY,CAAC,QAAQ,EAAE,aAAa,CAAC,KAAK,GAAG,IAAI;CAIpD"}
@@ -1,101 +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 DebugWidget_1;
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.DebugWidget = 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_session_widget_1 = require("./debug-session-widget");
24
- const debug_configuration_widget_1 = require("./debug-configuration-widget");
25
- const debug_view_model_1 = require("./debug-view-model");
26
- const debug_session_manager_1 = require("../debug-session-manager");
27
- const progress_bar_factory_1 = require("@theia/core/lib/browser/progress-bar-factory");
28
- const nls_1 = require("@theia/core/lib/common/nls");
29
- let DebugWidget = DebugWidget_1 = class DebugWidget extends browser_1.BaseWidget {
30
- static createContainer(parent) {
31
- const child = debug_session_widget_1.DebugSessionWidget.createContainer(parent);
32
- child.bind(debug_configuration_widget_1.DebugConfigurationWidget).toSelf();
33
- child.bind(DebugWidget_1).toSelf();
34
- return child;
35
- }
36
- static createWidget(parent) {
37
- return DebugWidget_1.createContainer(parent).get(DebugWidget_1);
38
- }
39
- init() {
40
- this.id = DebugWidget_1.ID;
41
- this.title.label = DebugWidget_1.LABEL;
42
- this.title.caption = DebugWidget_1.LABEL;
43
- this.title.closable = true;
44
- this.title.iconClass = (0, browser_1.codicon)('debug-alt');
45
- this.addClass('theia-debug-container');
46
- this.toDispose.pushAll([
47
- this.toolbar,
48
- this.sessionWidget,
49
- ]);
50
- const layout = this.layout = new browser_1.PanelLayout();
51
- layout.addWidget(this.toolbar);
52
- layout.addWidget(this.sessionWidget);
53
- this.toDispose.push(this.progressBarFactory({ container: this.node, insertMode: 'prepend', locationId: 'debug' }));
54
- }
55
- onActivateRequest(msg) {
56
- super.onActivateRequest(msg);
57
- this.toolbar.focus();
58
- }
59
- getTrackableWidgets() {
60
- return [this.sessionWidget];
61
- }
62
- storeState() {
63
- return this.sessionWidget.storeState();
64
- }
65
- restoreState(oldState) {
66
- this.sessionWidget.restoreState(oldState);
67
- }
68
- };
69
- exports.DebugWidget = DebugWidget;
70
- DebugWidget.ID = 'debug';
71
- DebugWidget.LABEL = nls_1.nls.localizeByDefault('Debug');
72
- tslib_1.__decorate([
73
- (0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
74
- tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
75
- ], DebugWidget.prototype, "model", void 0);
76
- tslib_1.__decorate([
77
- (0, inversify_1.inject)(debug_session_manager_1.DebugSessionManager),
78
- tslib_1.__metadata("design:type", debug_session_manager_1.DebugSessionManager)
79
- ], DebugWidget.prototype, "sessionManager", void 0);
80
- tslib_1.__decorate([
81
- (0, inversify_1.inject)(debug_configuration_widget_1.DebugConfigurationWidget),
82
- tslib_1.__metadata("design:type", debug_configuration_widget_1.DebugConfigurationWidget)
83
- ], DebugWidget.prototype, "toolbar", void 0);
84
- tslib_1.__decorate([
85
- (0, inversify_1.inject)(debug_session_widget_1.DebugSessionWidget),
86
- tslib_1.__metadata("design:type", debug_session_widget_1.DebugSessionWidget)
87
- ], DebugWidget.prototype, "sessionWidget", void 0);
88
- tslib_1.__decorate([
89
- (0, inversify_1.inject)(progress_bar_factory_1.ProgressBarFactory),
90
- tslib_1.__metadata("design:type", Function)
91
- ], DebugWidget.prototype, "progressBarFactory", void 0);
92
- tslib_1.__decorate([
93
- (0, inversify_1.postConstruct)(),
94
- tslib_1.__metadata("design:type", Function),
95
- tslib_1.__metadata("design:paramtypes", []),
96
- tslib_1.__metadata("design:returntype", void 0)
97
- ], DebugWidget.prototype, "init", null);
98
- exports.DebugWidget = DebugWidget = DebugWidget_1 = tslib_1.__decorate([
99
- (0, inversify_1.injectable)()
100
- ], DebugWidget);
101
- //# sourceMappingURL=debug-widget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-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,6EAAwE;AACxE,yDAAoD;AACpD,oEAA+D;AAC/D,uFAAkF;AAClF,o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AC,EAAE,SAAS,EAAE,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;IACvH,CAAC;IAEkB,iBAAiB,CAAC,GAAY;QAC7C,KAAK,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;QAC7B,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACzB,CAAC;IAED,mBAAmB;QACf,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAChC,CAAC;IAED,UAAU;QACN,OAAO,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC;IAC3C,CAAC;IAED,YAAY,CAAC,QAA6B;QACtC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC9C,CAAC;;AAlEQ,kCAAW;AAab,cAAE,GAAG,OAAO,AAAV,CAAW;AACb,iBAAK,GAAG,SAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,AAAjC,CAAkC;AAGrC;IADR,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACP,iCAAc;0CAAC;AAGtB;IADR,IAAA,kBAAM,EAAC,2CAAmB,CAAC;sCACH,2CAAmB;mDAAC;AAG1B;IADlB,IAAA,kBAAM,EAAC,qDAAwB,CAAC;sCACL,qDAAwB;4CAAC;AAGlC;IADlB,IAAA,kBAAM,EAAC,yCAAkB,CAAC;sCACO,yCAAkB;kDAAC;AAGlC;IADlB,IAAA,kBAAM,EAAC,yCAAkB,CAAC;;uDAC+B;AAGhD;IADT,IAAA,yBAAa,GAAE;;;;uCAkBf;sBAjDQ,WAAW;IADvB,IAAA,sBAAU,GAAE;GACA,WAAW,CAoEvB"}
@@ -1,60 +0,0 @@
1
- import { ContributionProvider } from '@theia/core';
2
- import { DebugConfiguration } from './debug-configuration';
3
- import { DebuggerDescription } from './debug-service';
4
- import { DebugAdapterContribution, DebugAdapterExecutable, DebugAdapterSessionFactory } from './debug-model';
5
- import { IJSONSchema, IJSONSchemaSnippet } from '@theia/core/lib/common/json-schema';
6
- /**
7
- * Contributions registry.
8
- */
9
- export declare class DebugAdapterContributionRegistry {
10
- protected readonly contributions: ContributionProvider<DebugAdapterContribution>;
11
- protected getContributions(debugType: string): IterableIterator<DebugAdapterContribution>;
12
- /**
13
- * Finds and returns an array of registered debug types.
14
- * @returns An array of registered debug types
15
- */
16
- protected _debugTypes: string[] | undefined;
17
- debugTypes(): string[];
18
- getDebuggersForLanguage(language: string): Promise<DebuggerDescription[]>;
19
- /**
20
- * Provides initial [debug configuration](#DebugConfiguration).
21
- * @param debugType The registered debug type
22
- * @returns An array of [debug configurations](#DebugConfiguration)
23
- */
24
- provideDebugConfigurations(debugType: string, workspaceFolderUri?: string): Promise<DebugConfiguration[]>;
25
- /**
26
- * Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
27
- * or by adding/changing/removing attributes before variable substitution.
28
- * @param debugConfiguration The [debug configuration](#DebugConfiguration) to resolve.
29
- * @returns The resolved debug configuration.
30
- */
31
- resolveDebugConfiguration(config: DebugConfiguration, workspaceFolderUri?: string): Promise<DebugConfiguration>;
32
- /**
33
- * Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
34
- * or by adding/changing/removing attributes with substituted variables.
35
- * @param debugConfiguration The [debug configuration](#DebugConfiguration) to resolve.
36
- * @returns The resolved debug configuration.
37
- */
38
- resolveDebugConfigurationWithSubstitutedVariables(config: DebugConfiguration, workspaceFolderUri?: string): Promise<DebugConfiguration>;
39
- /**
40
- * Provides schema attributes.
41
- * @param debugType The registered debug type
42
- * @returns Schema attributes for the given debug type
43
- */
44
- getSchemaAttributes(debugType: string): Promise<IJSONSchema[]>;
45
- getConfigurationSnippets(): Promise<IJSONSchemaSnippet[]>;
46
- /**
47
- * Provides a [debug adapter executable](#DebugAdapterExecutable)
48
- * based on [debug configuration](#DebugConfiguration) to launch a new debug adapter.
49
- * @param config The resolved [debug configuration](#DebugConfiguration).
50
- * @returns The [debug adapter executable](#DebugAdapterExecutable).
51
- */
52
- provideDebugAdapterExecutable(config: DebugConfiguration): Promise<DebugAdapterExecutable>;
53
- /**
54
- * Returns a [debug adapter session factory](#DebugAdapterSessionFactory).
55
- * @param debugType The registered debug type
56
- * @returns An [debug adapter session factory](#DebugAdapterSessionFactory)
57
- */
58
- debugAdapterSessionFactory(debugType: string): DebugAdapterSessionFactory | undefined;
59
- }
60
- //# sourceMappingURL=debug-adapter-contribution-registry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-adapter-contribution-registry.d.ts","sourceRoot":"","sources":["../../src/common/debug-adapter-contribution-registry.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAc,MAAM,iBAAiB,CAAC;AAElE,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC7G,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAErF;;GAEG;AACH,qBACa,gCAAgC;IAGzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;IACjF,SAAS,CAAE,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB,CAAC,wBAAwB,CAAC;IAQ1F;;;OAGG;IACH,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC5C,UAAU,IAAI,MAAM,EAAE;IAWhB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAgB/E;;;;OAIG;IACG,0BAA0B,CAAC,SAAS,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAe/G;;;;;OAKG;IACG,yBAAyB,CAAC,MAAM,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAmBrH;;;;;OAKG;IACG,iDAAiD,CAAC,MAAM,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAmB7I;;;;OAIG;IACG,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IAa9D,wBAAwB,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAc/D;;;;;OAKG;IACG,6BAA6B,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAYhG;;;;OAIG;IACH,0BAA0B,CAAC,SAAS,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS;CAQxF"}
@@ -1,205 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 Red Hat, Inc. 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.DebugAdapterContributionRegistry = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const core_1 = require("@theia/core");
22
- const debug_service_1 = require("./debug-service");
23
- const debug_model_1 = require("./debug-model");
24
- /**
25
- * Contributions registry.
26
- */
27
- let DebugAdapterContributionRegistry = class DebugAdapterContributionRegistry {
28
- *getContributions(debugType) {
29
- for (const contribution of this.contributions.getContributions()) {
30
- if (contribution.type === debugType || contribution.type === '*' || debugType === '*') {
31
- yield contribution;
32
- }
33
- }
34
- }
35
- debugTypes() {
36
- if (!this._debugTypes) {
37
- const result = new Set();
38
- for (const contribution of this.contributions.getContributions()) {
39
- result.add(contribution.type);
40
- }
41
- this._debugTypes = [...result];
42
- }
43
- return this._debugTypes;
44
- }
45
- async getDebuggersForLanguage(language) {
46
- const debuggers = [];
47
- for (const contribution of this.contributions.getContributions()) {
48
- if (contribution.languages && contribution.label) {
49
- const label = await contribution.label;
50
- if (label && (await contribution.languages || []).indexOf(language) !== -1) {
51
- debuggers.push({
52
- type: contribution.type,
53
- label
54
- });
55
- }
56
- }
57
- }
58
- return debuggers;
59
- }
60
- /**
61
- * Provides initial [debug configuration](#DebugConfiguration).
62
- * @param debugType The registered debug type
63
- * @returns An array of [debug configurations](#DebugConfiguration)
64
- */
65
- async provideDebugConfigurations(debugType, workspaceFolderUri) {
66
- const configurations = [];
67
- for (const contribution of this.getContributions(debugType)) {
68
- if (contribution.provideDebugConfigurations) {
69
- try {
70
- const result = await contribution.provideDebugConfigurations(workspaceFolderUri);
71
- configurations.push(...result);
72
- }
73
- catch (e) {
74
- console.error('provideDebugConfigurations failed:', e);
75
- }
76
- }
77
- }
78
- return configurations;
79
- }
80
- /**
81
- * Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
82
- * or by adding/changing/removing attributes before variable substitution.
83
- * @param debugConfiguration The [debug configuration](#DebugConfiguration) to resolve.
84
- * @returns The resolved debug configuration.
85
- */
86
- async resolveDebugConfiguration(config, workspaceFolderUri) {
87
- let current = config;
88
- for (const contribution of this.getContributions(config.type)) {
89
- if (contribution.resolveDebugConfiguration) {
90
- try {
91
- const next = await contribution.resolveDebugConfiguration(config, workspaceFolderUri);
92
- if (next) {
93
- current = next;
94
- }
95
- else {
96
- return current;
97
- }
98
- }
99
- catch (e) {
100
- console.error('resolveDebugConfiguration failed:', e);
101
- }
102
- }
103
- }
104
- return current;
105
- }
106
- /**
107
- * Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
108
- * or by adding/changing/removing attributes with substituted variables.
109
- * @param debugConfiguration The [debug configuration](#DebugConfiguration) to resolve.
110
- * @returns The resolved debug configuration.
111
- */
112
- async resolveDebugConfigurationWithSubstitutedVariables(config, workspaceFolderUri) {
113
- let current = config;
114
- for (const contribution of this.getContributions(config.type)) {
115
- if (contribution.resolveDebugConfigurationWithSubstitutedVariables) {
116
- try {
117
- const next = await contribution.resolveDebugConfigurationWithSubstitutedVariables(config, workspaceFolderUri);
118
- if (next) {
119
- current = next;
120
- }
121
- else {
122
- return current;
123
- }
124
- }
125
- catch (e) {
126
- console.error('resolveDebugConfigurationWithSubstitutedVariables failed:', e);
127
- }
128
- }
129
- }
130
- return current;
131
- }
132
- /**
133
- * Provides schema attributes.
134
- * @param debugType The registered debug type
135
- * @returns Schema attributes for the given debug type
136
- */
137
- async getSchemaAttributes(debugType) {
138
- const schemas = [];
139
- for (const contribution of this.getContributions(debugType)) {
140
- if (contribution.getSchemaAttributes) {
141
- try {
142
- schemas.push(...await contribution.getSchemaAttributes());
143
- }
144
- catch (e) {
145
- console.error('getSchemaAttributes failed:', e);
146
- }
147
- }
148
- }
149
- return schemas;
150
- }
151
- async getConfigurationSnippets() {
152
- const schemas = [];
153
- for (const contribution of this.getContributions('*')) {
154
- if (contribution.getConfigurationSnippets) {
155
- try {
156
- schemas.push(...await contribution.getConfigurationSnippets());
157
- }
158
- catch (e) {
159
- console.error('getConfigurationSnippets failed:', e);
160
- }
161
- }
162
- }
163
- return schemas;
164
- }
165
- /**
166
- * Provides a [debug adapter executable](#DebugAdapterExecutable)
167
- * based on [debug configuration](#DebugConfiguration) to launch a new debug adapter.
168
- * @param config The resolved [debug configuration](#DebugConfiguration).
169
- * @returns The [debug adapter executable](#DebugAdapterExecutable).
170
- */
171
- async provideDebugAdapterExecutable(config) {
172
- for (const contribution of this.getContributions(config.type)) {
173
- if (contribution.provideDebugAdapterExecutable) {
174
- const executable = await contribution.provideDebugAdapterExecutable(config);
175
- if (executable) {
176
- return executable;
177
- }
178
- }
179
- }
180
- throw debug_service_1.DebugError.NotFound(config.type);
181
- }
182
- /**
183
- * Returns a [debug adapter session factory](#DebugAdapterSessionFactory).
184
- * @param debugType The registered debug type
185
- * @returns An [debug adapter session factory](#DebugAdapterSessionFactory)
186
- */
187
- debugAdapterSessionFactory(debugType) {
188
- for (const contribution of this.getContributions(debugType)) {
189
- if (contribution.debugAdapterSessionFactory) {
190
- return contribution.debugAdapterSessionFactory;
191
- }
192
- }
193
- return undefined;
194
- }
195
- };
196
- exports.DebugAdapterContributionRegistry = DebugAdapterContributionRegistry;
197
- tslib_1.__decorate([
198
- (0, inversify_1.inject)(core_1.ContributionProvider),
199
- (0, inversify_1.named)(debug_model_1.DebugAdapterContribution),
200
- tslib_1.__metadata("design:type", Object)
201
- ], DebugAdapterContributionRegistry.prototype, "contributions", void 0);
202
- exports.DebugAdapterContributionRegistry = DebugAdapterContributionRegistry = tslib_1.__decorate([
203
- (0, inversify_1.injectable)()
204
- ], DebugAdapterContributionRegistry);
205
- //# sourceMappingURL=debug-adapter-contribution-registry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-adapter-contribution-registry.js","sourceRoot":"","sources":["../../src/common/debug-adapter-contribution-registry.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,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,4DAAyE;AACzE,sCAAmD;AAEnD,mDAAkE;AAElE,+CAA6G;AAG7G;;GAEG;AAEI,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAI/B,CAAC,gBAAgB,CAAC,SA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,GAAE;GACA,gCAAgC,CAiL5C"}
@@ -1,19 +0,0 @@
1
- import { DebugAdapter, DebugAdapterSession } from './debug-model';
2
- import { DebugChannel } from './debug-service';
3
- /**
4
- * [DebugAdapterSession](#DebugAdapterSession) implementation.
5
- */
6
- export declare class DebugAdapterSessionImpl implements DebugAdapterSession {
7
- readonly id: string;
8
- protected readonly debugAdapter: DebugAdapter;
9
- private channel;
10
- private isClosed;
11
- constructor(id: string, debugAdapter: DebugAdapter);
12
- start(channel: DebugChannel): Promise<void>;
13
- protected onDebugAdapterExit(): void;
14
- protected onDebugAdapterError(error: Error): void;
15
- protected send(message: string): void;
16
- protected write(message: string): void;
17
- stop(): Promise<void>;
18
- }
19
- //# sourceMappingURL=debug-adapter-session.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-adapter-session.d.ts","sourceRoot":"","sources":["../../src/common/debug-adapter-session.ts"],"names":[],"mappings":"AAuBA,OAAO,EACH,YAAY,EACZ,mBAAmB,EACtB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;GAEG;AACH,qBAAa,uBAAwB,YAAW,mBAAmB;IAM3D,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY;IALjD,OAAO,CAAC,OAAO,CAA2B;IAC1C,OAAO,CAAC,QAAQ,CAAkB;gBAGrB,EAAE,EAAE,MAAM,EACA,YAAY,EAAE,YAAY;IAO3C,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;IAYjD,SAAS,CAAC,kBAAkB,IAAI,IAAI;IASpC,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAWjD,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAMrC,SAAS,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAMhC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAS9B"}