@theia/debug 1.67.0-next.3 → 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 (346) 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 +52 -0
  8. package/src/browser/debug-frontend-module.ts +4 -0
  9. package/src/browser/debug-session-manager.ts +18 -0
  10. package/src/browser/debug-session.tsx +31 -0
  11. package/src/browser/editor/debug-expression-provider.ts +49 -4
  12. package/src/browser/editor/debug-hover-widget.ts +7 -52
  13. package/src/browser/model/debug-data-breakpoint.tsx +79 -0
  14. package/src/browser/style/index.css +4 -0
  15. package/src/browser/view/debug-breakpoints-source.tsx +4 -10
  16. package/src/browser/view/debug-stack-frames-widget.ts +6 -2
  17. package/src/browser/view/debug-variables-widget.ts +99 -2
  18. package/src/browser/view/debug-view-model.ts +5 -0
  19. package/lib/browser/breakpoint/breakpoint-manager.d.ts +0 -71
  20. package/lib/browser/breakpoint/breakpoint-manager.d.ts.map +0 -1
  21. package/lib/browser/breakpoint/breakpoint-manager.js +0 -321
  22. package/lib/browser/breakpoint/breakpoint-manager.js.map +0 -1
  23. package/lib/browser/breakpoint/breakpoint-marker.d.ts +0 -42
  24. package/lib/browser/breakpoint/breakpoint-marker.d.ts.map +0 -1
  25. package/lib/browser/breakpoint/breakpoint-marker.js +0 -88
  26. package/lib/browser/breakpoint/breakpoint-marker.js.map +0 -1
  27. package/lib/browser/console/debug-console-contribution.d.ts +0 -45
  28. package/lib/browser/console/debug-console-contribution.d.ts.map +0 -1
  29. package/lib/browser/console/debug-console-contribution.js +0 -233
  30. package/lib/browser/console/debug-console-contribution.js.map +0 -1
  31. package/lib/browser/console/debug-console-items.d.ts +0 -97
  32. package/lib/browser/console/debug-console-items.d.ts.map +0 -1
  33. package/lib/browser/console/debug-console-items.js +0 -343
  34. package/lib/browser/console/debug-console-items.js.map +0 -1
  35. package/lib/browser/console/debug-console-session.d.ts +0 -32
  36. package/lib/browser/console/debug-console-session.d.ts.map +0 -1
  37. package/lib/browser/console/debug-console-session.js +0 -192
  38. package/lib/browser/console/debug-console-session.js.map +0 -1
  39. package/lib/browser/debug-call-stack-item-type-key.d.ts +0 -4
  40. package/lib/browser/debug-call-stack-item-type-key.d.ts.map +0 -1
  41. package/lib/browser/debug-call-stack-item-type-key.js +0 -20
  42. package/lib/browser/debug-call-stack-item-type-key.js.map +0 -1
  43. package/lib/browser/debug-configuration-manager.d.ts +0 -103
  44. package/lib/browser/debug-configuration-manager.d.ts.map +0 -1
  45. package/lib/browser/debug-configuration-manager.js +0 -545
  46. package/lib/browser/debug-configuration-manager.js.map +0 -1
  47. package/lib/browser/debug-configuration-model.d.ts +0 -30
  48. package/lib/browser/debug-configuration-model.d.ts.map +0 -1
  49. package/lib/browser/debug-configuration-model.js +0 -80
  50. package/lib/browser/debug-configuration-model.js.map +0 -1
  51. package/lib/browser/debug-contribution.d.ts +0 -23
  52. package/lib/browser/debug-contribution.d.ts.map +0 -1
  53. package/lib/browser/debug-contribution.js +0 -20
  54. package/lib/browser/debug-contribution.js.map +0 -1
  55. package/lib/browser/debug-frontend-application-contribution.d.ts +0 -246
  56. package/lib/browser/debug-frontend-application-contribution.d.ts.map +0 -1
  57. package/lib/browser/debug-frontend-application-contribution.js +0 -1645
  58. package/lib/browser/debug-frontend-application-contribution.js.map +0 -1
  59. package/lib/browser/debug-frontend-module.d.ts +0 -5
  60. package/lib/browser/debug-frontend-module.d.ts.map +0 -1
  61. package/lib/browser/debug-frontend-module.js +0 -108
  62. package/lib/browser/debug-frontend-module.js.map +0 -1
  63. package/lib/browser/debug-package.spec.d.ts +0 -1
  64. package/lib/browser/debug-package.spec.d.ts.map +0 -1
  65. package/lib/browser/debug-package.spec.js +0 -19
  66. package/lib/browser/debug-package.spec.js.map +0 -1
  67. package/lib/browser/debug-prefix-configuration.d.ts +0 -52
  68. package/lib/browser/debug-prefix-configuration.d.ts.map +0 -1
  69. package/lib/browser/debug-prefix-configuration.js +0 -202
  70. package/lib/browser/debug-prefix-configuration.js.map +0 -1
  71. package/lib/browser/debug-resource.d.ts +0 -15
  72. package/lib/browser/debug-resource.d.ts.map +0 -1
  73. package/lib/browser/debug-resource.js +0 -58
  74. package/lib/browser/debug-resource.js.map +0 -1
  75. package/lib/browser/debug-schema-updater.d.ts +0 -14
  76. package/lib/browser/debug-schema-updater.d.ts.map +0 -1
  77. package/lib/browser/debug-schema-updater.js +0 -161
  78. package/lib/browser/debug-schema-updater.js.map +0 -1
  79. package/lib/browser/debug-session-configuration-label-provider.d.ts +0 -11
  80. package/lib/browser/debug-session-configuration-label-provider.d.ts.map +0 -1
  81. package/lib/browser/debug-session-configuration-label-provider.js +0 -48
  82. package/lib/browser/debug-session-configuration-label-provider.js.map +0 -1
  83. package/lib/browser/debug-session-configuration-label-provider.spec.d.ts +0 -2
  84. package/lib/browser/debug-session-configuration-label-provider.spec.d.ts.map +0 -1
  85. package/lib/browser/debug-session-configuration-label-provider.spec.js +0 -84
  86. package/lib/browser/debug-session-configuration-label-provider.spec.js.map +0 -1
  87. package/lib/browser/debug-session-connection.d.ts +0 -111
  88. package/lib/browser/debug-session-connection.d.ts.map +0 -1
  89. package/lib/browser/debug-session-connection.js +0 -259
  90. package/lib/browser/debug-session-connection.js.map +0 -1
  91. package/lib/browser/debug-session-contribution.d.ts +0 -77
  92. package/lib/browser/debug-session-contribution.d.ts.map +0 -1
  93. package/lib/browser/debug-session-contribution.js +0 -143
  94. package/lib/browser/debug-session-contribution.js.map +0 -1
  95. package/lib/browser/debug-session-manager.d.ts +0 -138
  96. package/lib/browser/debug-session-manager.d.ts.map +0 -1
  97. package/lib/browser/debug-session-manager.js +0 -620
  98. package/lib/browser/debug-session-manager.js.map +0 -1
  99. package/lib/browser/debug-session-options.d.ts +0 -56
  100. package/lib/browser/debug-session-options.d.ts.map +0 -1
  101. package/lib/browser/debug-session-options.js +0 -92
  102. package/lib/browser/debug-session-options.js.map +0 -1
  103. package/lib/browser/debug-session.d.ts +0 -192
  104. package/lib/browser/debug-session.d.ts.map +0 -1
  105. package/lib/browser/debug-session.js +0 -913
  106. package/lib/browser/debug-session.js.map +0 -1
  107. package/lib/browser/debug-tab-bar-decorator.d.ts +0 -17
  108. package/lib/browser/debug-tab-bar-decorator.d.ts.map +0 -1
  109. package/lib/browser/debug-tab-bar-decorator.js +0 -63
  110. package/lib/browser/debug-tab-bar-decorator.js.map +0 -1
  111. package/lib/browser/debug-watch-manager.d.ts +0 -22
  112. package/lib/browser/debug-watch-manager.d.ts.map +0 -1
  113. package/lib/browser/debug-watch-manager.js +0 -86
  114. package/lib/browser/debug-watch-manager.js.map +0 -1
  115. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts +0 -7
  116. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts.map +0 -1
  117. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js +0 -39
  118. package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js.map +0 -1
  119. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts +0 -20
  120. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts.map +0 -1
  121. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js +0 -111
  122. package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js.map +0 -1
  123. package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts +0 -25
  124. package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts.map +0 -1
  125. package/lib/browser/disassembly-view/disassembly-view-contribution.js +0 -124
  126. package/lib/browser/disassembly-view/disassembly-view-contribution.js.map +0 -1
  127. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts +0 -39
  128. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts.map +0 -1
  129. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js +0 -213
  130. package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js.map +0 -1
  131. package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts +0 -16
  132. package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts.map +0 -1
  133. package/lib/browser/disassembly-view/disassembly-view-table-delegate.js +0 -39
  134. package/lib/browser/disassembly-view/disassembly-view-table-delegate.js.map +0 -1
  135. package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts +0 -38
  136. package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts.map +0 -1
  137. package/lib/browser/disassembly-view/disassembly-view-utilities.js +0 -18
  138. package/lib/browser/disassembly-view/disassembly-view-utilities.js.map +0 -1
  139. package/lib/browser/disassembly-view/disassembly-view-widget.d.ts +0 -61
  140. package/lib/browser/disassembly-view/disassembly-view-widget.d.ts.map +0 -1
  141. package/lib/browser/disassembly-view/disassembly-view-widget.js +0 -446
  142. package/lib/browser/disassembly-view/disassembly-view-widget.js.map +0 -1
  143. package/lib/browser/editor/debug-breakpoint-widget.d.ts +0 -58
  144. package/lib/browser/editor/debug-breakpoint-widget.d.ts.map +0 -1
  145. package/lib/browser/editor/debug-breakpoint-widget.js +0 -270
  146. package/lib/browser/editor/debug-breakpoint-widget.js.map +0 -1
  147. package/lib/browser/editor/debug-editor-model.d.ts +0 -87
  148. package/lib/browser/editor/debug-editor-model.d.ts.map +0 -1
  149. package/lib/browser/editor/debug-editor-model.js +0 -499
  150. package/lib/browser/editor/debug-editor-model.js.map +0 -1
  151. package/lib/browser/editor/debug-editor-service.d.ts +0 -38
  152. package/lib/browser/editor/debug-editor-service.d.ts.map +0 -1
  153. package/lib/browser/editor/debug-editor-service.js +0 -183
  154. package/lib/browser/editor/debug-editor-service.js.map +0 -1
  155. package/lib/browser/editor/debug-editor.d.ts +0 -4
  156. package/lib/browser/editor/debug-editor.d.ts.map +0 -1
  157. package/lib/browser/editor/debug-editor.js +0 -20
  158. package/lib/browser/editor/debug-editor.js.map +0 -1
  159. package/lib/browser/editor/debug-exception-widget.d.ts +0 -30
  160. package/lib/browser/editor/debug-exception-widget.d.ts.map +0 -1
  161. package/lib/browser/editor/debug-exception-widget.js +0 -107
  162. package/lib/browser/editor/debug-exception-widget.js.map +0 -1
  163. package/lib/browser/editor/debug-expression-provider.d.ts +0 -12
  164. package/lib/browser/editor/debug-expression-provider.d.ts.map +0 -1
  165. package/lib/browser/editor/debug-expression-provider.js +0 -77
  166. package/lib/browser/editor/debug-expression-provider.js.map +0 -1
  167. package/lib/browser/editor/debug-hover-source.d.ts +0 -19
  168. package/lib/browser/editor/debug-hover-source.d.ts.map +0 -1
  169. package/lib/browser/editor/debug-hover-source.js +0 -110
  170. package/lib/browser/editor/debug-hover-source.js.map +0 -1
  171. package/lib/browser/editor/debug-hover-widget.d.ts +0 -61
  172. package/lib/browser/editor/debug-hover-widget.d.ts.map +0 -1
  173. package/lib/browser/editor/debug-hover-widget.js +0 -304
  174. package/lib/browser/editor/debug-hover-widget.js.map +0 -1
  175. package/lib/browser/editor/debug-inline-value-decorator.d.ts +0 -20
  176. package/lib/browser/editor/debug-inline-value-decorator.d.ts.map +0 -1
  177. package/lib/browser/editor/debug-inline-value-decorator.js +0 -326
  178. package/lib/browser/editor/debug-inline-value-decorator.js.map +0 -1
  179. package/lib/browser/model/debug-breakpoint.d.ts +0 -48
  180. package/lib/browser/model/debug-breakpoint.d.ts.map +0 -1
  181. package/lib/browser/model/debug-breakpoint.js +0 -111
  182. package/lib/browser/model/debug-breakpoint.js.map +0 -1
  183. package/lib/browser/model/debug-function-breakpoint.d.ts +0 -19
  184. package/lib/browser/model/debug-function-breakpoint.d.ts.map +0 -1
  185. package/lib/browser/model/debug-function-breakpoint.js +0 -93
  186. package/lib/browser/model/debug-function-breakpoint.js.map +0 -1
  187. package/lib/browser/model/debug-instruction-breakpoint.d.ts +0 -15
  188. package/lib/browser/model/debug-instruction-breakpoint.d.ts.map +0 -1
  189. package/lib/browser/model/debug-instruction-breakpoint.js +0 -66
  190. package/lib/browser/model/debug-instruction-breakpoint.js.map +0 -1
  191. package/lib/browser/model/debug-source-breakpoint.d.ts +0 -39
  192. package/lib/browser/model/debug-source-breakpoint.d.ts.map +0 -1
  193. package/lib/browser/model/debug-source-breakpoint.js +0 -219
  194. package/lib/browser/model/debug-source-breakpoint.js.map +0 -1
  195. package/lib/browser/model/debug-source.d.ts +0 -25
  196. package/lib/browser/model/debug-source.d.ts.map +0 -1
  197. package/lib/browser/model/debug-source.js +0 -81
  198. package/lib/browser/model/debug-source.js.map +0 -1
  199. package/lib/browser/model/debug-stack-frame.d.ts +0 -45
  200. package/lib/browser/model/debug-stack-frame.d.ts.map +0 -1
  201. package/lib/browser/model/debug-stack-frame.js +0 -157
  202. package/lib/browser/model/debug-stack-frame.js.map +0 -1
  203. package/lib/browser/model/debug-thread.d.ts +0 -68
  204. package/lib/browser/model/debug-thread.d.ts.map +0 -1
  205. package/lib/browser/model/debug-thread.js +0 -262
  206. package/lib/browser/model/debug-thread.js.map +0 -1
  207. package/lib/browser/view/debug-action.d.ts +0 -18
  208. package/lib/browser/view/debug-action.d.ts.map +0 -1
  209. package/lib/browser/view/debug-action.js +0 -44
  210. package/lib/browser/view/debug-action.js.map +0 -1
  211. package/lib/browser/view/debug-breakpoints-source.d.ts +0 -10
  212. package/lib/browser/view/debug-breakpoints-source.d.ts.map +0 -1
  213. package/lib/browser/view/debug-breakpoints-source.js +0 -63
  214. package/lib/browser/view/debug-breakpoints-source.js.map +0 -1
  215. package/lib/browser/view/debug-breakpoints-widget.d.ts +0 -23
  216. package/lib/browser/view/debug-breakpoints-widget.d.ts.map +0 -1
  217. package/lib/browser/view/debug-breakpoints-widget.js +0 -81
  218. package/lib/browser/view/debug-breakpoints-widget.js.map +0 -1
  219. package/lib/browser/view/debug-configuration-select.d.ts +0 -67
  220. package/lib/browser/view/debug-configuration-select.d.ts.map +0 -1
  221. package/lib/browser/view/debug-configuration-select.js +0 -212
  222. package/lib/browser/view/debug-configuration-select.js.map +0 -1
  223. package/lib/browser/view/debug-configuration-widget.d.ts +0 -33
  224. package/lib/browser/view/debug-configuration-widget.d.ts.map +0 -1
  225. package/lib/browser/view/debug-configuration-widget.js +0 -137
  226. package/lib/browser/view/debug-configuration-widget.js.map +0 -1
  227. package/lib/browser/view/debug-exception-breakpoint.d.ts +0 -15
  228. package/lib/browser/view/debug-exception-breakpoint.d.ts.map +0 -1
  229. package/lib/browser/view/debug-exception-breakpoint.js +0 -62
  230. package/lib/browser/view/debug-exception-breakpoint.js.map +0 -1
  231. package/lib/browser/view/debug-session-widget.d.ts +0 -29
  232. package/lib/browser/view/debug-session-widget.d.ts.map +0 -1
  233. package/lib/browser/view/debug-session-widget.js +0 -127
  234. package/lib/browser/view/debug-session-widget.js.map +0 -1
  235. package/lib/browser/view/debug-stack-frames-source.d.ts +0 -18
  236. package/lib/browser/view/debug-stack-frames-source.d.ts.map +0 -1
  237. package/lib/browser/view/debug-stack-frames-source.js +0 -83
  238. package/lib/browser/view/debug-stack-frames-source.js.map +0 -1
  239. package/lib/browser/view/debug-stack-frames-widget.d.ts +0 -25
  240. package/lib/browser/view/debug-stack-frames-widget.d.ts.map +0 -1
  241. package/lib/browser/view/debug-stack-frames-widget.js +0 -147
  242. package/lib/browser/view/debug-stack-frames-widget.js.map +0 -1
  243. package/lib/browser/view/debug-threads-source.d.ts +0 -9
  244. package/lib/browser/view/debug-threads-source.d.ts.map +0 -1
  245. package/lib/browser/view/debug-threads-source.js +0 -56
  246. package/lib/browser/view/debug-threads-source.js.map +0 -1
  247. package/lib/browser/view/debug-threads-widget.d.ts +0 -27
  248. package/lib/browser/view/debug-threads-widget.d.ts.map +0 -1
  249. package/lib/browser/view/debug-threads-widget.js +0 -139
  250. package/lib/browser/view/debug-threads-widget.js.map +0 -1
  251. package/lib/browser/view/debug-toolbar-widget.d.ts +0 -34
  252. package/lib/browser/view/debug-toolbar-widget.d.ts.map +0 -1
  253. package/lib/browser/view/debug-toolbar-widget.js +0 -139
  254. package/lib/browser/view/debug-toolbar-widget.js.map +0 -1
  255. package/lib/browser/view/debug-variables-source.d.ts +0 -10
  256. package/lib/browser/view/debug-variables-source.d.ts.map +0 -1
  257. package/lib/browser/view/debug-variables-source.js +0 -53
  258. package/lib/browser/view/debug-variables-source.js.map +0 -1
  259. package/lib/browser/view/debug-variables-widget.d.ts +0 -17
  260. package/lib/browser/view/debug-variables-widget.d.ts.map +0 -1
  261. package/lib/browser/view/debug-variables-widget.js +0 -71
  262. package/lib/browser/view/debug-variables-widget.js.map +0 -1
  263. package/lib/browser/view/debug-view-model.d.ts +0 -53
  264. package/lib/browser/view/debug-view-model.d.ts.map +0 -1
  265. package/lib/browser/view/debug-view-model.js +0 -212
  266. package/lib/browser/view/debug-view-model.js.map +0 -1
  267. package/lib/browser/view/debug-watch-expression.d.ts +0 -33
  268. package/lib/browser/view/debug-watch-expression.d.ts.map +0 -1
  269. package/lib/browser/view/debug-watch-expression.js +0 -93
  270. package/lib/browser/view/debug-watch-expression.js.map +0 -1
  271. package/lib/browser/view/debug-watch-source.d.ts +0 -10
  272. package/lib/browser/view/debug-watch-source.d.ts.map +0 -1
  273. package/lib/browser/view/debug-watch-source.js +0 -51
  274. package/lib/browser/view/debug-watch-source.js.map +0 -1
  275. package/lib/browser/view/debug-watch-widget.d.ts +0 -17
  276. package/lib/browser/view/debug-watch-widget.d.ts.map +0 -1
  277. package/lib/browser/view/debug-watch-widget.js +0 -71
  278. package/lib/browser/view/debug-watch-widget.js.map +0 -1
  279. package/lib/browser/view/debug-widget.d.ts +0 -24
  280. package/lib/browser/view/debug-widget.d.ts.map +0 -1
  281. package/lib/browser/view/debug-widget.js +0 -101
  282. package/lib/browser/view/debug-widget.js.map +0 -1
  283. package/lib/common/debug-adapter-contribution-registry.d.ts +0 -60
  284. package/lib/common/debug-adapter-contribution-registry.d.ts.map +0 -1
  285. package/lib/common/debug-adapter-contribution-registry.js +0 -205
  286. package/lib/common/debug-adapter-contribution-registry.js.map +0 -1
  287. package/lib/common/debug-adapter-session.d.ts +0 -19
  288. package/lib/common/debug-adapter-session.d.ts.map +0 -1
  289. package/lib/common/debug-adapter-session.js +0 -79
  290. package/lib/common/debug-adapter-session.js.map +0 -1
  291. package/lib/common/debug-common.d.ts +0 -2
  292. package/lib/common/debug-common.d.ts.map +0 -1
  293. package/lib/common/debug-common.js +0 -21
  294. package/lib/common/debug-common.js.map +0 -1
  295. package/lib/common/debug-compound.d.ts +0 -15
  296. package/lib/common/debug-compound.d.ts.map +0 -1
  297. package/lib/common/debug-compound.js +0 -28
  298. package/lib/common/debug-compound.js.map +0 -1
  299. package/lib/common/debug-configuration.d.ts +0 -77
  300. package/lib/common/debug-configuration.d.ts.map +0 -1
  301. package/lib/common/debug-configuration.js +0 -32
  302. package/lib/common/debug-configuration.js.map +0 -1
  303. package/lib/common/debug-model.d.ts +0 -153
  304. package/lib/common/debug-model.d.ts.map +0 -1
  305. package/lib/common/debug-model.js +0 -36
  306. package/lib/common/debug-model.js.map +0 -1
  307. package/lib/common/debug-preferences.d.ts +0 -18
  308. package/lib/common/debug-preferences.d.ts.map +0 -1
  309. package/lib/common/debug-preferences.js +0 -89
  310. package/lib/common/debug-preferences.js.map +0 -1
  311. package/lib/common/debug-service.d.ts +0 -124
  312. package/lib/common/debug-service.d.ts.map +0 -1
  313. package/lib/common/debug-service.js +0 -67
  314. package/lib/common/debug-service.js.map +0 -1
  315. package/lib/common/debug-uri-utils.d.ts +0 -24
  316. package/lib/common/debug-uri-utils.d.ts.map +0 -1
  317. package/lib/common/debug-uri-utils.js +0 -27
  318. package/lib/common/debug-uri-utils.js.map +0 -1
  319. package/lib/common/inline-debug-adapter.d.ts +0 -19
  320. package/lib/common/inline-debug-adapter.d.ts.map +0 -1
  321. package/lib/common/inline-debug-adapter.js +0 -45
  322. package/lib/common/inline-debug-adapter.js.map +0 -1
  323. package/lib/common/launch-preferences.d.ts +0 -6
  324. package/lib/common/launch-preferences.d.ts.map +0 -1
  325. package/lib/common/launch-preferences.js +0 -37
  326. package/lib/common/launch-preferences.js.map +0 -1
  327. package/lib/node/debug-adapter-factory.d.ts +0 -20
  328. package/lib/node/debug-adapter-factory.d.ts.map +0 -1
  329. package/lib/node/debug-adapter-factory.js +0 -89
  330. package/lib/node/debug-adapter-factory.js.map +0 -1
  331. package/lib/node/debug-adapter-session-manager.d.ts +0 -38
  332. package/lib/node/debug-adapter-session-manager.d.ts.map +0 -1
  333. package/lib/node/debug-adapter-session-manager.js +0 -104
  334. package/lib/node/debug-adapter-session-manager.js.map +0 -1
  335. package/lib/node/debug-backend-module.d.ts +0 -4
  336. package/lib/node/debug-backend-module.d.ts.map +0 -1
  337. package/lib/node/debug-backend-module.js +0 -45
  338. package/lib/node/debug-backend-module.js.map +0 -1
  339. package/lib/node/debug-service-impl.d.ts +0 -31
  340. package/lib/node/debug-service-impl.d.ts.map +0 -1
  341. package/lib/node/debug-service-impl.js +0 -117
  342. package/lib/node/debug-service-impl.js.map +0 -1
  343. package/lib/node/stream-debug-adapter.d.ts +0 -41
  344. package/lib/node/stream-debug-adapter.d.ts.map +0 -1
  345. package/lib/node/stream-debug-adapter.js +0 -113
  346. package/lib/node/stream-debug-adapter.js.map +0 -1
@@ -1,79 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 Red Hat, Inc. and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.DebugAdapterSessionImpl = void 0;
19
- /**
20
- * [DebugAdapterSession](#DebugAdapterSession) implementation.
21
- */
22
- class DebugAdapterSessionImpl {
23
- constructor(id, debugAdapter) {
24
- this.id = id;
25
- this.debugAdapter = debugAdapter;
26
- this.isClosed = false;
27
- this.debugAdapter.onMessageReceived((message) => this.send(message));
28
- this.debugAdapter.onClose(() => this.onDebugAdapterExit());
29
- this.debugAdapter.onError(error => this.onDebugAdapterError(error));
30
- }
31
- async start(channel) {
32
- console.debug(`starting debug adapter session '${this.id}'`);
33
- if (this.channel) {
34
- throw new Error('The session has already been started, id: ' + this.id);
35
- }
36
- this.channel = channel;
37
- this.channel.onMessage((message) => this.write(message));
38
- this.channel.onClose(() => this.channel = undefined);
39
- }
40
- onDebugAdapterExit() {
41
- this.isClosed = true;
42
- console.debug(`onDebugAdapterExit session: '${this.id}'`);
43
- if (this.channel) {
44
- this.channel.close();
45
- this.channel = undefined;
46
- }
47
- }
48
- onDebugAdapterError(error) {
49
- console.debug(`error in debug adapter session: '${this.id}': ${JSON.stringify(error)}`);
50
- const event = {
51
- type: 'event',
52
- event: 'error',
53
- seq: -1,
54
- body: error
55
- };
56
- this.send(JSON.stringify(event));
57
- }
58
- send(message) {
59
- if (this.channel) {
60
- this.channel.send(message);
61
- }
62
- }
63
- write(message) {
64
- if (!this.isClosed) {
65
- this.debugAdapter.send(message);
66
- }
67
- }
68
- async stop() {
69
- var _a;
70
- console.debug(`stopping debug adapter session: '${this.id}'`);
71
- if (!this.isClosed) {
72
- await this.debugAdapter.stop();
73
- }
74
- (_a = this.channel) === null || _a === void 0 ? void 0 : _a.close();
75
- this.channel = undefined;
76
- }
77
- }
78
- exports.DebugAdapterSessionImpl = DebugAdapterSessionImpl;
79
- //# sourceMappingURL=debug-adapter-session.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-adapter-session.js","sourceRoot":"","sources":["../../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,IAAI,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;IAC7B,CAAC;CACJ;AAnED,0DAmEC"}
@@ -1,2 +0,0 @@
1
- export * from './debug-configuration';
2
- //# sourceMappingURL=debug-common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-common.d.ts","sourceRoot":"","sources":["../../src/common/debug-common.ts"],"names":[],"mappings":"AAkBA,cAAc,uBAAuB,CAAC"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 Red Hat, Inc. and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- const tslib_1 = require("tslib");
19
- // FIXME: refactor extensions to get rid of this file and remove it
20
- tslib_1.__exportStar(require("./debug-configuration"), exports);
21
- //# sourceMappingURL=debug-common.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-common.js","sourceRoot":"","sources":["../../src/common/debug-common.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,mEAAmE;AAEnE,gEAAsC"}
@@ -1,15 +0,0 @@
1
- import { TaskIdentifier } from '@theia/task/lib/common';
2
- export declare const defaultCompound: DebugCompound;
3
- export interface DebugCompound {
4
- name: string;
5
- stopAll?: boolean;
6
- preLaunchTask?: string | TaskIdentifier;
7
- configurations: (string | {
8
- name: string;
9
- folder: string;
10
- })[];
11
- }
12
- export declare namespace DebugCompound {
13
- function is(arg: unknown): arg is DebugCompound;
14
- }
15
- //# sourceMappingURL=debug-compound.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-compound.d.ts","sourceRoot":"","sources":["../../src/common/debug-compound.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,eAAO,MAAM,eAAe,EAAE,aAAwD,CAAC;AAEvF,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IACxC,cAAc,EAAE,CAAC,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;CACjE;AAED,yBAAiB,aAAa,CAAC;IAC3B,SAAgB,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,aAAa,CAErD;CACJ"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2022 EclipseSource 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.DebugCompound = exports.defaultCompound = void 0;
19
- const common_1 = require("@theia/core/lib/common");
20
- exports.defaultCompound = { name: 'Compound', configurations: [] };
21
- var DebugCompound;
22
- (function (DebugCompound) {
23
- function is(arg) {
24
- return (0, common_1.isObject)(arg) && 'name' in arg && 'configurations' in arg;
25
- }
26
- DebugCompound.is = is;
27
- })(DebugCompound || (exports.DebugCompound = DebugCompound = {}));
28
- //# sourceMappingURL=debug-compound.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-compound.js","sourceRoot":"","sources":["../../src/common/debug-compound.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,mDAAkD;AAGrC,QAAA,eAAe,GAAkB,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC;AASvF,IAAiB,aAAa,CAI7B;AAJD,WAAiB,aAAa;IAC1B,SAAgB,EAAE,CAAC,GAAY;QAC3B,OAAO,IAAA,iBAAQ,EAAC,GAAG,CAAC,IAAI,MAAM,IAAI,GAAG,IAAI,gBAAgB,IAAI,GAAG,CAAC;IACrE,CAAC;IAFe,gBAAE,KAEjB,CAAA;AACL,CAAC,EAJgB,aAAa,6BAAb,aAAa,QAI7B"}
@@ -1,77 +0,0 @@
1
- import { TaskIdentifier } from '@theia/task/lib/common';
2
- /**
3
- * Configuration for a debug adapter session.
4
- */
5
- export interface DebugConfiguration {
6
- /**
7
- * The type of the debug adapter session.
8
- */
9
- type: string;
10
- /**
11
- * The name of the debug adapter session.
12
- */
13
- name: string;
14
- /**
15
- * Additional debug type specific properties.
16
- */
17
- [key: string]: any;
18
- parentSessionId?: string;
19
- lifecycleManagedByParent?: boolean;
20
- consoleMode?: DebugConsoleMode;
21
- compact?: boolean;
22
- /**
23
- * The request type of the debug adapter session.
24
- */
25
- request: string;
26
- /**
27
- * If noDebug is true the launch request should launch the program without enabling debugging.
28
- */
29
- noDebug?: boolean;
30
- /**
31
- * Optional data from the previous, restarted session.
32
- * The data is sent as the 'restart' attribute of the 'terminated' event.
33
- * The client should leave the data intact.
34
- */
35
- __restart?: boolean;
36
- /** default: neverOpen */
37
- openDebug?: 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart' | 'openOnDebugBreak';
38
- /** default: neverOpen */
39
- internalConsoleOptions?: 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart';
40
- /** Task to run before debug session starts */
41
- preLaunchTask?: string | TaskIdentifier;
42
- /** Task to run after debug session ends */
43
- postDebugTask?: string | TaskIdentifier;
44
- /**
45
- * When true, a save will not be triggered for open editors when starting a debug session,
46
- * regardless of the value of the `debug.saveBeforeStart` setting.
47
- */
48
- suppressSaveBeforeStart?: boolean;
49
- /** When true, the window statusbar color will not be changed for this session. */
50
- suppressDebugStatusbar?: boolean;
51
- /** When true, the debug viewlet will not be automatically revealed for this session. */
52
- suppressDebugView?: boolean;
53
- /** Disable the warning when trying to start the same debug configuration more than once. */
54
- suppressMultipleSessionWarning?: boolean;
55
- }
56
- export declare namespace DebugConfiguration {
57
- function is(arg: unknown): arg is DebugConfiguration;
58
- }
59
- export interface DebugSessionOptions {
60
- lifecycleManagedByParent?: boolean;
61
- parentSessionId?: string;
62
- consoleMode?: DebugConsoleMode;
63
- noDebug?: boolean;
64
- compact?: boolean;
65
- suppressSaveBeforeStart?: boolean;
66
- suppressDebugStatusbar?: boolean;
67
- suppressDebugView?: boolean;
68
- testRun?: {
69
- controllerId: string;
70
- runId: string;
71
- };
72
- }
73
- export declare enum DebugConsoleMode {
74
- Separate = 0,
75
- MergeWithParent = 1
76
- }
77
- //# sourceMappingURL=debug-configuration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-configuration.d.ts","sourceRoot":"","sources":["../../src/common/debug-configuration.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IAEnB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAEnC,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAE/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,yBAAyB;IACzB,SAAS,CAAC,EAAE,WAAW,GAAG,oBAAoB,GAAG,yBAAyB,GAAG,kBAAkB,CAAC;IAEhG,yBAAyB;IACzB,sBAAsB,CAAC,EAAE,WAAW,GAAG,oBAAoB,GAAG,yBAAyB,CAAA;IAEvF,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAExC,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAExC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC,kFAAkF;IAClF,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,4FAA4F;IAC5F,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC5C;AACD,yBAAiB,kBAAkB,CAAC;IAChC,SAAgB,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,kBAAkB,CAE1D;CACJ;AAED,MAAM,WAAW,mBAAmB;IAChC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE;QACN,YAAY,EAAE,MAAM,CAAC;QACrB,KAAK,EAAE,MAAM,CAAA;KAChB,CAAA;CACJ;AAED,oBAAY,gBAAgB;IACxB,QAAQ,IAAI;IACZ,eAAe,IAAI;CACtB"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DebugConsoleMode = exports.DebugConfiguration = void 0;
4
- // *****************************************************************************
5
- // Copyright (C) 2018 Red Hat, Inc. and others.
6
- //
7
- // This program and the accompanying materials are made available under the
8
- // terms of the Eclipse Public License v. 2.0 which is available at
9
- // http://www.eclipse.org/legal/epl-2.0.
10
- //
11
- // This Source Code may also be made available under the following Secondary
12
- // Licenses when the conditions for such availability set forth in the Eclipse
13
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
14
- // with the GNU Classpath Exception which is available at
15
- // https://www.gnu.org/software/classpath/license.html.
16
- //
17
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
18
- // *****************************************************************************
19
- const common_1 = require("@theia/core/lib/common");
20
- var DebugConfiguration;
21
- (function (DebugConfiguration) {
22
- function is(arg) {
23
- return (0, common_1.isObject)(arg) && 'type' in arg && 'name' in arg && 'request' in arg;
24
- }
25
- DebugConfiguration.is = is;
26
- })(DebugConfiguration || (exports.DebugConfiguration = DebugConfiguration = {}));
27
- var DebugConsoleMode;
28
- (function (DebugConsoleMode) {
29
- DebugConsoleMode[DebugConsoleMode["Separate"] = 0] = "Separate";
30
- DebugConsoleMode[DebugConsoleMode["MergeWithParent"] = 1] = "MergeWithParent";
31
- })(DebugConsoleMode || (exports.DebugConsoleMode = DebugConsoleMode = {}));
32
- //# sourceMappingURL=debug-configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-configuration.js","sourceRoot":"","sources":["../../src/common/debug-configuration.ts"],"names":[],"mappings":";;;AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAChF,mDAAkD;AA2ElD,IAAiB,kBAAkB,CAIlC;AAJD,WAAiB,kBAAkB;IAC/B,SAAgB,EAAE,CAAC,GAAY;QAC3B,OAAO,IAAA,iBAAQ,EAAC,GAAG,CAAC,IAAI,MAAM,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,SAAS,IAAI,GAAG,CAAC;IAC/E,CAAC;IAFe,qBAAE,KAEjB,CAAA;AACL,CAAC,EAJgB,kBAAkB,kCAAlB,kBAAkB,QAIlC;AAiBD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,+DAAY,CAAA;IACZ,6EAAmB,CAAA;AACvB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
@@ -1,153 +0,0 @@
1
- import { DebugConfiguration } from './debug-configuration';
2
- import { IJSONSchema, IJSONSchemaSnippet } from '@theia/core/lib/common/json-schema';
3
- import { MaybePromise } from '@theia/core/lib/common/types';
4
- import { Event } from '@theia/core';
5
- import { DebugChannel } from './debug-service';
6
- /**
7
- * DebugAdapterSession symbol for DI.
8
- */
9
- export declare const DebugAdapterSession: unique symbol;
10
- /**
11
- * The debug adapter session. The debug adapter session manages the lifecycle of a
12
- * debug session: the debug session should be discarded if and only if the debug adapter
13
- * session is stopped.
14
- */
15
- export interface DebugAdapterSession {
16
- id: string;
17
- parentSession?: DebugAdapterSession;
18
- start(channel: DebugChannel): Promise<void>;
19
- stop(): Promise<void>;
20
- }
21
- /**
22
- * DebugAdapterSessionFactory symbol for DI.
23
- */
24
- export declare const DebugAdapterSessionFactory: unique symbol;
25
- /**
26
- * The [debug session](#DebugSession) factory.
27
- */
28
- export interface DebugAdapterSessionFactory {
29
- get(sessionId: string, debugAdapter: DebugAdapter): DebugAdapterSession;
30
- }
31
- /**
32
- * Debug adapter executable for spawning.
33
- */
34
- export interface DebugAdapterSpawnExecutable {
35
- command: string;
36
- args?: string[];
37
- }
38
- /**
39
- * Debug adapter executable for forking.
40
- */
41
- export interface DebugAdapterForkExecutable {
42
- modulePath: string;
43
- execArgv?: string[];
44
- args?: string[];
45
- }
46
- /**
47
- * Debug adapter executable.
48
- * Parameters to instantiate the debug adapter.
49
- *
50
- * In case of launching adapter the parameters contain a command and arguments. For instance:
51
- * {'command' : 'COMMAND_TO_LAUNCH_DEBUG_ADAPTER', args : [ { 'arg1', 'arg2' } ] }
52
- *
53
- * In case of forking the node process, contain the modulePath to fork. For instance:
54
- * {'modulePath' : 'NODE_COMMAND_TO_LAUNCH_DEBUG_ADAPTER', args : [ { 'arg1', 'arg2' } ] }
55
- */
56
- export type DebugAdapterExecutable = DebugAdapterSpawnExecutable | DebugAdapterForkExecutable;
57
- /**
58
- * Implementers stand for the various types of debug adapters the system can talk to.
59
- * Creation of debug adapters is not covered in this interface, but handling communication
60
- * and the end of life is.
61
- */
62
- export interface DebugAdapter {
63
- /**
64
- * A DAP protocol message has been received from the debug adapter
65
- */
66
- onMessageReceived: Event<string>;
67
- /**
68
- * Send a DAP message to the debug adapter
69
- * @param message the JSON-encoded DAP message
70
- */
71
- send(message: string): void;
72
- /**
73
- * An error has occurred communicating with the debug adapter. This does not meant the debug adapter
74
- * has terminated.
75
- */
76
- onError: Event<Error>;
77
- /**
78
- * The connection to the debug adapter has been lost. This signals the end of life for this
79
- * debug adapter instance.
80
- */
81
- onClose: Event<void>;
82
- /**
83
- * Terminate the connection to the debug adapter.
84
- */
85
- stop(): Promise<void>;
86
- }
87
- /**
88
- * DebugAdapterFactory symbol for DI.
89
- */
90
- export declare const DebugAdapterFactory: unique symbol;
91
- /**
92
- * Factory to start debug adapter.
93
- */
94
- export interface DebugAdapterFactory {
95
- start(executable: DebugAdapterExecutable): DebugAdapter;
96
- connect(debugServerPort: number): DebugAdapter;
97
- }
98
- /**
99
- * DebugAdapterContribution symbol for DI.
100
- */
101
- export declare const DebugAdapterContribution: unique symbol;
102
- /**
103
- * A contribution point for debug adapters.
104
- */
105
- export interface DebugAdapterContribution {
106
- /**
107
- * The debug type. Should be a unique value among all debug adapters.
108
- */
109
- readonly type: string;
110
- readonly label?: MaybePromise<string | undefined>;
111
- readonly languages?: MaybePromise<string[] | undefined>;
112
- /**
113
- * The [debug adapter session](#DebugAdapterSession) factory.
114
- * If a default implementation of the debug adapter session does not
115
- * fit all needs it is possible to provide its own implementation using
116
- * this factory. But it is strongly recommended to extend the default
117
- * implementation if so.
118
- */
119
- debugAdapterSessionFactory?: DebugAdapterSessionFactory;
120
- /**
121
- * @returns The contributed configuration schema for this debug type.
122
- */
123
- getSchemaAttributes?(): MaybePromise<IJSONSchema[]>;
124
- getConfigurationSnippets?(): MaybePromise<IJSONSchemaSnippet[]>;
125
- /**
126
- * Provides a [debug adapter executable](#DebugAdapterExecutable)
127
- * based on [debug configuration](#DebugConfiguration) to launch a new debug adapter
128
- * or to connect to existed one.
129
- * @param config The resolved [debug configuration](#DebugConfiguration).
130
- * @returns The [debug adapter executable](#DebugAdapterExecutable).
131
- */
132
- provideDebugAdapterExecutable?(config: DebugConfiguration): MaybePromise<DebugAdapterExecutable | undefined>;
133
- /**
134
- * Provides initial [debug configuration](#DebugConfiguration).
135
- * @returns An array of [debug configurations](#DebugConfiguration).
136
- */
137
- provideDebugConfigurations?(workspaceFolderUri?: string): MaybePromise<DebugConfiguration[]>;
138
- /**
139
- * Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
140
- * or by adding/changing/removing attributes before variable substitution.
141
- * @param config The [debug configuration](#DebugConfiguration) to resolve.
142
- * @returns The resolved debug configuration.
143
- */
144
- resolveDebugConfiguration?(config: DebugConfiguration, workspaceFolderUri?: string): MaybePromise<DebugConfiguration | undefined>;
145
- /**
146
- * Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
147
- * or by adding/changing/removing attributes with substituted variables.
148
- * @param config The [debug configuration](#DebugConfiguration) to resolve.
149
- * @returns The resolved debug configuration.
150
- */
151
- resolveDebugConfigurationWithSubstitutedVariables?(config: DebugConfiguration, workspaceFolderUri?: string): MaybePromise<DebugConfiguration | undefined>;
152
- }
153
- //# sourceMappingURL=debug-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-model.d.ts","sourceRoot":"","sources":["../../src/common/debug-model.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C;;GAEG;AACH,eAAO,MAAM,mBAAmB,eAAgC,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3C,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CACxB;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,MAAM,CAAC;IAEtB,QAAQ,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAElD,QAAQ,CAAC,SAAS,CAAC,EAAE,YAAY,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IAExD;;;;;;OAMG;IACH,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;IAExD;;OAEG;IACH,mBAAmB,CAAC,IAAI,YAAY,CAAC,WAAW,EAAE,CAAC,CAAC;IAEpD,wBAAwB,CAAC,IAAI,YAAY,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAEhE;;;;;;OAMG;IACH,6BAA6B,CAAC,CAAC,MAAM,EAAE,kBAAkB,GAAG,YAAY,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IAE7G;;;OAGG;IACH,0BAA0B,CAAC,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAE7F;;;;;OAKG;IACH,yBAAyB,CAAC,CAAC,MAAM,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAElI;;;;;OAKG;IACH,iDAAiD,CAAC,CAAC,MAAM,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;CAC7J"}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 Red Hat, Inc. and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.DebugAdapterContribution = exports.DebugAdapterFactory = exports.DebugAdapterSessionFactory = exports.DebugAdapterSession = void 0;
19
- // FIXME: break down this file to debug adapter and debug adapter contribution (see Theia file naming conventions)
20
- /**
21
- * DebugAdapterSession symbol for DI.
22
- */
23
- exports.DebugAdapterSession = Symbol('DebugAdapterSession');
24
- /**
25
- * DebugAdapterSessionFactory symbol for DI.
26
- */
27
- exports.DebugAdapterSessionFactory = Symbol('DebugAdapterSessionFactory');
28
- /**
29
- * DebugAdapterFactory symbol for DI.
30
- */
31
- exports.DebugAdapterFactory = Symbol('DebugAdapterFactory');
32
- /**
33
- * DebugAdapterContribution symbol for DI.
34
- */
35
- exports.DebugAdapterContribution = Symbol('DebugAdapterContribution');
36
- //# sourceMappingURL=debug-model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-model.js","sourceRoot":"","sources":["../../src/common/debug-model.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAgBhF,kHAAkH;AAElH;;GAEG;AACU,QAAA,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAcjE;;GAEG;AACU,QAAA,0BAA0B,GAAG,MAAM,CAAC,4BAA4B,CAAC,CAAC;AAsE/E;;GAEG;AACU,QAAA,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAUjE;;GAEG;AACU,QAAA,wBAAwB,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC"}
@@ -1,18 +0,0 @@
1
- import { PreferenceProxy, PreferenceSchema, PreferenceService } from '@theia/core/lib/common/preferences';
2
- import { interfaces } from '@theia/core/shared/inversify';
3
- export declare const debugPreferencesSchema: PreferenceSchema;
4
- export declare class DebugConfiguration {
5
- 'debug.trace': boolean;
6
- 'debug.openDebug': 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart' | 'openOnDebugBreak';
7
- 'debug.internalConsoleOptions': 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart';
8
- 'debug.inlineValues': boolean;
9
- 'debug.showInStatusBar': 'never' | 'always' | 'onFirstSessionStart';
10
- 'debug.confirmOnExit': 'never' | 'always';
11
- 'debug.disassemblyView.showSourceCode': boolean;
12
- }
13
- export declare const DebugPreferenceContribution: unique symbol;
14
- export declare const DebugPreferences: unique symbol;
15
- export type DebugPreferences = PreferenceProxy<DebugConfiguration>;
16
- export declare function createDebugPreferences(preferences: PreferenceService, schema?: PreferenceSchema): DebugPreferences;
17
- export declare function bindDebugPreferences(bind: interfaces.Bind): void;
18
- //# sourceMappingURL=debug-preferences.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-preferences.d.ts","sourceRoot":"","sources":["../../src/common/debug-preferences.ts"],"names":[],"mappings":"AAiBA,OAAO,EAA0B,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAyB,MAAM,oCAAoC,CAAC;AACzJ,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,eAAO,MAAM,sBAAsB,EAAE,gBAgDpC,CAAC;AAEF,qBAAa,kBAAkB;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,WAAW,GAAG,oBAAoB,GAAG,yBAAyB,GAAG,kBAAkB,CAAC;IACvG,8BAA8B,EAAE,WAAW,GAAG,oBAAoB,GAAG,yBAAyB,CAAC;IAC/F,oBAAoB,EAAE,OAAO,CAAC;IAC9B,uBAAuB,EAAE,OAAO,GAAG,QAAQ,GAAG,qBAAqB,CAAC;IACpE,qBAAqB,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1C,sCAAsC,EAAE,OAAO,CAAC;CACnD;AAED,eAAO,MAAM,2BAA2B,eAAwC,CAAC;AACjF,eAAO,MAAM,gBAAgB,eAA6B,CAAC;AAC3D,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AAEnE,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,iBAAiB,EAAE,MAAM,GAAE,gBAAyC,GAAG,gBAAgB,CAE1I;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,GAAG,IAAI,CAQhE"}
@@ -1,89 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 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.bindDebugPreferences = exports.createDebugPreferences = exports.DebugPreferences = exports.DebugPreferenceContribution = exports.DebugConfiguration = exports.debugPreferencesSchema = void 0;
19
- const nls_1 = require("@theia/core/lib/common/nls");
20
- const preferences_1 = require("@theia/core/lib/common/preferences");
21
- exports.debugPreferencesSchema = {
22
- properties: {
23
- 'debug.trace': {
24
- type: 'boolean',
25
- default: false,
26
- description: nls_1.nls.localize('theia/debug/toggleTracing', 'Enable/disable tracing communications with debug adapters')
27
- },
28
- 'debug.openDebug': {
29
- enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
30
- default: 'openOnSessionStart',
31
- description: nls_1.nls.localizeByDefault('Controls when the debug view should open.')
32
- },
33
- 'debug.internalConsoleOptions': {
34
- enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart'],
35
- default: 'openOnFirstSessionStart',
36
- description: nls_1.nls.localizeByDefault('Controls when the internal Debug Console should open.')
37
- },
38
- 'debug.inlineValues': {
39
- type: 'boolean',
40
- default: false,
41
- description: nls_1.nls.localizeByDefault('Show variable values inline in editor while debugging.')
42
- },
43
- 'debug.showInStatusBar': {
44
- enum: ['never', 'always', 'onFirstSessionStart'],
45
- enumDescriptions: [
46
- nls_1.nls.localizeByDefault('Never show debug in Status bar'),
47
- nls_1.nls.localizeByDefault('Always show debug in Status bar'),
48
- nls_1.nls.localizeByDefault('Show debug in Status bar only after debug was started for the first time')
49
- ],
50
- description: nls_1.nls.localizeByDefault('Controls when the debug Status bar should be visible.'),
51
- default: 'onFirstSessionStart'
52
- },
53
- 'debug.confirmOnExit': {
54
- description: nls_1.nls.localizeByDefault('Controls whether to confirm when the window closes if there are active debug sessions.'),
55
- type: 'string',
56
- enum: ['never', 'always'],
57
- enumDescriptions: [
58
- nls_1.nls.localizeByDefault('Never confirm.'),
59
- nls_1.nls.localizeByDefault('Always confirm if there are debug sessions.'),
60
- ],
61
- default: 'never'
62
- },
63
- 'debug.disassemblyView.showSourceCode': {
64
- description: nls_1.nls.localizeByDefault('Show Source Code in Disassembly View.'),
65
- type: 'boolean',
66
- default: true,
67
- }
68
- }
69
- };
70
- class DebugConfiguration {
71
- }
72
- exports.DebugConfiguration = DebugConfiguration;
73
- exports.DebugPreferenceContribution = Symbol('DebugPreferenceContribution');
74
- exports.DebugPreferences = Symbol('DebugPreferences');
75
- function createDebugPreferences(preferences, schema = exports.debugPreferencesSchema) {
76
- return (0, preferences_1.createPreferenceProxy)(preferences, schema);
77
- }
78
- exports.createDebugPreferences = createDebugPreferences;
79
- function bindDebugPreferences(bind) {
80
- bind(exports.DebugPreferences).toDynamicValue(ctx => {
81
- const preferences = ctx.container.get(preferences_1.PreferenceService);
82
- const contribution = ctx.container.get(exports.DebugPreferenceContribution);
83
- return createDebugPreferences(preferences, contribution.schema);
84
- }).inSingletonScope();
85
- bind(exports.DebugPreferenceContribution).toConstantValue({ schema: exports.debugPreferencesSchema });
86
- bind(preferences_1.PreferenceContribution).toService(exports.DebugPreferenceContribution);
87
- }
88
- exports.bindDebugPreferences = bindDebugPreferences;
89
- //# sourceMappingURL=debug-preferences.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-preferences.js","sourceRoot":"","sources":["../../src/common/debug-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,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,oDAAiD;AACjD,oEAAyJ;AAG5I,QAAA,sBAAsB,GAAqB;IACpD,UAAU,EAAE;QACR,aAAa,EAAE;YACX,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,SAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,2DAA2D,CAAC;SACtH;QACD,iBAAiB,EAAE;YACf,IAAI,EAAE,CAAC,WAAW,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,kBAAkB,CAAC;YACxF,OAAO,EAAE,oBAAoB;YAC7B,WAAW,EAAE,SAAG,CAAC,iBAAiB,CAAC,2CAA2C,CAAC;SAClF;QACD,8BAA8B,EAAE;YAC5B,IAAI,EAAE,CAAC,WAAW,EAAE,oBAAoB,EAAE,yBAAyB,CAAC;YACpE,OAAO,EAAE,yBAAyB;YAClC,WAAW,EAAE,SAAG,CAAC,iBAAiB,CAAC,uDAAuD,CAAC;SAC9F;QACD,oBAAo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