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

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 (337) hide show
  1. package/lib/browser/breakpoint/breakpoint-manager.d.ts +91 -0
  2. package/lib/browser/breakpoint/breakpoint-manager.d.ts.map +1 -0
  3. package/lib/browser/breakpoint/breakpoint-manager.js +367 -0
  4. package/lib/browser/breakpoint/breakpoint-manager.js.map +1 -0
  5. package/lib/browser/breakpoint/breakpoint-marker.d.ts +65 -0
  6. package/lib/browser/breakpoint/breakpoint-marker.d.ts.map +1 -0
  7. package/lib/browser/breakpoint/breakpoint-marker.js +102 -0
  8. package/lib/browser/breakpoint/breakpoint-marker.js.map +1 -0
  9. package/lib/browser/breakpoint/debug-data-breakpoint-actions.d.ts +17 -0
  10. package/lib/browser/breakpoint/debug-data-breakpoint-actions.d.ts.map +1 -0
  11. package/lib/browser/breakpoint/debug-data-breakpoint-actions.js +166 -0
  12. package/lib/browser/breakpoint/debug-data-breakpoint-actions.js.map +1 -0
  13. package/lib/browser/console/debug-console-contribution.d.ts +45 -0
  14. package/lib/browser/console/debug-console-contribution.d.ts.map +1 -0
  15. package/lib/browser/console/debug-console-contribution.js +233 -0
  16. package/lib/browser/console/debug-console-contribution.js.map +1 -0
  17. package/lib/browser/console/debug-console-items.d.ts +98 -0
  18. package/lib/browser/console/debug-console-items.d.ts.map +1 -0
  19. package/lib/browser/console/debug-console-items.js +346 -0
  20. package/lib/browser/console/debug-console-items.js.map +1 -0
  21. package/lib/browser/console/debug-console-session.d.ts +32 -0
  22. package/lib/browser/console/debug-console-session.d.ts.map +1 -0
  23. package/lib/browser/console/debug-console-session.js +192 -0
  24. package/lib/browser/console/debug-console-session.js.map +1 -0
  25. package/lib/browser/debug-call-stack-item-type-key.d.ts +4 -0
  26. package/lib/browser/debug-call-stack-item-type-key.d.ts.map +1 -0
  27. package/lib/browser/debug-call-stack-item-type-key.js +20 -0
  28. package/lib/browser/debug-call-stack-item-type-key.js.map +1 -0
  29. package/lib/browser/debug-configuration-manager.d.ts +103 -0
  30. package/lib/browser/debug-configuration-manager.d.ts.map +1 -0
  31. package/lib/browser/debug-configuration-manager.js +545 -0
  32. package/lib/browser/debug-configuration-manager.js.map +1 -0
  33. package/lib/browser/debug-configuration-model.d.ts +30 -0
  34. package/lib/browser/debug-configuration-model.d.ts.map +1 -0
  35. package/lib/browser/debug-configuration-model.js +80 -0
  36. package/lib/browser/debug-configuration-model.js.map +1 -0
  37. package/lib/browser/debug-contribution.d.ts +23 -0
  38. package/lib/browser/debug-contribution.d.ts.map +1 -0
  39. package/lib/browser/debug-contribution.js +20 -0
  40. package/lib/browser/debug-contribution.js.map +1 -0
  41. package/lib/browser/debug-frontend-application-contribution.d.ts +252 -0
  42. package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -0
  43. package/lib/browser/debug-frontend-application-contribution.js +1696 -0
  44. package/lib/browser/debug-frontend-application-contribution.js.map +1 -0
  45. package/lib/browser/debug-frontend-module.d.ts +5 -0
  46. package/lib/browser/debug-frontend-module.d.ts.map +1 -0
  47. package/lib/browser/debug-frontend-module.js +112 -0
  48. package/lib/browser/debug-frontend-module.js.map +1 -0
  49. package/lib/browser/debug-package.spec.d.ts +1 -0
  50. package/lib/browser/debug-package.spec.d.ts.map +1 -0
  51. package/lib/browser/debug-package.spec.js +19 -0
  52. package/lib/browser/debug-package.spec.js.map +1 -0
  53. package/lib/browser/debug-prefix-configuration.d.ts +52 -0
  54. package/lib/browser/debug-prefix-configuration.d.ts.map +1 -0
  55. package/lib/browser/debug-prefix-configuration.js +202 -0
  56. package/lib/browser/debug-prefix-configuration.js.map +1 -0
  57. package/lib/browser/debug-resource.d.ts +15 -0
  58. package/lib/browser/debug-resource.d.ts.map +1 -0
  59. package/lib/browser/debug-resource.js +58 -0
  60. package/lib/browser/debug-resource.js.map +1 -0
  61. package/lib/browser/debug-schema-updater.d.ts +14 -0
  62. package/lib/browser/debug-schema-updater.d.ts.map +1 -0
  63. package/lib/browser/debug-schema-updater.js +161 -0
  64. package/lib/browser/debug-schema-updater.js.map +1 -0
  65. package/lib/browser/debug-session-configuration-label-provider.d.ts +11 -0
  66. package/lib/browser/debug-session-configuration-label-provider.d.ts.map +1 -0
  67. package/lib/browser/debug-session-configuration-label-provider.js +48 -0
  68. package/lib/browser/debug-session-configuration-label-provider.js.map +1 -0
  69. package/lib/browser/debug-session-configuration-label-provider.spec.d.ts +2 -0
  70. package/lib/browser/debug-session-configuration-label-provider.spec.d.ts.map +1 -0
  71. package/lib/browser/debug-session-configuration-label-provider.spec.js +84 -0
  72. package/lib/browser/debug-session-configuration-label-provider.spec.js.map +1 -0
  73. package/lib/browser/debug-session-connection.d.ts +111 -0
  74. package/lib/browser/debug-session-connection.d.ts.map +1 -0
  75. package/lib/browser/debug-session-connection.js +259 -0
  76. package/lib/browser/debug-session-connection.js.map +1 -0
  77. package/lib/browser/debug-session-contribution.d.ts +77 -0
  78. package/lib/browser/debug-session-contribution.d.ts.map +1 -0
  79. package/lib/browser/debug-session-contribution.js +143 -0
  80. package/lib/browser/debug-session-contribution.js.map +1 -0
  81. package/lib/browser/debug-session-manager.d.ts +140 -0
  82. package/lib/browser/debug-session-manager.d.ts.map +1 -0
  83. package/lib/browser/debug-session-manager.js +637 -0
  84. package/lib/browser/debug-session-manager.js.map +1 -0
  85. package/lib/browser/debug-session-options.d.ts +56 -0
  86. package/lib/browser/debug-session-options.d.ts.map +1 -0
  87. package/lib/browser/debug-session-options.js +92 -0
  88. package/lib/browser/debug-session-options.js.map +1 -0
  89. package/lib/browser/debug-session.d.ts +195 -0
  90. package/lib/browser/debug-session.d.ts.map +1 -0
  91. package/lib/browser/debug-session.js +946 -0
  92. package/lib/browser/debug-session.js.map +1 -0
  93. package/lib/browser/debug-tab-bar-decorator.d.ts +17 -0
  94. package/lib/browser/debug-tab-bar-decorator.d.ts.map +1 -0
  95. package/lib/browser/debug-tab-bar-decorator.js +63 -0
  96. package/lib/browser/debug-tab-bar-decorator.js.map +1 -0
  97. package/lib/browser/debug-watch-manager.d.ts +22 -0
  98. package/lib/browser/debug-watch-manager.d.ts.map +1 -0
  99. package/lib/browser/debug-watch-manager.js +86 -0
  100. package/lib/browser/debug-watch-manager.js.map +1 -0
  101. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts +7 -0
  102. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts.map +1 -0
  103. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js +39 -0
  104. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js.map +1 -0
  105. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts +20 -0
  106. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts.map +1 -0
  107. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js +111 -0
  108. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js.map +1 -0
  109. package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts +25 -0
  110. package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts.map +1 -0
  111. package/lib/browser/disassembly-view/disassembly-view-contribution.js +124 -0
  112. package/lib/browser/disassembly-view/disassembly-view-contribution.js.map +1 -0
  113. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts +39 -0
  114. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts.map +1 -0
  115. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js +213 -0
  116. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js.map +1 -0
  117. package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts +16 -0
  118. package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts.map +1 -0
  119. package/lib/browser/disassembly-view/disassembly-view-table-delegate.js +39 -0
  120. package/lib/browser/disassembly-view/disassembly-view-table-delegate.js.map +1 -0
  121. package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts +38 -0
  122. package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts.map +1 -0
  123. package/lib/browser/disassembly-view/disassembly-view-utilities.js +18 -0
  124. package/lib/browser/disassembly-view/disassembly-view-utilities.js.map +1 -0
  125. package/lib/browser/disassembly-view/disassembly-view-widget.d.ts +61 -0
  126. package/lib/browser/disassembly-view/disassembly-view-widget.d.ts.map +1 -0
  127. package/lib/browser/disassembly-view/disassembly-view-widget.js +446 -0
  128. package/lib/browser/disassembly-view/disassembly-view-widget.js.map +1 -0
  129. package/lib/browser/editor/debug-breakpoint-widget.d.ts +58 -0
  130. package/lib/browser/editor/debug-breakpoint-widget.d.ts.map +1 -0
  131. package/lib/browser/editor/debug-breakpoint-widget.js +270 -0
  132. package/lib/browser/editor/debug-breakpoint-widget.js.map +1 -0
  133. package/lib/browser/editor/debug-editor-model.d.ts +87 -0
  134. package/lib/browser/editor/debug-editor-model.d.ts.map +1 -0
  135. package/lib/browser/editor/debug-editor-model.js +499 -0
  136. package/lib/browser/editor/debug-editor-model.js.map +1 -0
  137. package/lib/browser/editor/debug-editor-service.d.ts +38 -0
  138. package/lib/browser/editor/debug-editor-service.d.ts.map +1 -0
  139. package/lib/browser/editor/debug-editor-service.js +183 -0
  140. package/lib/browser/editor/debug-editor-service.js.map +1 -0
  141. package/lib/browser/editor/debug-editor.d.ts +4 -0
  142. package/lib/browser/editor/debug-editor.d.ts.map +1 -0
  143. package/lib/browser/editor/debug-editor.js +20 -0
  144. package/lib/browser/editor/debug-editor.js.map +1 -0
  145. package/lib/browser/editor/debug-exception-widget.d.ts +30 -0
  146. package/lib/browser/editor/debug-exception-widget.d.ts.map +1 -0
  147. package/lib/browser/editor/debug-exception-widget.js +107 -0
  148. package/lib/browser/editor/debug-exception-widget.js.map +1 -0
  149. package/lib/browser/editor/debug-expression-provider.d.ts +17 -0
  150. package/lib/browser/editor/debug-expression-provider.d.ts.map +1 -0
  151. package/lib/browser/editor/debug-expression-provider.js +107 -0
  152. package/lib/browser/editor/debug-expression-provider.js.map +1 -0
  153. package/lib/browser/editor/debug-hover-source.d.ts +19 -0
  154. package/lib/browser/editor/debug-hover-source.d.ts.map +1 -0
  155. package/lib/browser/editor/debug-hover-source.js +110 -0
  156. package/lib/browser/editor/debug-hover-source.js.map +1 -0
  157. package/lib/browser/editor/debug-hover-widget.d.ts +61 -0
  158. package/lib/browser/editor/debug-hover-widget.d.ts.map +1 -0
  159. package/lib/browser/editor/debug-hover-widget.js +271 -0
  160. package/lib/browser/editor/debug-hover-widget.js.map +1 -0
  161. package/lib/browser/editor/debug-inline-value-decorator.d.ts +20 -0
  162. package/lib/browser/editor/debug-inline-value-decorator.d.ts.map +1 -0
  163. package/lib/browser/editor/debug-inline-value-decorator.js +326 -0
  164. package/lib/browser/editor/debug-inline-value-decorator.js.map +1 -0
  165. package/lib/browser/model/debug-breakpoint.d.ts +48 -0
  166. package/lib/browser/model/debug-breakpoint.d.ts.map +1 -0
  167. package/lib/browser/model/debug-breakpoint.js +111 -0
  168. package/lib/browser/model/debug-breakpoint.js.map +1 -0
  169. package/lib/browser/model/debug-data-breakpoint.d.ts +16 -0
  170. package/lib/browser/model/debug-data-breakpoint.d.ts.map +1 -0
  171. package/lib/browser/model/debug-data-breakpoint.js +75 -0
  172. package/lib/browser/model/debug-data-breakpoint.js.map +1 -0
  173. package/lib/browser/model/debug-function-breakpoint.d.ts +19 -0
  174. package/lib/browser/model/debug-function-breakpoint.d.ts.map +1 -0
  175. package/lib/browser/model/debug-function-breakpoint.js +93 -0
  176. package/lib/browser/model/debug-function-breakpoint.js.map +1 -0
  177. package/lib/browser/model/debug-instruction-breakpoint.d.ts +15 -0
  178. package/lib/browser/model/debug-instruction-breakpoint.d.ts.map +1 -0
  179. package/lib/browser/model/debug-instruction-breakpoint.js +66 -0
  180. package/lib/browser/model/debug-instruction-breakpoint.js.map +1 -0
  181. package/lib/browser/model/debug-source-breakpoint.d.ts +39 -0
  182. package/lib/browser/model/debug-source-breakpoint.d.ts.map +1 -0
  183. package/lib/browser/model/debug-source-breakpoint.js +219 -0
  184. package/lib/browser/model/debug-source-breakpoint.js.map +1 -0
  185. package/lib/browser/model/debug-source.d.ts +25 -0
  186. package/lib/browser/model/debug-source.d.ts.map +1 -0
  187. package/lib/browser/model/debug-source.js +81 -0
  188. package/lib/browser/model/debug-source.js.map +1 -0
  189. package/lib/browser/model/debug-stack-frame.d.ts +45 -0
  190. package/lib/browser/model/debug-stack-frame.d.ts.map +1 -0
  191. package/lib/browser/model/debug-stack-frame.js +157 -0
  192. package/lib/browser/model/debug-stack-frame.js.map +1 -0
  193. package/lib/browser/model/debug-thread.d.ts +68 -0
  194. package/lib/browser/model/debug-thread.d.ts.map +1 -0
  195. package/lib/browser/model/debug-thread.js +262 -0
  196. package/lib/browser/model/debug-thread.js.map +1 -0
  197. package/lib/browser/view/debug-action.d.ts +18 -0
  198. package/lib/browser/view/debug-action.d.ts.map +1 -0
  199. package/lib/browser/view/debug-action.js +44 -0
  200. package/lib/browser/view/debug-action.js.map +1 -0
  201. package/lib/browser/view/debug-breakpoints-source.d.ts +10 -0
  202. package/lib/browser/view/debug-breakpoints-source.d.ts.map +1 -0
  203. package/lib/browser/view/debug-breakpoints-source.js +58 -0
  204. package/lib/browser/view/debug-breakpoints-source.js.map +1 -0
  205. package/lib/browser/view/debug-breakpoints-widget.d.ts +23 -0
  206. package/lib/browser/view/debug-breakpoints-widget.d.ts.map +1 -0
  207. package/lib/browser/view/debug-breakpoints-widget.js +81 -0
  208. package/lib/browser/view/debug-breakpoints-widget.js.map +1 -0
  209. package/lib/browser/view/debug-configuration-select.d.ts +67 -0
  210. package/lib/browser/view/debug-configuration-select.d.ts.map +1 -0
  211. package/lib/browser/view/debug-configuration-select.js +212 -0
  212. package/lib/browser/view/debug-configuration-select.js.map +1 -0
  213. package/lib/browser/view/debug-configuration-widget.d.ts +33 -0
  214. package/lib/browser/view/debug-configuration-widget.d.ts.map +1 -0
  215. package/lib/browser/view/debug-configuration-widget.js +137 -0
  216. package/lib/browser/view/debug-configuration-widget.js.map +1 -0
  217. package/lib/browser/view/debug-exception-breakpoint.d.ts +15 -0
  218. package/lib/browser/view/debug-exception-breakpoint.d.ts.map +1 -0
  219. package/lib/browser/view/debug-exception-breakpoint.js +62 -0
  220. package/lib/browser/view/debug-exception-breakpoint.js.map +1 -0
  221. package/lib/browser/view/debug-session-widget.d.ts +29 -0
  222. package/lib/browser/view/debug-session-widget.d.ts.map +1 -0
  223. package/lib/browser/view/debug-session-widget.js +127 -0
  224. package/lib/browser/view/debug-session-widget.js.map +1 -0
  225. package/lib/browser/view/debug-stack-frames-source.d.ts +18 -0
  226. package/lib/browser/view/debug-stack-frames-source.d.ts.map +1 -0
  227. package/lib/browser/view/debug-stack-frames-source.js +83 -0
  228. package/lib/browser/view/debug-stack-frames-source.js.map +1 -0
  229. package/lib/browser/view/debug-stack-frames-widget.d.ts +25 -0
  230. package/lib/browser/view/debug-stack-frames-widget.d.ts.map +1 -0
  231. package/lib/browser/view/debug-stack-frames-widget.js +152 -0
  232. package/lib/browser/view/debug-stack-frames-widget.js.map +1 -0
  233. package/lib/browser/view/debug-threads-source.d.ts +9 -0
  234. package/lib/browser/view/debug-threads-source.d.ts.map +1 -0
  235. package/lib/browser/view/debug-threads-source.js +56 -0
  236. package/lib/browser/view/debug-threads-source.js.map +1 -0
  237. package/lib/browser/view/debug-threads-widget.d.ts +27 -0
  238. package/lib/browser/view/debug-threads-widget.d.ts.map +1 -0
  239. package/lib/browser/view/debug-threads-widget.js +139 -0
  240. package/lib/browser/view/debug-threads-widget.js.map +1 -0
  241. package/lib/browser/view/debug-toolbar-widget.d.ts +34 -0
  242. package/lib/browser/view/debug-toolbar-widget.d.ts.map +1 -0
  243. package/lib/browser/view/debug-toolbar-widget.js +139 -0
  244. package/lib/browser/view/debug-toolbar-widget.js.map +1 -0
  245. package/lib/browser/view/debug-variables-source.d.ts +10 -0
  246. package/lib/browser/view/debug-variables-source.d.ts.map +1 -0
  247. package/lib/browser/view/debug-variables-source.js +53 -0
  248. package/lib/browser/view/debug-variables-source.js.map +1 -0
  249. package/lib/browser/view/debug-variables-widget.d.ts +28 -0
  250. package/lib/browser/view/debug-variables-widget.d.ts.map +1 -0
  251. package/lib/browser/view/debug-variables-widget.js +152 -0
  252. package/lib/browser/view/debug-variables-widget.js.map +1 -0
  253. package/lib/browser/view/debug-view-model.d.ts +55 -0
  254. package/lib/browser/view/debug-view-model.d.ts.map +1 -0
  255. package/lib/browser/view/debug-view-model.js +215 -0
  256. package/lib/browser/view/debug-view-model.js.map +1 -0
  257. package/lib/browser/view/debug-watch-expression.d.ts +33 -0
  258. package/lib/browser/view/debug-watch-expression.d.ts.map +1 -0
  259. package/lib/browser/view/debug-watch-expression.js +93 -0
  260. package/lib/browser/view/debug-watch-expression.js.map +1 -0
  261. package/lib/browser/view/debug-watch-source.d.ts +10 -0
  262. package/lib/browser/view/debug-watch-source.d.ts.map +1 -0
  263. package/lib/browser/view/debug-watch-source.js +51 -0
  264. package/lib/browser/view/debug-watch-source.js.map +1 -0
  265. package/lib/browser/view/debug-watch-widget.d.ts +17 -0
  266. package/lib/browser/view/debug-watch-widget.d.ts.map +1 -0
  267. package/lib/browser/view/debug-watch-widget.js +71 -0
  268. package/lib/browser/view/debug-watch-widget.js.map +1 -0
  269. package/lib/browser/view/debug-widget.d.ts +24 -0
  270. package/lib/browser/view/debug-widget.d.ts.map +1 -0
  271. package/lib/browser/view/debug-widget.js +101 -0
  272. package/lib/browser/view/debug-widget.js.map +1 -0
  273. package/lib/common/debug-adapter-contribution-registry.d.ts +60 -0
  274. package/lib/common/debug-adapter-contribution-registry.d.ts.map +1 -0
  275. package/lib/common/debug-adapter-contribution-registry.js +205 -0
  276. package/lib/common/debug-adapter-contribution-registry.js.map +1 -0
  277. package/lib/common/debug-adapter-session.d.ts +19 -0
  278. package/lib/common/debug-adapter-session.d.ts.map +1 -0
  279. package/lib/common/debug-adapter-session.js +79 -0
  280. package/lib/common/debug-adapter-session.js.map +1 -0
  281. package/lib/common/debug-common.d.ts +2 -0
  282. package/lib/common/debug-common.d.ts.map +1 -0
  283. package/lib/common/debug-common.js +21 -0
  284. package/lib/common/debug-common.js.map +1 -0
  285. package/lib/common/debug-compound.d.ts +15 -0
  286. package/lib/common/debug-compound.d.ts.map +1 -0
  287. package/lib/common/debug-compound.js +28 -0
  288. package/lib/common/debug-compound.js.map +1 -0
  289. package/lib/common/debug-configuration.d.ts +77 -0
  290. package/lib/common/debug-configuration.d.ts.map +1 -0
  291. package/lib/common/debug-configuration.js +32 -0
  292. package/lib/common/debug-configuration.js.map +1 -0
  293. package/lib/common/debug-model.d.ts +153 -0
  294. package/lib/common/debug-model.d.ts.map +1 -0
  295. package/lib/common/debug-model.js +36 -0
  296. package/lib/common/debug-model.js.map +1 -0
  297. package/lib/common/debug-preferences.d.ts +18 -0
  298. package/lib/common/debug-preferences.d.ts.map +1 -0
  299. package/lib/common/debug-preferences.js +89 -0
  300. package/lib/common/debug-preferences.js.map +1 -0
  301. package/lib/common/debug-service.d.ts +124 -0
  302. package/lib/common/debug-service.d.ts.map +1 -0
  303. package/lib/common/debug-service.js +67 -0
  304. package/lib/common/debug-service.js.map +1 -0
  305. package/lib/common/debug-uri-utils.d.ts +24 -0
  306. package/lib/common/debug-uri-utils.d.ts.map +1 -0
  307. package/lib/common/debug-uri-utils.js +27 -0
  308. package/lib/common/debug-uri-utils.js.map +1 -0
  309. package/lib/common/inline-debug-adapter.d.ts +19 -0
  310. package/lib/common/inline-debug-adapter.d.ts.map +1 -0
  311. package/lib/common/inline-debug-adapter.js +45 -0
  312. package/lib/common/inline-debug-adapter.js.map +1 -0
  313. package/lib/common/launch-preferences.d.ts +6 -0
  314. package/lib/common/launch-preferences.d.ts.map +1 -0
  315. package/lib/common/launch-preferences.js +37 -0
  316. package/lib/common/launch-preferences.js.map +1 -0
  317. package/lib/node/debug-adapter-factory.d.ts +20 -0
  318. package/lib/node/debug-adapter-factory.d.ts.map +1 -0
  319. package/lib/node/debug-adapter-factory.js +89 -0
  320. package/lib/node/debug-adapter-factory.js.map +1 -0
  321. package/lib/node/debug-adapter-session-manager.d.ts +38 -0
  322. package/lib/node/debug-adapter-session-manager.d.ts.map +1 -0
  323. package/lib/node/debug-adapter-session-manager.js +104 -0
  324. package/lib/node/debug-adapter-session-manager.js.map +1 -0
  325. package/lib/node/debug-backend-module.d.ts +4 -0
  326. package/lib/node/debug-backend-module.d.ts.map +1 -0
  327. package/lib/node/debug-backend-module.js +45 -0
  328. package/lib/node/debug-backend-module.js.map +1 -0
  329. package/lib/node/debug-service-impl.d.ts +31 -0
  330. package/lib/node/debug-service-impl.d.ts.map +1 -0
  331. package/lib/node/debug-service-impl.js +117 -0
  332. package/lib/node/debug-service-impl.js.map +1 -0
  333. package/lib/node/stream-debug-adapter.d.ts +41 -0
  334. package/lib/node/stream-debug-adapter.d.ts.map +1 -0
  335. package/lib/node/stream-debug-adapter.js +113 -0
  336. package/lib/node/stream-debug-adapter.js.map +1 -0
  337. package/package.json +15 -15
@@ -0,0 +1,58 @@
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.DebugBreakpointsSource = 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 breakpoint_manager_1 = require("../breakpoint/breakpoint-manager");
24
+ const debug_exception_breakpoint_1 = require("./debug-exception-breakpoint");
25
+ let DebugBreakpointsSource = class DebugBreakpointsSource extends source_tree_1.TreeSource {
26
+ init() {
27
+ this.fireDidChange();
28
+ this.toDispose.push(this.model.onDidChangeBreakpoints(() => this.fireDidChange()));
29
+ }
30
+ *getElements() {
31
+ for (const exceptionBreakpoint of this.breakpoints.getExceptionBreakpoints()) {
32
+ yield new debug_exception_breakpoint_1.DebugExceptionBreakpoint(exceptionBreakpoint, this.breakpoints);
33
+ }
34
+ yield* this.model.dataBreakpoints;
35
+ yield* this.model.functionBreakpoints;
36
+ yield* this.model.instructionBreakpoints;
37
+ yield* this.model.breakpoints;
38
+ }
39
+ };
40
+ exports.DebugBreakpointsSource = DebugBreakpointsSource;
41
+ tslib_1.__decorate([
42
+ (0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
43
+ tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
44
+ ], DebugBreakpointsSource.prototype, "model", void 0);
45
+ tslib_1.__decorate([
46
+ (0, inversify_1.inject)(breakpoint_manager_1.BreakpointManager),
47
+ tslib_1.__metadata("design:type", breakpoint_manager_1.BreakpointManager)
48
+ ], DebugBreakpointsSource.prototype, "breakpoints", void 0);
49
+ tslib_1.__decorate([
50
+ (0, inversify_1.postConstruct)(),
51
+ tslib_1.__metadata("design:type", Function),
52
+ tslib_1.__metadata("design:paramtypes", []),
53
+ tslib_1.__metadata("design:returntype", void 0)
54
+ ], DebugBreakpointsSource.prototype, "init", null);
55
+ exports.DebugBreakpointsSource = DebugBreakpointsSource = tslib_1.__decorate([
56
+ (0, inversify_1.injectable)()
57
+ ], DebugBreakpointsSource);
58
+ //# sourceMappingURL=debug-breakpoints-source.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-breakpoints-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-breakpoints-source.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AA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sB,CAuBlC"}
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import { interfaces, Container } from '@theia/core/shared/inversify';
3
+ import { MenuPath } from '@theia/core/lib/common';
4
+ import { TreeNode, NodeProps } from '@theia/core/lib/browser';
5
+ import { SourceTreeWidget } from '@theia/core/lib/browser/source-tree';
6
+ import { DebugBreakpointsSource } from './debug-breakpoints-source';
7
+ import { BreakpointManager } from '../breakpoint/breakpoint-manager';
8
+ import { DebugViewModel } from './debug-view-model';
9
+ export declare class DebugBreakpointsWidget extends SourceTreeWidget {
10
+ static CONTEXT_MENU: MenuPath;
11
+ static EDIT_MENU: string[];
12
+ static REMOVE_MENU: string[];
13
+ static ENABLE_MENU: string[];
14
+ static FACTORY_ID: string;
15
+ static createContainer(parent: interfaces.Container): Container;
16
+ static createWidget(parent: interfaces.Container): DebugBreakpointsWidget;
17
+ protected readonly viewModel: DebugViewModel;
18
+ protected readonly breakpoints: BreakpointManager;
19
+ protected readonly breakpointsSource: DebugBreakpointsSource;
20
+ protected init(): void;
21
+ protected getDefaultNodeStyle(node: TreeNode, props: NodeProps): React.CSSProperties | undefined;
22
+ }
23
+ //# sourceMappingURL=debug-breakpoints-widget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-breakpoints-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-breakpoints-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,QAAQ,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBACa,sBAAuB,SAAQ,gBAAgB;IAExD,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAsC;IACnE,MAAM,CAAC,SAAS,WAAsD;IACtE,MAAM,CAAC,WAAW,WAAwD;IAC1E,MAAM,CAAC,WAAW,WAAwD;IAC1E,MAAM,CAAC,UAAU,SAAuB;WACxB,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS;IAYxE,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,sBAAsB;IAKzE,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IAG7C,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IAGlD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,sBAAsB,CAAC;cAG1C,IAAI,IAAI,IAAI;cAQZ,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,GAAG,SAAS;CAI5G"}
@@ -0,0 +1,81 @@
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 DebugBreakpointsWidget_1;
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.DebugBreakpointsWidget = 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_breakpoints_source_1 = require("./debug-breakpoints-source");
24
+ const breakpoint_manager_1 = require("../breakpoint/breakpoint-manager");
25
+ const debug_view_model_1 = require("./debug-view-model");
26
+ const nls_1 = require("@theia/core/lib/common/nls");
27
+ let DebugBreakpointsWidget = DebugBreakpointsWidget_1 = class DebugBreakpointsWidget extends source_tree_1.SourceTreeWidget {
28
+ static createContainer(parent) {
29
+ const child = source_tree_1.SourceTreeWidget.createContainer(parent, {
30
+ contextMenuPath: DebugBreakpointsWidget_1.CONTEXT_MENU,
31
+ virtualized: false,
32
+ scrollIfActive: true,
33
+ multiSelect: true
34
+ });
35
+ child.bind(debug_breakpoints_source_1.DebugBreakpointsSource).toSelf();
36
+ child.unbind(source_tree_1.SourceTreeWidget);
37
+ child.bind(DebugBreakpointsWidget_1).toSelf();
38
+ return child;
39
+ }
40
+ static createWidget(parent) {
41
+ return DebugBreakpointsWidget_1.createContainer(parent).get(DebugBreakpointsWidget_1);
42
+ }
43
+ init() {
44
+ super.init();
45
+ this.id = DebugBreakpointsWidget_1.FACTORY_ID + ':' + this.viewModel.id;
46
+ this.title.label = nls_1.nls.localizeByDefault('Breakpoints');
47
+ this.toDispose.push(this.breakpointsSource);
48
+ this.source = this.breakpointsSource;
49
+ }
50
+ getDefaultNodeStyle(node, props) {
51
+ return undefined;
52
+ }
53
+ };
54
+ exports.DebugBreakpointsWidget = DebugBreakpointsWidget;
55
+ DebugBreakpointsWidget.CONTEXT_MENU = ['debug-breakpoints-context-menu'];
56
+ DebugBreakpointsWidget.EDIT_MENU = [...DebugBreakpointsWidget_1.CONTEXT_MENU, 'a_edit'];
57
+ DebugBreakpointsWidget.REMOVE_MENU = [...DebugBreakpointsWidget_1.CONTEXT_MENU, 'b_remove'];
58
+ DebugBreakpointsWidget.ENABLE_MENU = [...DebugBreakpointsWidget_1.CONTEXT_MENU, 'c_enable'];
59
+ DebugBreakpointsWidget.FACTORY_ID = 'debug:breakpoints';
60
+ tslib_1.__decorate([
61
+ (0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
62
+ tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
63
+ ], DebugBreakpointsWidget.prototype, "viewModel", void 0);
64
+ tslib_1.__decorate([
65
+ (0, inversify_1.inject)(breakpoint_manager_1.BreakpointManager),
66
+ tslib_1.__metadata("design:type", breakpoint_manager_1.BreakpointManager)
67
+ ], DebugBreakpointsWidget.prototype, "breakpoints", void 0);
68
+ tslib_1.__decorate([
69
+ (0, inversify_1.inject)(debug_breakpoints_source_1.DebugBreakpointsSource),
70
+ tslib_1.__metadata("design:type", debug_breakpoints_source_1.DebugBreakpointsSource)
71
+ ], DebugBreakpointsWidget.prototype, "breakpointsSource", void 0);
72
+ tslib_1.__decorate([
73
+ (0, inversify_1.postConstruct)(),
74
+ tslib_1.__metadata("design:type", Function),
75
+ tslib_1.__metadata("design:paramtypes", []),
76
+ tslib_1.__metadata("design:returntype", void 0)
77
+ ], DebugBreakpointsWidget.prototype, "init", null);
78
+ exports.DebugBreakpointsWidget = DebugBreakpointsWidget = DebugBreakpointsWidget_1 = tslib_1.__decorate([
79
+ (0, inversify_1.injectable)()
80
+ ], DebugBreakpointsWidget);
81
+ //# sourceMappingURL=debug-breakpoints-widget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-breakpoints-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-breakpoints-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;AAGxG,qEAAuE;AACvE,yEAAoE;AACpE,yEAAqE;AACrE,yDA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,GAAG,wBAAsB,CAAC,YAAY,EAAE,QAAQ,CAAC,AAArD,CAAsD;AAC/D,kCAAW,GAAG,CAAC,GAAG,wBAAsB,CAAC,YAAY,EAAE,UAAU,CAAC,AAAvD,CAAwD;AACnE,kCAAW,GAAG,CAAC,GAAG,wBAAsB,CAAC,YAAY,EAAE,UAAU,CAAC,AAAvD,CAAwD;AACnE,iCAAU,GAAG,mBAAmB,AAAtB,CAAuB;AAkBrB;IADlB,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACO,iCAAc;yDAAC;AAG1B;IADlB,IAAA,kBAAM,EAAC,sCAAiB,CAAC;sCACM,sCAAiB;2DAAC;AAG/B;IADlB,IAAA,kBAAM,EAAC,iDAAsB,CAAC;sCACO,iDAAsB;iEAAC;AAG1C;IADlB,IAAA,yBAAa,GAAE;;;;kDAOf;iCAvCQ,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CA6ClC"}
@@ -0,0 +1,67 @@
1
+ /********************************************************************************
2
+ * Copyright (C) 2021 Ericsson and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+ /// <reference types="react" />
17
+ import * as React from '@theia/core/shared/react';
18
+ import { DebugConfigurationManager } from '../debug-configuration-manager';
19
+ import { DebugSessionOptions } from '../debug-session-options';
20
+ import { SelectOption } from '@theia/core/lib/browser/widgets/select-component';
21
+ import { QuickInputService } from '@theia/core/lib/browser';
22
+ import { DebugSessionConfigurationLabelProvider } from '../debug-session-configuration-label-provider';
23
+ interface DynamicPickItem {
24
+ label: string;
25
+ configurationType: string;
26
+ request: string;
27
+ providerType: string;
28
+ workspaceFolderUri?: string;
29
+ }
30
+ export interface DebugConfigurationSelectProps {
31
+ manager: DebugConfigurationManager;
32
+ quickInputService: QuickInputService;
33
+ labelProvider: DebugSessionConfigurationLabelProvider;
34
+ isMultiRoot: boolean;
35
+ }
36
+ export interface DebugProviderSelectState {
37
+ providerTypes: string[];
38
+ currentValue: string | undefined;
39
+ }
40
+ export declare class DebugConfigurationSelect extends React.Component<DebugConfigurationSelectProps, DebugProviderSelectState> {
41
+ protected static readonly SEPARATOR = "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500";
42
+ protected static readonly PICK = "__PICK__";
43
+ protected static readonly NO_CONFIGURATION = "__NO_CONF__";
44
+ protected static readonly ADD_CONFIGURATION = "__ADD_CONF__";
45
+ protected static readonly CONFIG_MARKER = "__CONFIG__";
46
+ private readonly selectRef;
47
+ private manager;
48
+ private quickInputService;
49
+ constructor(props: DebugConfigurationSelectProps);
50
+ componentDidUpdate(): void;
51
+ componentDidMount(): void;
52
+ render(): React.ReactNode;
53
+ protected get currentValue(): string;
54
+ protected getCurrentOption(current: DebugSessionOptions | undefined): SelectOption | undefined;
55
+ protected matchesOption(sessionOption: DebugSessionOptions, current: DebugSessionOptions): boolean;
56
+ protected readonly setCurrentConfiguration: (option: SelectOption) => false | undefined;
57
+ protected toPickValue(providerType: string): string;
58
+ protected parsePickValue(value: string): string;
59
+ protected resolveDynamicConfigurationPicks(providerType: string): Promise<DynamicPickItem[]>;
60
+ protected selectDynamicConfigFromQuickPick(providerType: string): Promise<void>;
61
+ protected refreshDebugConfigurations: () => Promise<void>;
62
+ protected renderOptions(): SelectOption[];
63
+ protected toName(options: DebugSessionOptions, multiRoot: boolean): string;
64
+ protected toBaseName(uri: string | undefined): string;
65
+ }
66
+ export {};
67
+ //# sourceMappingURL=debug-configuration-select.d.ts.map
@@ -0,0 +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AAC,MAAM,CAAC,QAAQ,CAAC,aAAa,gBAAgB;IAEvD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsC;IAChE,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,iBAAiB,CAAoB;gBAEjC,KAAK,EAAE,6BAA6B;IAavC,kBAAkB,IAAI,IAAI;IAO1B,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;IAWlC,SAAS,KAAK,YAAY,IAAI,MAAM,CAInC;IAED,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,mBAAmB,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS;IAW9F,SAAS,CAAC,aAAa,CAAC,aAAa,EAAE,mBAAmB,EAAE,OAAO,EAAE,mBAAmB,GAAG,OAAO;IAOlG,SAAS,CAAC,QAAQ,CAAC,uBAAuB,WAAY,YAAY,uBAchE;IAEF,SAAS,CAAC,WAAW,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAInD,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;cAI/B,gCAAgC,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;cAkBlF,gCAAgC,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA2BrF,SAAS,CAAC,0BAA0B,sBAYlC;IAEF,SAAS,CAAC,aAAa,IAAI,YAAY,EAAE;IAmEzC,SAAS,CAAC,MAAM,CAAC,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM;IAI1E,SAAS,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM;CAGxD"}
@@ -0,0 +1,212 @@
1
+ "use strict";
2
+ /********************************************************************************
3
+ * Copyright (C) 2021 Ericsson 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.DebugConfigurationSelect = void 0;
19
+ const uri_1 = require("@theia/core/lib/common/uri");
20
+ const React = require("@theia/core/shared/react");
21
+ const debug_session_options_1 = require("../debug-session-options");
22
+ const select_component_1 = require("@theia/core/lib/browser/widgets/select-component");
23
+ const nls_1 = require("@theia/core/lib/common/nls");
24
+ class DebugConfigurationSelect extends React.Component {
25
+ constructor(props) {
26
+ super(props);
27
+ this.selectRef = React.createRef();
28
+ this.setCurrentConfiguration = (option) => {
29
+ const value = option.value;
30
+ if (!value) {
31
+ return false;
32
+ }
33
+ else if (value === DebugConfigurationSelect.ADD_CONFIGURATION) {
34
+ setTimeout(() => this.manager.addConfiguration());
35
+ }
36
+ else if (value.startsWith(DebugConfigurationSelect.PICK)) {
37
+ const providerType = this.parsePickValue(value);
38
+ this.selectDynamicConfigFromQuickPick(providerType);
39
+ }
40
+ else {
41
+ const data = JSON.parse(value);
42
+ this.manager.current = data;
43
+ this.refreshDebugConfigurations();
44
+ }
45
+ };
46
+ this.refreshDebugConfigurations = async () => {
47
+ const configsOptionsPerType = await this.manager.provideDynamicDebugConfigurations();
48
+ const providerTypes = [];
49
+ for (const [type, configurationsOptions] of Object.entries(configsOptionsPerType)) {
50
+ if (configurationsOptions.length > 0) {
51
+ providerTypes.push(type);
52
+ }
53
+ }
54
+ const value = this.currentValue;
55
+ this.selectRef.current.value = value;
56
+ this.setState({ providerTypes, currentValue: value });
57
+ };
58
+ this.manager = props.manager;
59
+ this.quickInputService = props.quickInputService;
60
+ this.state = {
61
+ providerTypes: [],
62
+ currentValue: undefined
63
+ };
64
+ this.manager.onDidChangeConfigurationProviders(() => {
65
+ this.refreshDebugConfigurations();
66
+ });
67
+ }
68
+ componentDidUpdate() {
69
+ var _a;
70
+ // synchronize the currentValue with the selectComponent value
71
+ if (((_a = this.selectRef.current) === null || _a === void 0 ? void 0 : _a.value) !== this.currentValue) {
72
+ this.refreshDebugConfigurations();
73
+ }
74
+ }
75
+ componentDidMount() {
76
+ this.refreshDebugConfigurations();
77
+ }
78
+ render() {
79
+ return React.createElement(select_component_1.SelectComponent, { options: this.renderOptions(), defaultValue: this.state.currentValue, onChange: option => this.setCurrentConfiguration(option), onFocus: () => this.refreshDebugConfigurations(), onBlur: () => this.refreshDebugConfigurations(), ref: this.selectRef });
80
+ }
81
+ get currentValue() {
82
+ const { current } = this.manager;
83
+ const matchingOption = this.getCurrentOption(current);
84
+ return matchingOption ? matchingOption.value : current ? JSON.stringify(current) : DebugConfigurationSelect.NO_CONFIGURATION;
85
+ }
86
+ getCurrentOption(current) {
87
+ if (!current || !this.selectRef.current) {
88
+ return;
89
+ }
90
+ const matchingOption = this.selectRef.current.options.find(option => option.userData === DebugConfigurationSelect.CONFIG_MARKER
91
+ && this.matchesOption(JSON.parse(option.value), current));
92
+ return matchingOption;
93
+ }
94
+ matchesOption(sessionOption, current) {
95
+ const matchesNameAndWorkspace = sessionOption.name === current.name && sessionOption.workspaceFolderUri === current.workspaceFolderUri;
96
+ return debug_session_options_1.DebugSessionOptions.isConfiguration(sessionOption) && debug_session_options_1.DebugSessionOptions.isConfiguration(current)
97
+ ? matchesNameAndWorkspace && sessionOption.providerType === current.providerType
98
+ : matchesNameAndWorkspace;
99
+ }
100
+ toPickValue(providerType) {
101
+ return DebugConfigurationSelect.PICK + providerType;
102
+ }
103
+ parsePickValue(value) {
104
+ return value.slice(DebugConfigurationSelect.PICK.length);
105
+ }
106
+ async resolveDynamicConfigurationPicks(providerType) {
107
+ const configurationsOfProviderType = (await this.manager.provideDynamicDebugConfigurations())[providerType];
108
+ if (!configurationsOfProviderType) {
109
+ return [];
110
+ }
111
+ return configurationsOfProviderType.map(options => ({
112
+ label: options.configuration.name,
113
+ configurationType: options.configuration.type,
114
+ request: options.configuration.request,
115
+ providerType: options.providerType,
116
+ description: this.toBaseName(options.workspaceFolderUri),
117
+ workspaceFolderUri: options.workspaceFolderUri
118
+ }));
119
+ }
120
+ async selectDynamicConfigFromQuickPick(providerType) {
121
+ const picks = await this.resolveDynamicConfigurationPicks(providerType);
122
+ if (picks.length === 0) {
123
+ return;
124
+ }
125
+ const selected = await this.quickInputService.showQuickPick(picks, {
126
+ placeholder: nls_1.nls.localizeByDefault('Select Launch Configuration')
127
+ });
128
+ if (!selected) {
129
+ return;
130
+ }
131
+ const selectedConfiguration = {
132
+ name: selected.label,
133
+ type: selected.configurationType,
134
+ request: selected.request
135
+ };
136
+ this.manager.current = this.manager.find(selectedConfiguration, selected.workspaceFolderUri, selected.providerType);
137
+ this.refreshDebugConfigurations();
138
+ }
139
+ renderOptions() {
140
+ const options = [];
141
+ // Add non dynamic debug configurations
142
+ for (const config of this.manager.all) {
143
+ const value = JSON.stringify(config);
144
+ options.push({
145
+ value,
146
+ label: this.toName(config, this.props.isMultiRoot),
147
+ userData: DebugConfigurationSelect.CONFIG_MARKER
148
+ });
149
+ }
150
+ // Add recently used dynamic debug configurations
151
+ const { recentDynamicOptions } = this.manager;
152
+ if (recentDynamicOptions.length > 0) {
153
+ if (options.length > 0) {
154
+ options.push({
155
+ separator: true
156
+ });
157
+ }
158
+ for (const dynamicOption of recentDynamicOptions) {
159
+ const value = JSON.stringify(dynamicOption);
160
+ options.push({
161
+ value,
162
+ label: this.toName(dynamicOption, this.props.isMultiRoot) + ' (' + dynamicOption.providerType + ')',
163
+ userData: DebugConfigurationSelect.CONFIG_MARKER
164
+ });
165
+ }
166
+ }
167
+ // Placing a 'No Configuration' entry enables proper functioning of the 'onChange' event, by
168
+ // having an entry to switch from (E.g. a case where only one dynamic configuration type is available)
169
+ if (options.length === 0) {
170
+ const value = DebugConfigurationSelect.NO_CONFIGURATION;
171
+ options.push({
172
+ value,
173
+ label: nls_1.nls.localizeByDefault('No Configurations')
174
+ });
175
+ }
176
+ // Add dynamic configuration types for quick pick selection
177
+ const types = this.state.providerTypes;
178
+ if (types.length > 0) {
179
+ options.push({
180
+ separator: true
181
+ });
182
+ for (const type of types) {
183
+ const value = this.toPickValue(type);
184
+ options.push({
185
+ value,
186
+ label: type + '...'
187
+ });
188
+ }
189
+ }
190
+ options.push({
191
+ separator: true
192
+ });
193
+ options.push({
194
+ value: DebugConfigurationSelect.ADD_CONFIGURATION,
195
+ label: nls_1.nls.localizeByDefault('Add Configuration...')
196
+ });
197
+ return options;
198
+ }
199
+ toName(options, multiRoot) {
200
+ return this.props.labelProvider.getLabel(options, multiRoot);
201
+ }
202
+ toBaseName(uri) {
203
+ return uri ? new uri_1.default(uri).path.base : '';
204
+ }
205
+ }
206
+ exports.DebugConfigurationSelect = DebugConfigurationSelect;
207
+ DebugConfigurationSelect.SEPARATOR = '──────────';
208
+ DebugConfigurationSelect.PICK = '__PICK__';
209
+ DebugConfigurationSelect.NO_CONFIGURATION = '__NO_CONF__';
210
+ DebugConfigurationSelect.ADD_CONFIGURATION = '__ADD_CONF__';
211
+ DebugConfigurationSelect.CONFIG_MARKER = '__CONFIG__';
212
+ //# sourceMappingURL=debug-configuration-select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-configuration-select.js","sourceRoot":"","sources":["../../../src/browser/view/debug-configuration-select.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,oDAA6C;AAC7C,kDAAkD;AAElD,oEAA+D;AAC/D,uFAAiG;AAEjG,oDAAiD;AAiBjD,MAAa,wBAAyB,SAAQ,KAAK,CAAC,SAAkE;IAWlH,YAAY,KAAoC;QAC5C,KAAK,CAAC,KAAK,CAAC,CAAC;QALA,cAAS,GAAG,KAAK,CAAC,SAA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AE,CAAC;IAC7C,CAAC;;AAlOL,4DAmOC;AAlO6B,kCAAS,GAAG,YAAY,AAAf,CAAgB;AACzB,6BAAI,GAAG,UAAU,AAAb,CAAc;AAClB,yCAAgB,GAAG,aAAa,AAAhB,CAAiB;AACjC,0CAAiB,GAAG,cAAc,AAAjB,CAAkB;AACnC,sCAAa,GAAG,YAAY,AAAf,CAAgB"}
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ import { ReactWidget, QuickInputService } from '@theia/core/lib/browser';
3
+ import { CommandRegistry, DisposableCollection, MessageService } from '@theia/core/lib/common';
4
+ import * as React from '@theia/core/shared/react';
5
+ import { WorkspaceService } from '@theia/workspace/lib/browser';
6
+ import { DebugConsoleContribution } from '../console/debug-console-contribution';
7
+ import { DebugConfigurationManager } from '../debug-configuration-manager';
8
+ import { DebugSessionManager } from '../debug-session-manager';
9
+ import { DebugAction } from './debug-action';
10
+ import { DebugViewModel } from './debug-view-model';
11
+ import { DebugSessionConfigurationLabelProvider } from '../debug-session-configuration-label-provider';
12
+ export declare class DebugConfigurationWidget extends ReactWidget {
13
+ protected readonly commandRegistry: CommandRegistry;
14
+ protected readonly viewModel: DebugViewModel;
15
+ protected readonly manager: DebugConfigurationManager;
16
+ protected readonly sessionManager: DebugSessionManager;
17
+ protected readonly debugConsole: DebugConsoleContribution;
18
+ protected readonly quickInputService: QuickInputService;
19
+ protected readonly workspaceService: WorkspaceService;
20
+ protected readonly messageService: MessageService;
21
+ protected readonly sessionConfigurationLabelProvider: DebugSessionConfigurationLabelProvider;
22
+ protected readonly onRender: DisposableCollection;
23
+ protected init(): void;
24
+ focus(): void;
25
+ protected doFocus(): boolean;
26
+ protected stepRef: DebugAction | undefined;
27
+ protected setStepRef: (stepRef: DebugAction | null) => void;
28
+ render(): React.ReactNode;
29
+ protected readonly start: () => Promise<void>;
30
+ protected readonly openConfiguration: () => Promise<void>;
31
+ protected readonly openConsole: () => Promise<import("@theia/console/lib/browser/console-widget").ConsoleWidget>;
32
+ }
33
+ //# sourceMappingURL=debug-configuration-widget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug-configuration-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-configuration-widget.tsx"],"names":[],"mappings":";AAgBA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,eAAe,EAAc,oBAAoB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE3G,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,sCAAsC,EAAE,MAAM,+CAA+C,CAAC;AAEvG,qBACa,wBAAyB,SAAQ,WAAW;IAGrD,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAGpD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IAG7C,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,yBAAyB,CAAC;IAGtD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,mBAAmB,CAAC;IAGvD,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,wBAAwB,CAAC;IAG1D,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAGxD,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAGtD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IAGlD,SAA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