@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,63 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.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
- for (const functionBreakpoint of this.model.functionBreakpoints) {
35
- yield functionBreakpoint;
36
- }
37
- for (const instructionBreakpoint of this.model.instructionBreakpoints) {
38
- yield instructionBreakpoint;
39
- }
40
- for (const breakpoint of this.model.breakpoints) {
41
- yield breakpoint;
42
- }
43
- }
44
- };
45
- exports.DebugBreakpointsSource = DebugBreakpointsSource;
46
- tslib_1.__decorate([
47
- (0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
48
- tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
49
- ], DebugBreakpointsSource.prototype, "model", void 0);
50
- tslib_1.__decorate([
51
- (0, inversify_1.inject)(breakpoint_manager_1.BreakpointManager),
52
- tslib_1.__metadata("design:type", breakpoint_manager_1.BreakpointManager)
53
- ], DebugBreakpointsSource.prototype, "breakpoints", void 0);
54
- tslib_1.__decorate([
55
- (0, inversify_1.postConstruct)(),
56
- tslib_1.__metadata("design:type", Function),
57
- tslib_1.__metadata("design:paramtypes", []),
58
- tslib_1.__metadata("design:returntype", void 0)
59
- ], DebugBreakpointsSource.prototype, "init", null);
60
- exports.DebugBreakpointsSource = DebugBreakpointsSource = tslib_1.__decorate([
61
- (0, inversify_1.injectable)()
62
- ], DebugBreakpointsSource);
63
- //# sourceMappingURL=debug-breakpoints-source.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-breakpoints-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-breakpoints-source.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAiF;AACjF,qEAA8E;AAC9E,yDAAoD;AACpD,yEAAqE;AACrE,6EAAwE;AAGjE,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,wBAAU;IASxC,IAAI;QACV,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IACvF,CAAC;IAED,CAAC,WAAW;QACR,KAAK,MAAM,mBAAmB,IAAI,IAAI,CAAC,WAAW,CAAC,uBAAuB,EAAE,EAAE,CAAC;YAC3E,MAAM,IAAI,qDAAwB,CAAC,mBAAmB,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9E,CAAC;QACD,KAAK,MAAM,kBAAkB,IAAI,IAAI,CAAC,KAAK,CAAC,mBAAmB,EAAE,CAAC;YAC9D,MAAM,kBAAkB,CAAC;QAC7B,CAAC;QACD,KAAK,MAAM,qBAAqB,IAAI,IAAI,CAAC,KAAK,CAAC,sBAAsB,EAAE,CAAC;YACpE,MAAM,qBAAqB,CAAC;QAChC,CAAC;QACD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;YAC9C,MAAM,UAAU,CAAC;QACrB,CAAC;IACL,CAAC;CAEJ,CAAA;AA7BY,wDAAsB;AAGZ;IADlB,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACG,iCAAc;qDAAC;AAGtB;IADlB,IAAA,kBAAM,EAAC,sCAAiB,CAAC;sCACM,sCAAiB;2DAAC;AAGxC;IADT,IAAA,yBAAa,GAAE;;;;kDAIf;iCAZQ,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CA6BlC"}
@@ -1,23 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,81 +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 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
@@ -1 +0,0 @@
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,yDA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QACnE,OAAO,SAAS,CAAC;IACrB,CAAC;;AA3CQ,wDAAsB;AAExB,mCAAY,GAAa,CAAC,gCAAgC,CAAC,AAA/C,CAAgD;AAC5D,gCAAS,GAAG,CAAC,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"}
@@ -1,67 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-configuration-select.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-configuration-select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;;AAGlF,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAmB,YAAY,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,sCAAsC,EAAE,MAAM,+CAA+C,CAAC;AAEvG,UAAU,eAAe;IAAG,KAAK,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAC;IAAC,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAAE;AAE1I,MAAM,WAAW,6BAA6B;IAC1C,OAAO,EAAE,yBAAyB,CAAC;IACnC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,aAAa,EAAE,sCAAsC,CAAC;IACtD,WAAW,EAAE,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,wBAAwB;IACrC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;CACnC;AAED,qBAAa,wBAAyB,SAAQ,KAAK,CAAC,SAAS,CAAC,6BAA6B,EAAE,wBAAwB,CAAC;IAClH,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,kEAAgB;IACnD,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,cAAc;IAC5C,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,iBAAiB;IAC3D,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,kBAAkB;IAC7D,SAAS,CAAC,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"}
@@ -1,212 +0,0 @@
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
@@ -1 +0,0 @@
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,SAAS,EAAmB,CAAC;QA+D7C,4BAAuB,GAAG,CAAC,MAAoB,EAAE,EAAE;YAClE,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;YAC3B,IAAI,CAAC,KAAK,EAAE,CAAC;gBACT,OAAO,KAAK,CAAC;YACjB,CAAC;iBAAM,IAAI,KAAK,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,sCAAa,GAAG,YAAY,AAAf,CAAgB"}
@@ -1,33 +0,0 @@
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
@@ -1 +0,0 @@
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,eAA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