debugger.ed.gui 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiControl(DebuggerGui, EditorGuiGroup) {
  3. profile = "ToolsGuiWindowProfile";
  4. horizSizing = "right";
  5. vertSizing = "bottom";
  6. position = "0 0";
  7. extent = "640 480";
  8. minExtent = "8 8";
  9. visible = "True";
  10. setFirstResponder = "False";
  11. modal = "True";
  12. helpTag = "0";
  13. new GuiButtonCtrl() {
  14. profile = "ToolsGuiButtonProfile";
  15. horizSizing = "right";
  16. vertSizing = "bottom";
  17. position = "8 4";
  18. extent = "56 16";
  19. minExtent = "8 8";
  20. visible = "True";
  21. setFirstResponder = "False";
  22. modal = "True";
  23. command = "Canvas.pushDialog(DebuggerConnectDlg, 80);";
  24. helpTag = "0";
  25. text = "Connect";
  26. };
  27. new GuiButtonCtrl() {
  28. profile = "ToolsGuiButtonProfile";
  29. horizSizing = "right";
  30. vertSizing = "bottom";
  31. position = "72 4";
  32. extent = "56 16";
  33. minExtent = "8 8";
  34. visible = "True";
  35. setFirstResponder = "False";
  36. modal = "True";
  37. command = "Canvas.pushDialog(OpenFileDialog, 80);";
  38. helpTag = "0";
  39. text = "File";
  40. };
  41. new GuiButtonCtrl() {
  42. profile = "ToolsGuiButtonProfile";
  43. horizSizing = "right";
  44. vertSizing = "bottom";
  45. position = "72 4";
  46. extent = "56 16";
  47. minExtent = "8 8";
  48. visible = "True";
  49. setFirstResponder = "False";
  50. modal = "True";
  51. command = "dbgStepIn();";
  52. accelerator = "f7";
  53. helpTag = "0";
  54. text = "Step In";
  55. };
  56. new GuiButtonCtrl() {
  57. profile = "ToolsGuiButtonProfile";
  58. horizSizing = "right";
  59. vertSizing = "bottom";
  60. position = "136 4";
  61. extent = "56 16";
  62. minExtent = "8 8";
  63. visible = "True";
  64. setFirstResponder = "False";
  65. modal = "True";
  66. command = "dbgStepOver();";
  67. accelerator = "f8";
  68. helpTag = "0";
  69. text = "Step Over";
  70. };
  71. new GuiButtonCtrl() {
  72. profile = "ToolsGuiButtonProfile";
  73. horizSizing = "right";
  74. vertSizing = "bottom";
  75. position = "200 4";
  76. extent = "56 16";
  77. minExtent = "8 8";
  78. visible = "True";
  79. setFirstResponder = "False";
  80. modal = "True";
  81. command = "dbgStepOut();";
  82. accelerator = "f6";
  83. helpTag = "0";
  84. text = "Step Out";
  85. };
  86. new GuiButtonCtrl() {
  87. profile = "ToolsGuiButtonProfile";
  88. horizSizing = "right";
  89. vertSizing = "bottom";
  90. position = "264 4";
  91. extent = "56 16";
  92. minExtent = "8 8";
  93. visible = "True";
  94. setFirstResponder = "False";
  95. modal = "True";
  96. command = "dbgContinue();";
  97. accelerator = "f9";
  98. helpTag = "0";
  99. text = "Run";
  100. };
  101. new GuiButtonCtrl() {
  102. profile = "ToolsGuiButtonProfile";
  103. horizSizing = "right";
  104. vertSizing = "bottom";
  105. position = "328 4";
  106. extent = "56 16";
  107. minExtent = "8 8";
  108. visible = "True";
  109. setFirstResponder = "False";
  110. modal = "True";
  111. command = "Canvas.pushDialog(DebuggerFindDlg, 80);";
  112. helpTag = "0";
  113. text = "Find";
  114. };
  115. new GuiTextCtrl(DebuggerCursorWatch) {
  116. profile = "ToolsGuiTextProfile";
  117. horizSizing = "width";
  118. vertSizing = "bottom";
  119. position = "398 4";
  120. extent = "126 18";
  121. minExtent = "8 8";
  122. visible = "True";
  123. setFirstResponder = "False";
  124. modal = "True";
  125. helpTag = "0";
  126. text = "";
  127. justify = "left";
  128. };
  129. new GuiTextCtrl(DebuggerStatus) {
  130. profile = "ToolsGuiTextProfile";
  131. horizSizing = "left";
  132. vertSizing = "bottom";
  133. position = "532 4";
  134. extent = "100 18";
  135. minExtent = "8 8";
  136. visible = "True";
  137. setFirstResponder = "False";
  138. modal = "True";
  139. helpTag = "0";
  140. text = "NOT CONNECTED";
  141. justify = "right";
  142. };
  143. new GuiFrameSetCtrl(DebuggerRootFrame) {
  144. profile = "GuiContentProfile";
  145. horizSizing = "width";
  146. vertSizing = "height";
  147. position = "0 24";
  148. extent = "640 456";
  149. minExtent = "8 8";
  150. visible = "True";
  151. setFirstResponder = "False";
  152. modal = "True";
  153. helpTag = "0";
  154. columns = "0 486";
  155. rows = "0";
  156. borderWidth = "4";
  157. borderEnable = "dynamic";
  158. borderMovable = "dynamic";
  159. new GuiFrameSetCtrl(DebuggerLeftFrame) {
  160. profile = "GuiContentProfile";
  161. horizSizing = "width";
  162. vertSizing = "height";
  163. position = "0 0";
  164. extent = "482 456";
  165. minExtent = "8 8";
  166. visible = "True";
  167. setFirstResponder = "False";
  168. modal = "True";
  169. helpTag = "0";
  170. columns = "0";
  171. rows = "0 350";
  172. borderWidth = "4";
  173. borderEnable = "dynamic";
  174. borderMovable = "dynamic";
  175. new GuiControl() {
  176. profile = "ToolsGuiDefaultProfile";
  177. horizSizing = "width";
  178. vertSizing = "height";
  179. position = "0 0";
  180. extent = "482 346";
  181. minExtent = "8 8";
  182. visible = "True";
  183. setFirstResponder = "True";
  184. modal = "True";
  185. helpTag = "0";
  186. new GuiTextCtrl() {
  187. profile = "ToolsGuiTextProfile";
  188. horizSizing = "right";
  189. vertSizing = "bottom";
  190. position = "8 4";
  191. extent = "47 18";
  192. minExtent = "8 8";
  193. visible = "True";
  194. setFirstResponder = "False";
  195. modal = "True";
  196. helpTag = "0";
  197. text = "Open File:";
  198. };
  199. new GuiPopUpMenuCtrl(DebuggerFilePopup) {
  200. profile = "ToolsGuiPopUpMenuProfile";
  201. horizSizing = "right";
  202. vertSizing = "bottom";
  203. position = "64 4";
  204. extent = "160 18";
  205. minExtent = "8 8";
  206. visible = "True";
  207. setFirstResponder = "True";
  208. modal = "True";
  209. helpTag = "0";
  210. maxPopupHeight = "200";
  211. };
  212. new GuiScrollCtrl() {
  213. profile = "ToolsGuiScrollProfile";
  214. horizSizing = "width";
  215. vertSizing = "height";
  216. position = "0 24";
  217. extent = "482 321";
  218. minExtent = "8 8";
  219. visible = "True";
  220. setFirstResponder = "False";
  221. modal = "True";
  222. helpTag = "0";
  223. willFirstRespond = "True";
  224. hScrollBar = "dynamic";
  225. vScrollBar = "dynamic";
  226. lockHorizScroll = "false";
  227. lockVertScroll = "false";
  228. constantThumbHeight = "False";
  229. new DbgFileView(DebuggerFileView) {
  230. profile = "ToolsGuiTextArrayProfile";
  231. horizSizing = "right";
  232. vertSizing = "bottom";
  233. position = "0 -433";
  234. extent = "509 3904";
  235. minExtent = "8 8";
  236. visible = "True";
  237. setFirstResponder = "False";
  238. modal = "True";
  239. helpTag = "0";
  240. };
  241. };
  242. };
  243. new GuiControl() {
  244. profile = "ToolsGuiWindowProfile";
  245. horizSizing = "right";
  246. vertSizing = "bottom";
  247. position = "0 350";
  248. extent = "482 106";
  249. minExtent = "8 8";
  250. visible = "True";
  251. setFirstResponder = "False";
  252. modal = "True";
  253. helpTag = "0";
  254. new GuiButtonCtrl() {
  255. profile = "ToolsGuiButtonProfile";
  256. horizSizing = "right";
  257. vertSizing = "bottom";
  258. position = "8 4";
  259. extent = "56 16";
  260. minExtent = "8 8";
  261. visible = "True";
  262. setFirstResponder = "False";
  263. modal = "True";
  264. command = "Canvas.pushDialog(DebuggerWatchDlg, 80);";
  265. helpTag = "0";
  266. text = "Add";
  267. };
  268. new GuiButtonCtrl() {
  269. profile = "ToolsGuiButtonProfile";
  270. horizSizing = "right";
  271. vertSizing = "bottom";
  272. position = "72 4";
  273. extent = "56 16";
  274. minExtent = "8 8";
  275. visible = "True";
  276. setFirstResponder = "False";
  277. modal = "True";
  278. command = "Canvas.pushDialog(DebuggerEditWatchDlg, 80);";
  279. helpTag = "0";
  280. text = "Edit";
  281. };
  282. new GuiButtonCtrl() {
  283. profile = "ToolsGuiButtonProfile";
  284. horizSizing = "right";
  285. vertSizing = "bottom";
  286. position = "136 4";
  287. extent = "56 16";
  288. minExtent = "8 8";
  289. visible = "True";
  290. setFirstResponder = "False";
  291. modal = "True";
  292. command = "DbgDeleteSelectedWatch();";
  293. helpTag = "0";
  294. text = "Delete";
  295. };
  296. new GuiButtonCtrl() {
  297. profile = "ToolsGuiButtonProfile";
  298. horizSizing = "right";
  299. vertSizing = "bottom";
  300. position = "200 4";
  301. extent = "56 16";
  302. minExtent = "8 8";
  303. visible = "True";
  304. setFirstResponder = "False";
  305. modal = "True";
  306. command = "DebuggerWatchView.clear();";
  307. helpTag = "0";
  308. text = "Clear";
  309. };
  310. new GuiButtonCtrl() {
  311. profile = "ToolsGuiButtonProfile";
  312. horizSizing = "right";
  313. vertSizing = "bottom";
  314. position = "264 4";
  315. extent = "56 16";
  316. minExtent = "8 8";
  317. visible = "True";
  318. setFirstResponder = "False";
  319. modal = "True";
  320. command = "DbgRefreshWatches();";
  321. helpTag = "0";
  322. text = "Refresh";
  323. };
  324. new GuiScrollCtrl() {
  325. profile = "ToolsGuiScrollProfile";
  326. horizSizing = "width";
  327. vertSizing = "height";
  328. position = "0 24";
  329. extent = "481 80";
  330. minExtent = "8 8";
  331. visible = "True";
  332. setFirstResponder = "False";
  333. modal = "True";
  334. helpTag = "0";
  335. willFirstRespond = "True";
  336. hScrollBar = "dynamic";
  337. vScrollBar = "dynamic";
  338. lockHorizScroll = "false";
  339. lockVertScroll = "false";
  340. constantThumbHeight = "False";
  341. new GuiTextListCtrl(DebuggerWatchView) {
  342. profile = "ToolsGuiTextListProfile";
  343. horizSizing = "right";
  344. vertSizing = "bottom";
  345. position = "0 0";
  346. extent = "640 8";
  347. minExtent = "8 8";
  348. visible = "True";
  349. setFirstResponder = "False";
  350. modal = "True";
  351. helpTag = "0";
  352. enumerate = "False";
  353. resizeCell = "True";
  354. columns = "0 200";
  355. };
  356. };
  357. };
  358. };
  359. new GuiFrameSetCtrl(DebuggerRightFrame) {
  360. profile = "GuiContentProfile";
  361. horizSizing = "right";
  362. vertSizing = "bottom";
  363. position = "486 0";
  364. extent = "154 456";
  365. minExtent = "8 8";
  366. visible = "True";
  367. setFirstResponder = "False";
  368. modal = "True";
  369. helpTag = "0";
  370. columns = "0";
  371. rows = "0 150 350";
  372. borderWidth = "4";
  373. borderEnable = "dynamic";
  374. borderMovable = "dynamic";
  375. new GuiScrollCtrl() {
  376. profile = "ToolsGuiScrollProfile";
  377. horizSizing = "width";
  378. vertSizing = "height";
  379. position = "0 0";
  380. extent = "154 146";
  381. minExtent = "8 8";
  382. visible = "True";
  383. setFirstResponder = "False";
  384. modal = "True";
  385. helpTag = "0";
  386. willFirstRespond = "True";
  387. hScrollBar = "dynamic";
  388. vScrollBar = "dynamic";
  389. lockHorizScroll = "false";
  390. lockVertScroll = "false";
  391. constantThumbHeight = "False";
  392. new GuiTextListCtrl(DebuggerCallStack) {
  393. profile = "ToolsGuiTextListProfile";
  394. horizSizing = "right";
  395. vertSizing = "bottom";
  396. position = "0 0";
  397. extent = "640 8";
  398. minExtent = "8 8";
  399. visible = "True";
  400. setFirstResponder = "False";
  401. modal = "True";
  402. helpTag = "0";
  403. enumerate = "False";
  404. resizeCell = "True";
  405. columns = "-1 -1 0";
  406. };
  407. };
  408. new GuiControl() {
  409. profile = "ToolsGuiWindowProfile";
  410. horizSizing = "right";
  411. vertSizing = "bottom";
  412. position = "0 150";
  413. extent = "154 196";
  414. minExtent = "8 8";
  415. visible = "True";
  416. setFirstResponder = "False";
  417. modal = "True";
  418. helpTag = "0";
  419. new GuiButtonCtrl() {
  420. profile = "ToolsGuiButtonProfile";
  421. horizSizing = "right";
  422. vertSizing = "bottom";
  423. position = "4 4";
  424. extent = "56 16";
  425. minExtent = "8 8";
  426. visible = "True";
  427. setFirstResponder = "False";
  428. modal = "True";
  429. command = "Canvas.pushDialog(DebuggerBreakConditionDlg, 80);";
  430. helpTag = "0";
  431. text = "Condition";
  432. };
  433. new GuiButtonCtrl() {
  434. profile = "ToolsGuiButtonProfile";
  435. horizSizing = "right";
  436. vertSizing = "bottom";
  437. position = "68 4";
  438. extent = "56 16";
  439. minExtent = "8 8";
  440. visible = "True";
  441. setFirstResponder = "False";
  442. modal = "True";
  443. command = "DbgDeleteSelectedBreak();";
  444. helpTag = "0";
  445. text = "Delete";
  446. };
  447. new GuiButtonCtrl() {
  448. profile = "ToolsGuiButtonProfile";
  449. horizSizing = "right";
  450. vertSizing = "bottom";
  451. position = "132 4";
  452. extent = "56 16";
  453. minExtent = "8 8";
  454. visible = "True";
  455. setFirstResponder = "False";
  456. modal = "True";
  457. command = "DebuggerBreakPoints.clearBreaks();";
  458. helpTag = "0";
  459. text = "Clear";
  460. };
  461. new GuiScrollCtrl() {
  462. profile = "ToolsGuiScrollProfile";
  463. horizSizing = "width";
  464. vertSizing = "height";
  465. position = "0 24";
  466. extent = "153 171";
  467. minExtent = "8 8";
  468. visible = "True";
  469. setFirstResponder = "False";
  470. modal = "True";
  471. helpTag = "0";
  472. willFirstRespond = "True";
  473. hScrollBar = "dynamic";
  474. vScrollBar = "dynamic";
  475. lockHorizScroll = "false";
  476. lockVertScroll = "false";
  477. constantThumbHeight = "False";
  478. new GuiTextListCtrl(DebuggerBreakPoints) {
  479. profile = "ToolsGuiTextListProfile";
  480. horizSizing = "right";
  481. vertSizing = "bottom";
  482. position = "0 0";
  483. extent = "182 16";
  484. minExtent = "8 8";
  485. visible = "True";
  486. setFirstResponder = "False";
  487. modal = "True";
  488. helpTag = "0";
  489. enumerate = "False";
  490. resizeCell = "True";
  491. columns = "16 56 156";
  492. };
  493. };
  494. };
  495. new GuiControl() {
  496. profile = "ToolsGuiWindowProfile";
  497. horizSizing = "width";
  498. vertSizing = "height";
  499. position = "0 350";
  500. extent = "154 106";
  501. minExtent = "8 8";
  502. visible = "True";
  503. setFirstResponder = "False";
  504. modal = "True";
  505. helpTag = "0";
  506. new GuiScrollCtrl() {
  507. profile = "ToolsGuiScrollProfile";
  508. horizSizing = "width";
  509. vertSizing = "height";
  510. position = "0 0";
  511. extent = "153 80";
  512. minExtent = "8 8";
  513. visible = "True";
  514. setFirstResponder = "False";
  515. modal = "True";
  516. helpTag = "0";
  517. willFirstRespond = "True";
  518. hScrollBar = "dynamic";
  519. vScrollBar = "dynamic";
  520. lockHorizScroll = "false";
  521. lockVertScroll = "false";
  522. constantThumbHeight = "False";
  523. new GuiTextListCtrl(DebuggerConsoleView) {
  524. profile = "ToolsGuiTextListProfile";
  525. horizSizing = "right";
  526. vertSizing = "bottom";
  527. position = "0 0";
  528. extent = "62 16";
  529. minExtent = "8 8";
  530. visible = "True";
  531. setFirstResponder = "False";
  532. modal = "True";
  533. helpTag = "0";
  534. enumerate = "False";
  535. resizeCell = "True";
  536. columns = "0";
  537. };
  538. };
  539. new GuiTextCtrl() {
  540. profile = "ToolsGuiTextProfile";
  541. horizSizing = "right";
  542. vertSizing = "top";
  543. position = "15 83";
  544. extent = "9 18";
  545. minExtent = "8 8";
  546. visible = "True";
  547. setFirstResponder = "False";
  548. modal = "True";
  549. helpTag = "0";
  550. text = "%";
  551. };
  552. new GuiTextEditCtrl(DbgConsoleEntry) {
  553. profile = "ToolsGuiTextEditProfile";
  554. horizSizing = "width";
  555. vertSizing = "top";
  556. position = "29 83";
  557. extent = "120 18";
  558. minExtent = "8 8";
  559. visible = "True";
  560. setFirstResponder = "False";
  561. modal = "True";
  562. altCommand = "DbgConsoleEntryReturn();";
  563. helpTag = "0";
  564. historySize = "32";
  565. };
  566. };
  567. };
  568. };
  569. };
  570. //--- OBJECT WRITE END ---