@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,183 +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.DebugEditorService = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const monaco = require("@theia/monaco-editor-core");
22
- const browser_1 = require("@theia/editor/lib/browser");
23
- const browser_2 = require("@theia/core/lib/browser");
24
- const monaco_editor_1 = require("@theia/monaco/lib/browser/monaco-editor");
25
- const debug_session_manager_1 = require("../debug-session-manager");
26
- const debug_editor_model_1 = require("./debug-editor-model");
27
- const breakpoint_manager_1 = require("../breakpoint/breakpoint-manager");
28
- let DebugEditorService = class DebugEditorService {
29
- constructor() {
30
- this.models = new Map();
31
- }
32
- init() {
33
- this.editors.all.forEach(widget => this.push(widget));
34
- this.editors.onCreated(widget => this.push(widget));
35
- }
36
- push(widget) {
37
- const editor = monaco_editor_1.MonacoEditor.get(widget);
38
- if (!editor) {
39
- return;
40
- }
41
- const debugModel = this.factory(editor);
42
- this.models.set(editor, debugModel);
43
- widget.onDispose(() => {
44
- debugModel.dispose();
45
- this.models.delete(editor);
46
- });
47
- }
48
- get model() {
49
- const { currentEditor } = this.editors;
50
- return currentEditor && this.models.get(currentEditor.editor);
51
- }
52
- get currentUri() {
53
- const { currentEditor } = this.editors;
54
- return currentEditor && currentEditor.getResourceUri();
55
- }
56
- getLogpoint(position) {
57
- const logpoint = this.anyBreakpoint(position);
58
- return logpoint && logpoint.logMessage ? logpoint : undefined;
59
- }
60
- getLogpointEnabled(position) {
61
- const logpoint = this.getLogpoint(position);
62
- return logpoint && logpoint.enabled;
63
- }
64
- getBreakpoint(position) {
65
- const breakpoint = this.anyBreakpoint(position);
66
- return breakpoint && breakpoint.logMessage ? undefined : breakpoint;
67
- }
68
- getBreakpointEnabled(position) {
69
- const breakpoint = this.getBreakpoint(position);
70
- return breakpoint && breakpoint.enabled;
71
- }
72
- anyBreakpoint(position) {
73
- return this.model && this.model.getBreakpoint(position);
74
- }
75
- getInlineBreakpoint(position) {
76
- return this.model && this.model.getInlineBreakpoint(position);
77
- }
78
- toggleBreakpoint(position) {
79
- const { model } = this;
80
- if (model) {
81
- model.toggleBreakpoint(position);
82
- }
83
- }
84
- setBreakpointEnabled(position, enabled) {
85
- const breakpoint = this.anyBreakpoint(position);
86
- if (breakpoint) {
87
- breakpoint.setEnabled(enabled);
88
- }
89
- }
90
- addInlineBreakpoint() {
91
- const { model } = this;
92
- if (model) {
93
- model.addInlineBreakpoint();
94
- }
95
- }
96
- showHover() {
97
- const { model } = this;
98
- if (model) {
99
- const selection = model.editor.getControl().getSelection();
100
- model.hover.show({ selection, focus: true });
101
- }
102
- }
103
- canShowHover() {
104
- var _a;
105
- const { model } = this;
106
- if (model) {
107
- const selection = model.editor.getControl().getSelection();
108
- return !!((_a = model.editor.getControl().getModel()) === null || _a === void 0 ? void 0 : _a.getWordAtPosition(selection.getStartPosition()));
109
- }
110
- return false;
111
- }
112
- addBreakpoint(context, position) {
113
- const { model } = this;
114
- if (model) {
115
- position = position || model.position;
116
- const breakpoint = model.getBreakpoint(position);
117
- if (breakpoint) {
118
- model.breakpointWidget.show({ breakpoint, context });
119
- }
120
- else {
121
- model.breakpointWidget.show({
122
- position,
123
- context
124
- });
125
- }
126
- }
127
- }
128
- async editBreakpoint(breakpointOrPosition) {
129
- if (breakpointOrPosition instanceof monaco.Position) {
130
- breakpointOrPosition = this.anyBreakpoint(breakpointOrPosition);
131
- }
132
- if (breakpointOrPosition) {
133
- const editor = await breakpointOrPosition.open();
134
- const model = this.models.get(editor.editor);
135
- if (model) {
136
- model.breakpointWidget.show(breakpointOrPosition);
137
- }
138
- }
139
- }
140
- closeBreakpoint() {
141
- const { model } = this;
142
- if (model) {
143
- model.breakpointWidget.hide();
144
- }
145
- }
146
- acceptBreakpoint() {
147
- const { model } = this;
148
- if (model) {
149
- model.acceptBreakpoint();
150
- }
151
- }
152
- };
153
- exports.DebugEditorService = DebugEditorService;
154
- tslib_1.__decorate([
155
- (0, inversify_1.inject)(browser_1.EditorManager),
156
- tslib_1.__metadata("design:type", browser_1.EditorManager)
157
- ], DebugEditorService.prototype, "editors", void 0);
158
- tslib_1.__decorate([
159
- (0, inversify_1.inject)(breakpoint_manager_1.BreakpointManager),
160
- tslib_1.__metadata("design:type", breakpoint_manager_1.BreakpointManager)
161
- ], DebugEditorService.prototype, "breakpoints", void 0);
162
- tslib_1.__decorate([
163
- (0, inversify_1.inject)(debug_session_manager_1.DebugSessionManager),
164
- tslib_1.__metadata("design:type", debug_session_manager_1.DebugSessionManager)
165
- ], DebugEditorService.prototype, "sessionManager", void 0);
166
- tslib_1.__decorate([
167
- (0, inversify_1.inject)(browser_2.ContextMenuRenderer),
168
- tslib_1.__metadata("design:type", browser_2.ContextMenuRenderer)
169
- ], DebugEditorService.prototype, "contextMenu", void 0);
170
- tslib_1.__decorate([
171
- (0, inversify_1.inject)(debug_editor_model_1.DebugEditorModelFactory),
172
- tslib_1.__metadata("design:type", Function)
173
- ], DebugEditorService.prototype, "factory", void 0);
174
- tslib_1.__decorate([
175
- (0, inversify_1.postConstruct)(),
176
- tslib_1.__metadata("design:type", Function),
177
- tslib_1.__metadata("design:paramtypes", []),
178
- tslib_1.__metadata("design:returntype", void 0)
179
- ], DebugEditorService.prototype, "init", null);
180
- exports.DebugEditorService = DebugEditorService = tslib_1.__decorate([
181
- (0, inversify_1.injectable)()
182
- ], DebugEditorService);
183
- //# sourceMappingURL=debug-editor-service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-editor-service.js","sourceRoot":"","sources":["../../../src/browser/editor/debug-editor-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAiF;AACjF,oDAAoD;AACpD,uDAAwE;AACxE,qDAA8D;AAC9D,2EAAuE;AACvE,oEAA+D;AAC/D,6DAAiF;AACj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6BAAmB,CAAC;sCACI,6BAAmB;uDAAC;AAGjC;IADlB,IAAA,kBAAM,EAAC,4CAAuB,CAAC;;mDACoB;AAK1C;IADT,IAAA,yBAAa,GAAE;;;;8CAIf;6BAvBQ,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CAsJ9B"}
@@ -1,4 +0,0 @@
1
- import { MonacoEditor } from '@theia/monaco/lib/browser/monaco-editor';
2
- export declare const DebugEditor: unique symbol;
3
- export type DebugEditor = MonacoEditor;
4
- //# sourceMappingURL=debug-editor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-editor.d.ts","sourceRoot":"","sources":["../../../src/browser/editor/debug-editor.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAEvE,eAAO,MAAM,WAAW,eAAwB,CAAC;AACjD,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC"}
@@ -1,20 +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.DebugEditor = void 0;
19
- exports.DebugEditor = Symbol('DebugEditor');
20
- //# sourceMappingURL=debug-editor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-editor.js","sourceRoot":"","sources":["../../../src/browser/editor/debug-editor.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAInE,QAAA,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC"}
@@ -1,30 +0,0 @@
1
- import { Root } from '@theia/core/shared/react-dom/client';
2
- import { Disposable, DisposableCollection } from '@theia/core/lib/common/disposable';
3
- import { MonacoEditorZoneWidget } from '@theia/monaco/lib/browser/monaco-editor-zone-widget';
4
- import { DebugEditor } from './debug-editor';
5
- import { DebugExceptionInfo } from '../model/debug-thread';
6
- export interface ShowDebugExceptionParams {
7
- info: DebugExceptionInfo;
8
- lineNumber: number;
9
- column: number;
10
- }
11
- export declare class DebugExceptionMonacoEditorZoneWidget extends MonacoEditorZoneWidget {
12
- protected computeContainerHeight(zoneHeight: number): {
13
- height: number;
14
- frameWidth: number;
15
- };
16
- }
17
- export declare class DebugExceptionWidget implements Disposable {
18
- readonly editor: DebugEditor;
19
- protected zone: MonacoEditorZoneWidget;
20
- protected containerNodeRoot: Root;
21
- protected readonly toDispose: DisposableCollection;
22
- protected init(): void;
23
- protected doInit(): Promise<void>;
24
- dispose(): void;
25
- show({ info, lineNumber, column }: ShowDebugExceptionParams): void;
26
- hide(): void;
27
- protected render(info: DebugExceptionInfo, cb: () => void): void;
28
- protected layout(): void;
29
- }
30
- //# sourceMappingURL=debug-exception-widget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-exception-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/editor/debug-exception-widget.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAc,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAGvE,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAI3D,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,kBAAkB,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,qBAAa,oCAAqC,SAAQ,sBAAsB;cAEzD,sBAAsB,CAAC,UAAU,EAAE,MAAM,GAAG;QAC3D,MAAM,EAAE,MAAM,CAAC;QACf,UAAU,EAAE,MAAM,CAAA;KACrB;CASJ;AAED,qBACa,oBAAqB,YAAW,UAAU;IAGnD,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;IAE7B,SAAS,CAAC,IAAI,EAAE,sBAAsB,CAAC;IACvC,SAAS,CAAC,iBAAiB,EAAE,IAAI,CAAC;IAElC,SAAS,CAAC,QAAQ,CAAC,SAAS,uBAA8B;IAG1D,SAAS,CAAC,IAAI,IAAI,IAAI;cAIN,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAQvC,OAAO,IAAI,IAAI;IAIf,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,wBAAwB,GAAG,IAAI;IAgBlE,IAAI,IAAI,IAAI;IAIZ,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAehE,SAAS,CAAC,MAAM,IAAI,IAAI;CAS3B"}
@@ -1,107 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2019 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.DebugExceptionWidget = exports.DebugExceptionMonacoEditorZoneWidget = void 0;
19
- const tslib_1 = require("tslib");
20
- const React = require("@theia/core/shared/react");
21
- const client_1 = require("@theia/core/shared/react-dom/client");
22
- const monaco = require("@theia/monaco-editor-core");
23
- const inversify_1 = require("@theia/core/shared/inversify");
24
- const disposable_1 = require("@theia/core/lib/common/disposable");
25
- const monaco_editor_zone_widget_1 = require("@theia/monaco/lib/browser/monaco-editor-zone-widget");
26
- const debug_editor_1 = require("./debug-editor");
27
- const nls_1 = require("@theia/core/lib/common/nls");
28
- const widgets_1 = require("@theia/core/lib/browser/widgets");
29
- class DebugExceptionMonacoEditorZoneWidget extends monaco_editor_zone_widget_1.MonacoEditorZoneWidget {
30
- computeContainerHeight(zoneHeight) {
31
- // reset height to match it to the content
32
- this.containerNode.style.height = 'initial';
33
- const height = this.containerNode.offsetHeight;
34
- const result = super.computeContainerHeight(zoneHeight);
35
- result.height = height;
36
- return result;
37
- }
38
- }
39
- exports.DebugExceptionMonacoEditorZoneWidget = DebugExceptionMonacoEditorZoneWidget;
40
- let DebugExceptionWidget = class DebugExceptionWidget {
41
- constructor() {
42
- this.toDispose = new disposable_1.DisposableCollection();
43
- }
44
- init() {
45
- this.doInit();
46
- }
47
- async doInit() {
48
- this.toDispose.push(this.zone = new DebugExceptionMonacoEditorZoneWidget(this.editor.getControl()));
49
- this.zone.containerNode.classList.add('theia-debug-exception-widget');
50
- this.containerNodeRoot = (0, client_1.createRoot)(this.zone.containerNode);
51
- this.toDispose.push(disposable_1.Disposable.create(() => this.containerNodeRoot.unmount()));
52
- this.toDispose.push(this.editor.getControl().onDidLayoutChange(() => this.layout()));
53
- }
54
- dispose() {
55
- this.toDispose.dispose();
56
- }
57
- show({ info, lineNumber, column }) {
58
- this.render(info, () => {
59
- const fontInfo = this.editor.getControl().getOption(monaco.editor.EditorOption.fontInfo);
60
- this.zone.containerNode.style.fontSize = `${fontInfo.fontSize}px`;
61
- this.zone.containerNode.style.lineHeight = `${fontInfo.lineHeight}px`;
62
- if (lineNumber !== undefined && column !== undefined) {
63
- const afterLineNumber = lineNumber;
64
- const afterColumn = column;
65
- this.zone.show({ showFrame: true, afterLineNumber, afterColumn, heightInLines: 0, frameWidth: 1 });
66
- }
67
- this.layout();
68
- });
69
- }
70
- hide() {
71
- this.zone.hide();
72
- }
73
- render(info, cb) {
74
- const stackTrace = info.details && info.details.stackTrace;
75
- const exceptionTitle = info.id ?
76
- nls_1.nls.localizeByDefault('Exception has occurred: {0}', info.id) :
77
- nls_1.nls.localizeByDefault('Exception has occurred.');
78
- this.containerNodeRoot.render(React.createElement(React.Fragment, null,
79
- React.createElement("div", { className: 'title', ref: cb },
80
- exceptionTitle,
81
- React.createElement("span", { id: "exception-close", className: (0, widgets_1.codicon)('close', true), onClick: () => this.hide(), title: nls_1.nls.localizeByDefault('Close') })),
82
- info.description && React.createElement("div", { className: 'description' }, info.description),
83
- stackTrace && React.createElement("div", { className: 'stack-trace' }, stackTrace)));
84
- }
85
- layout() {
86
- // reset height to match it to the content
87
- this.zone.containerNode.style.height = 'initial';
88
- const lineHeight = this.editor.getControl().getOption(monaco.editor.EditorOption.lineHeight);
89
- const heightInLines = Math.ceil(this.zone.containerNode.offsetHeight / lineHeight);
90
- this.zone.layout(heightInLines);
91
- }
92
- };
93
- exports.DebugExceptionWidget = DebugExceptionWidget;
94
- tslib_1.__decorate([
95
- (0, inversify_1.inject)(debug_editor_1.DebugEditor),
96
- tslib_1.__metadata("design:type", Object)
97
- ], DebugExceptionWidget.prototype, "editor", void 0);
98
- tslib_1.__decorate([
99
- (0, inversify_1.postConstruct)(),
100
- tslib_1.__metadata("design:type", Function),
101
- tslib_1.__metadata("design:paramtypes", []),
102
- tslib_1.__metadata("design:returntype", void 0)
103
- ], DebugExceptionWidget.prototype, "init", null);
104
- exports.DebugExceptionWidget = DebugExceptionWidget = tslib_1.__decorate([
105
- (0, inversify_1.injectable)()
106
- ], DebugExceptionWidget);
107
- //# sourceMappingURL=debug-exception-widget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-exception-widget.js","sourceRoot":"","sources":["../../../src/browser/editor/debug-exception-widget.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,kDAAkD;AAClD,gEAAuE;AACvE,oDAAoD;AACpD,4DAAiF;AACjF,kEAAqF;AACrF,mGAA6F;AAC7F,iDAA6C;AAE7C,oDAAiD;AACjD,6DAA0D;AAQ1D,MAAa,oCAAqC,SAAQ,kDAAsB;IAEzD,sBAAsB,CAAC,UAAkB;QAIxD,0CAA0C;QAC1C,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC;QAC5C,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC;QAC/C,MAAM,MAAM,GAAG,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;QACxD,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC;QACvB,OAAO,MAAM,CAAC;IAClB,CAAC;CAEJ;AAdD,oFAcC;AAGM,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAA1B;QAQgB,cAAS,GAAG,IAAI,iCAAoB,EAAE,CAAC;IA+D9D,CAAC;IA5Da,IAAI;QACV,IAAI,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;IAES,KAAK,CAAC,MAAM;QAClB,IAA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ES,MAAM;QACZ,0CAA0C;QAC1C,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC;QAEjD,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QAC7F,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC;QACnF,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACpC,CAAC;CAEJ,CAAA;AAvEY,oDAAoB;AAGpB;IADR,IAAA,kBAAM,EAAC,0BAAW,CAAC;;oDACS;AAQnB;IADT,IAAA,yBAAa,GAAE;;;;gDAGf;+BAbQ,oBAAoB;IADhC,IAAA,sBAAU,GAAE;GACA,oBAAoB,CAuEhC"}
@@ -1,17 +0,0 @@
1
- import * as monaco from '@theia/monaco-editor-core';
2
- import { DebugEditor } from './debug-editor';
3
- /**
4
- * TODO: introduce a new request to LSP to look up an expression range: https://github.com/Microsoft/language-server-protocol/issues/462
5
- */
6
- export declare class DebugExpressionProvider {
7
- getEvaluatableExpression(editor: DebugEditor, selection: monaco.IRange): Promise<{
8
- matchingExpression: string;
9
- range: monaco.IRange;
10
- } | undefined>;
11
- get(model: monaco.editor.IModel, selection: monaco.IRange): string;
12
- protected getExactExpressionStartAndEnd(lineContent: string, looseStart: number, looseEnd: number): {
13
- start: number;
14
- end: number;
15
- };
16
- }
17
- //# sourceMappingURL=debug-expression-provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-expression-provider.d.ts","sourceRoot":"","sources":["../../../src/browser/editor/debug-expression-provider.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAIpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;GAEG;AACH,qBACa,uBAAuB;IAE1B,wBAAwB,CAC1B,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,MAAM,CAAC,MAAM,GACzB,OAAO,CAAC;QAAE,kBAAkB,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAoC5E,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM;IAKlE,SAAS,CAAC,6BAA6B,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;CA4CrI"}
@@ -1,107 +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
- /*---------------------------------------------------------------------------------------------
18
- * Copyright (c) Microsoft Corporation and others. All rights reserved.
19
- * Licensed under the MIT License. See https://github.com/Microsoft/vscode/blob/master/LICENSE.txt for license information.
20
- *--------------------------------------------------------------------------------------------*/
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.DebugExpressionProvider = void 0;
23
- const tslib_1 = require("tslib");
24
- const inversify_1 = require("@theia/core/shared/inversify");
25
- const core_1 = require("@theia/core");
26
- const monaco = require("@theia/monaco-editor-core");
27
- const cancellation_1 = require("@theia/monaco-editor-core/esm/vs/base/common/cancellation");
28
- const languageFeatures_1 = require("@theia/monaco-editor-core/esm/vs/editor/common/services/languageFeatures");
29
- const standaloneServices_1 = require("@theia/monaco-editor-core/esm/vs/editor/standalone/browser/standaloneServices");
30
- /**
31
- * TODO: introduce a new request to LSP to look up an expression range: https://github.com/Microsoft/language-server-protocol/issues/462
32
- */
33
- let DebugExpressionProvider = class DebugExpressionProvider {
34
- async getEvaluatableExpression(editor, selection) {
35
- const pluginExpressionProvider = standaloneServices_1.StandaloneServices.get(languageFeatures_1.ILanguageFeaturesService).evaluatableExpressionProvider;
36
- const textEditorModel = editor.document.textEditorModel;
37
- if (pluginExpressionProvider && pluginExpressionProvider.has(textEditorModel)) {
38
- const registeredProviders = pluginExpressionProvider.ordered(textEditorModel);
39
- const position = new monaco.Position(selection.startLineNumber, selection.startColumn);
40
- const promises = registeredProviders.map(support => Promise.resolve(support.provideEvaluatableExpression(textEditorModel, position, cancellation_1.CancellationToken.None)));
41
- const results = await Promise.all(promises).then(core_1.ArrayUtils.coalesce);
42
- if (results.length > 0) {
43
- const range = results[0].range;
44
- const matchingExpression = results[0].expression || textEditorModel.getValueInRange(range);
45
- return { matchingExpression, range };
46
- }
47
- }
48
- else { // use fallback if no provider was registered
49
- const model = editor.getControl().getModel();
50
- if (model) {
51
- const lineContent = model.getLineContent(selection.startLineNumber);
52
- const { start, end } = this.getExactExpressionStartAndEnd(lineContent, selection.startColumn, selection.endColumn);
53
- const matchingExpression = lineContent.substring(start - 1, end - 1);
54
- const range = new monaco.Range(selection.startLineNumber, start, selection.startLineNumber, end);
55
- return { matchingExpression, range };
56
- }
57
- }
58
- }
59
- get(model, selection) {
60
- const lineContent = model.getLineContent(selection.startLineNumber);
61
- const { start, end } = this.getExactExpressionStartAndEnd(lineContent, selection.startColumn, selection.endColumn);
62
- return lineContent.substring(start - 1, end - 1);
63
- }
64
- getExactExpressionStartAndEnd(lineContent, looseStart, looseEnd) {
65
- let matchingExpression = undefined;
66
- let startOffset = 1;
67
- // Some example supported expressions: myVar.prop, a.b.c.d, myVar?.prop, myVar->prop, MyClass::StaticProp, *myVar
68
- // Match any character except a set of characters which often break interesting sub-expressions
69
- const expression = /([^()\[\]{}<>\s+\-/%~#^;=|,`!]|\->)+/g;
70
- // eslint-disable-next-line no-null/no-null
71
- let result = null;
72
- // First find the full expression under the cursor
73
- while (result = expression.exec(lineContent)) {
74
- const start = result.index + 1;
75
- const end = start + result[0].length;
76
- if (start <= looseStart && end >= looseEnd) {
77
- matchingExpression = result[0];
78
- startOffset = start;
79
- break;
80
- }
81
- }
82
- // If there are non-word characters after the cursor, we want to truncate the expression then.
83
- // For example in expression 'a.b.c.d', if the focus was under 'b', 'a.b' would be evaluated.
84
- if (matchingExpression) {
85
- const subExpression = /\w+/g;
86
- // eslint-disable-next-line no-null/no-null
87
- let subExpressionResult = null;
88
- while (subExpressionResult = subExpression.exec(matchingExpression)) {
89
- const subEnd = subExpressionResult.index + 1 + startOffset + subExpressionResult[0].length;
90
- if (subEnd >= looseEnd) {
91
- break;
92
- }
93
- }
94
- if (subExpressionResult) {
95
- matchingExpression = matchingExpression.substring(0, subExpression.lastIndex);
96
- }
97
- }
98
- return matchingExpression ?
99
- { start: startOffset, end: startOffset + matchingExpression.length } :
100
- { start: 1, end: 1 };
101
- }
102
- };
103
- exports.DebugExpressionProvider = DebugExpressionProvider;
104
- exports.DebugExpressionProvider = DebugExpressionProvider = tslib_1.__decorate([
105
- (0, inversify_1.injectable)()
106
- ], DebugExpressionProvider);
107
- //# sourceMappingURL=debug-expression-provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-expression-provider.js","sourceRoot":"","sources":["../../../src/browser/editor/debug-expression-provider.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA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AAE,WAAW,EAAE,GAAG,EAAE,WAAW,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC,CAAC;YACtE,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;IAC7B,CAAC;CACJ,CAAA;AA1FY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CA0FnC"}
@@ -1,19 +0,0 @@
1
- /// <reference types="react" />
2
- import * as React from '@theia/core/shared/react';
3
- import { TreeSource, TreeElement } from '@theia/core/lib/browser/source-tree';
4
- import { ExpressionContainer, ExpressionItem, DebugVariable } from '../console/debug-console-items';
5
- import { DebugSessionManager } from '../debug-session-manager';
6
- export declare class DebugHoverSource extends TreeSource {
7
- protected readonly sessions: DebugSessionManager;
8
- protected _expression: ExpressionItem | DebugVariable | undefined;
9
- get expression(): ExpressionItem | DebugVariable | undefined;
10
- protected elements: TreeElement[];
11
- getElements(): IterableIterator<TreeElement>;
12
- protected renderTitle(element: ExpressionItem | DebugVariable): React.ReactNode;
13
- reset(): void;
14
- evaluate(expression: string): Promise<ExpressionItem | DebugVariable | undefined>;
15
- protected doEvaluate(expression: string): Promise<ExpressionItem | DebugVariable | undefined>;
16
- protected findVariable(namesToFind: string[]): Promise<DebugVariable | undefined>;
17
- protected doFindVariable(owner: ExpressionContainer, namesToFind: string[]): Promise<DebugVariable | undefined>;
18
- }
19
- //# sourceMappingURL=debug-hover-source.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-hover-source.d.ts","sourceRoot":"","sources":["../../../src/browser/editor/debug-hover-source.tsx"],"names":[],"mappings":";AAgBA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpG,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAG/D,qBACa,gBAAiB,SAAQ,UAAU;IAG5C,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;IAEjD,SAAS,CAAC,WAAW,EAAE,cAAc,GAAG,aAAa,GAAG,SAAS,CAAC;IAClE,IAAI,UAAU,IAAI,cAAc,GAAG,aAAa,GAAG,SAAS,CAE3D;IAED,SAAS,CAAC,QAAQ,EAAE,WAAW,EAAE,CAAM;IACvC,WAAW,IAAI,gBAAgB,CAAC,WAAW,CAAC;IAI5C,SAAS,CAAC,WAAW,CAAC,OAAO,EAAE,cAAc,GAAG,aAAa,GAAG,KAAK,CAAC,SAAS;IAI/E,KAAK,IAAI,IAAI;IAMP,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,aAAa,GAAG,SAAS,CAAC;cAQvE,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,aAAa,GAAG,SAAS,CAAC;cAYnF,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC;cAkBvE,cAAc,CAAC,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC;CAkBxH"}