Commit Graph

853 Commits

Author SHA1 Message Date
martin
afc9b17919 DBG: Fixed a possible bad memory access / Fixed line from source 1 vs 0 based
git-svn-id: trunk@32718 -
2011-10-06 10:07:34 +00:00
martin
7a0aa74575 DBG: Tests
git-svn-id: trunk@32711 -
2011-10-06 00:34:44 +00:00
martin
40625a1fd1 DBG: Tests (fix freeing dbg)
git-svn-id: trunk@32710 -
2011-10-06 00:02:16 +00:00
martin
95501e8f43 DBG: Tests
git-svn-id: trunk@32709 -
2011-10-05 23:02:49 +00:00
martin
3068969731 DBG: Tests
git-svn-id: trunk@32708 -
2011-10-05 22:17:02 +00:00
martin
d85dcb1390 DBG: improved type-info parsing. (prepare for gw3)
git-svn-id: trunk@32707 -
2011-10-05 22:04:38 +00:00
maxim
817a369269 Components, converter, debugger, doceditor: third batch of TButtonPanel captions cleanup
git-svn-id: trunk@32664 -
2011-10-03 22:48:51 +00:00
martin
1adda67314 DBG: Tests
git-svn-id: trunk@32651 -
2011-10-03 12:00:59 +00:00
martin
9d45bfaa7e DBG: Tests
git-svn-id: trunk@32650 -
2011-10-03 11:35:34 +00:00
martin
fb05dea232 DBG: Added ability to finish single-step-into/over, after hitting none-breaking breakpoint
git-svn-id: trunk@32610 -
2011-10-01 22:30:12 +00:00
paul
5b7cad31b1 debugger: improve output of WideString and UnicodeString variables
git-svn-id: trunk@32457 -
2011-09-22 06:38:19 +00:00
martin
837fe09471 DBG: Disassembler, when having to guess, use an even address.
git-svn-id: trunk@32453 -
2011-09-21 18:41:42 +00:00
martin
dbb87ca09b DBG: Fixed jumping to unit of unsaved project
git-svn-id: trunk@32449 -
2011-09-21 12:13:24 +00:00
martin
1df02ca4fc DBG: Fixed issue with variables from parent-nested-frames showing with prefix "error:"
git-svn-id: trunk@32437 -
2011-09-20 18:22:56 +00:00
martin
7666c75dd1 DBG: Fix inserting breakpoints (do not silently enter pause state), introduced in r 32414
git-svn-id: trunk@32432 -
2011-09-19 23:28:15 +00:00
martin
ce6ac1c77c DBG:: implement log expression-eval in breakpoint
git-svn-id: trunk@32431 -
2011-09-19 23:19:19 +00:00
martin
37fa512845 DBG: Watchpoints
git-svn-id: trunk@32423 -
2011-09-19 17:47:27 +00:00
martin
c963680079 DBG: (alpha) Initial support for watchpoints ($DEFINE DBG_WITH_WATCHPOINT)
git-svn-id: trunk@32415 -
2011-09-19 01:20:08 +00:00
martin
4559a65564 DBG: Handling unexpected errors.
git-svn-id: trunk@32414 -
2011-09-19 00:51:25 +00:00
martin
0271730391 DBG: small fix in expression parser do not send empty expression)
git-svn-id: trunk@32411 -
2011-09-18 20:54:16 +00:00
martin
d65d00c3f7 DBG: Do not set breakpoints past end of unit. Issue #0020264 (fix, if spaces in part / do not fail if gdb returns error)
git-svn-id: trunk@32410 -
2011-09-18 18:40:05 +00:00
martin
d2497a764a DBG: Tests
git-svn-id: trunk@32406 -
2011-09-18 14:11:08 +00:00
martin
881e94e98d DBG: Do not set breakpoints past end of unit. Issue #0020264 (Thanks to Ludo Brands)
git-svn-id: trunk@32405 -
2011-09-18 14:08:09 +00:00
martin
26a6a97e57 DBG: More info/options on break for exception/run-error (missing file)
git-svn-id: trunk@32404 -
2011-09-18 13:01:48 +00:00
martin
b206291f65 DBG: More info/options on break for exception/run-error
git-svn-id: trunk@32400 -
2011-09-18 11:53:34 +00:00
martin
1cb835eb35 DBG: Improved: Cancel no longer required steps (continue next step)
git-svn-id: trunk@32392 -
2011-09-17 19:23:26 +00:00
martin
d7418bc9aa Dbg: Refactor nested-proc/parent-frame handling; fix nested proc, if not starting at top frame
git-svn-id: trunk@32391 -
2011-09-17 19:15:17 +00:00
martin
77825e7849 Dbg: Fix a race condition, nil pointer access
git-svn-id: trunk@32390 -
2011-09-17 17:43:15 +00:00
martin
4b91967012 DBG: Fixed, evaluating watches in correct stackframe after exception
git-svn-id: trunk@32388 -
2011-09-17 16:05:11 +00:00
martin
d0c22113e6 Debugger, Watches: Store column width
git-svn-id: trunk@32382 -
2011-09-17 13:25:19 +00:00
martin
63a6d0bb60 IDE, DBG: Starting on DebuggerConfigStorage
git-svn-id: trunk@32380 -
2011-09-17 11:32:32 +00:00
martin
c8ef9d5556 DBG: Improved, jumping to correct line, if source was changed
git-svn-id: trunk@32348 -
2011-09-15 11:40:05 +00:00
martin
c3fa344c51 DBG: gdb default locations for windows
git-svn-id: trunk@32341 -
2011-09-14 22:06:17 +00:00
martin
a7100b234c DBG: refactor unit location handling
git-svn-id: trunk@32335 -
2011-09-14 13:48:43 +00:00
martin
0b690c7859 DBG: clean up
git-svn-id: trunk@32286 -
2011-09-11 12:32:41 +00:00
martin
098864ad91 DBG: Improved handling for pseudo terminal
git-svn-id: trunk@32285 -
2011-09-11 12:32:13 +00:00
martin
a8a8065f62 DBG: Fixed error handling for pseudo terminal
git-svn-id: trunk@32267 -
2011-09-10 20:45:37 +00:00
martin
4afba661fa DBG: Fixed error handling for pseudo terminal
git-svn-id: trunk@32266 -
2011-09-10 20:41:03 +00:00
martin
7fe312098e DBG: Fixed error handling for pseudo terminal
git-svn-id: trunk@32265 -
2011-09-10 20:39:28 +00:00
martin
39c65700a2 DBG: Fixed dbg-event-log stack output
git-svn-id: trunk@32249 -
2011-09-10 06:57:18 +00:00
martin
cd4aa1aa02 DBG: Fix getting Exception Classname
git-svn-id: trunk@32233 -
2011-09-08 14:14:04 +00:00
martin
f51cb34f4d DBG: Tests (dir separator)
git-svn-id: trunk@32230 -
2011-09-08 12:45:23 +00:00
martin
261fb2afb4 DBG: auto-typecast for classes: fix double casts, and casts to self
git-svn-id: trunk@32229 -
2011-09-08 12:44:59 +00:00
martin
5216dca1ba DBG: start auto-typecast for classes
git-svn-id: trunk@32219 -
2011-09-08 00:44:46 +00:00
martin
4727f900a6 DBG: Test
git-svn-id: trunk@32218 -
2011-09-07 22:05:59 +00:00
martin
53990c23d4 GDB: Fix typecasting of objects. Stabs only; GDB 7.0 and up only. Issue #0019920
git-svn-id: trunk@32217 -
2011-09-07 22:05:50 +00:00
martin
ce19a79765 DBG: Test
git-svn-id: trunk@32206 -
2011-09-07 10:59:42 +00:00
martin
211843aa39 DBG: Fixed a race condition between gdb hitting breakpoint(or exception...) and value-evaluation request for hint => leading to debugger becoming none responsive (will wait infinite for gdb command result, which was read/discarded by hint)
git-svn-id: trunk@32200 -
2011-09-07 00:25:18 +00:00
martin
1c525dd53a DBG: Test
git-svn-id: trunk@32198 -
2011-09-06 22:55:21 +00:00
martin
13f01cf37b DBG: added cache for some gdb commands during watch eval
git-svn-id: trunk@32197 -
2011-09-06 22:53:29 +00:00
martin
1c12de3876 DBG: Removed deprecated test app
git-svn-id: trunk@32190 -
2011-09-05 20:51:05 +00:00
martin
e22fd7551a DBG: Tests
git-svn-id: trunk@32187 -
2011-09-05 18:17:13 +00:00
maxim
49c2dbf336 IDE: improved localization
git-svn-id: trunk@32177 -
2011-09-04 20:21:53 +00:00
martin
81ef864ae4 DBG: Quickfix: Assembler became permanently disabled, after debugger was reset
git-svn-id: trunk@32174 -
2011-09-03 21:23:56 +00:00
martin
fe76e1084a DBG, Disassembler: fixed button order to match main IDE
git-svn-id: trunk@32172 -
2011-09-03 20:33:34 +00:00
martin
10adb42b66 DBG: Unescape \t in asm
git-svn-id: trunk@32171 -
2011-09-03 19:47:53 +00:00
martin
0be62daad8 DBG: Tests
git-svn-id: trunk@32169 -
2011-09-03 14:02:16 +00:00
martin
1c2e8b3a95 DBG: Improve (pascalize) pointer, if DynArray shows as pointer
git-svn-id: trunk@32163 -
2011-09-02 23:35:27 +00:00
maxim
1e1d0db6f8 Debugger: improved localization strings
git-svn-id: trunk@32161 -
2011-09-02 23:16:00 +00:00
martin
d909440b1a DBG: Ensure Snapshot Watches are enabled
git-svn-id: trunk@32155 -
2011-09-02 14:16:03 +00:00
martin
d0d565f788 IDE, Options: Unifying Font-specification to only use Size, instead of mixing Size and Height. Issue #0017694 Patch by cobines
git-svn-id: trunk@32150 -
2011-09-01 21:54:33 +00:00
maxim
a18edbb6a2 Debugger: minor resourcestring fix
git-svn-id: trunk@32054 -
2011-08-25 22:52:03 +00:00
martin
bfdb46c6b6 DBG: Watches, fix loading watches keep enabled/disabled state / same if history is switched. Issue #0020050
git-svn-id: trunk@32048 -
2011-08-25 10:48:27 +00:00
martin
c325a7e547 Debugger: Disassembler: follow font settings of EditorOpts. issue #0020039 / requires rev 32046 #8bf8857a40
git-svn-id: trunk@32047 -
2011-08-25 01:01:58 +00:00
jesus
561307dda3 Fix compile with fpc trunk
git-svn-id: trunk@31947 -
2011-08-11 20:18:27 +00:00
martin
c2f34d7dc4 DBG: Testcases
git-svn-id: trunk@31908 -
2011-08-07 13:01:30 +00:00
martin
1ee93b1f0d Debugger: Fixed an issue, with freeing objects, on certain gdb errors
git-svn-id: trunk@31833 -
2011-07-30 23:51:26 +00:00
martin
53cbfeeba4 Debugger: Attempt to fix spaces in path for OSx, Issue #0018457
git-svn-id: trunk@31831 -
2011-07-30 17:45:56 +00:00
martin
b580436123 Remove Override Call-Convention, implementation was missing anyway
git-svn-id: trunk@31830 -
2011-07-30 16:44:04 +00:00
martin
c8400142fe DBG: History Import/Export
git-svn-id: trunk@31240 -
2011-06-15 13:46:12 +00:00
martin
f20eedc54a DBG: Fixed potential double execution of keys, if pressed in debug-windows. The key would be handled once via KeyDown, and a 2nd time as Menu-Click (if assigned to a menu item). Issue #0019561
git-svn-id: trunk@31234 -
2011-06-14 21:41:42 +00:00
martin
23d4607e5d DBG: Prevent exec-commands from running nested in other commands. Always queue, and run in the outer most "RunQueue" call.
Prevents state driven changes to IDE objects, while IDE is working on them (IDE-locals are destroyed while being evaluated). Issue #19551

git-svn-id: trunk@31208 -
2011-06-13 22:46:06 +00:00
martin
1ad681f7b9 DBG: Fix an access violation due to too early destroyed locals-object. Related to issue #19551
git-svn-id: trunk@31201 -
2011-06-13 15:46:27 +00:00
martin
2eba652c2b DBG: Disassembler, added pascal source, issue #0019446
git-svn-id: trunk@31177 -
2011-06-11 23:58:22 +00:00
martin
0479ee769d DBG: Fix occasional missing hex dump in disassembler
git-svn-id: trunk@31176 -
2011-06-11 23:56:25 +00:00
martin
82bf90e262 DBG: Fixed freeing cmd-queue
git-svn-id: trunk@31161 -
2011-06-11 00:02:29 +00:00
martin
066a27820b DBG: more debugLN
git-svn-id: trunk@31160 -
2011-06-10 23:15:51 +00:00
martin
ac70d0ff2f DBG: reduced flicker in Data windows, added debugln
git-svn-id: trunk@31150 -
2011-06-10 00:44:18 +00:00
martin
ad7eb43d19 GDB: Attempt to deal with broken output from GDB on Mac (accessed wrong Result var)
git-svn-id: trunk@31149 -
2011-06-09 23:49:04 +00:00
martin
ef7e38483d GDB: Attempt to deal with broken output from GDB on Mac
git-svn-id: trunk@31136 -
2011-06-08 15:12:46 +00:00
martin
9508284b75 GDB: Attempt to deal with broken output from GDB on Mac
git-svn-id: trunk@31135 -
2011-06-08 13:41:47 +00:00
martin
58dbddba3e DBG: Refactor, clean up
git-svn-id: trunk@31131 -
2011-06-08 00:46:39 +00:00
martin
be73e8a304 DBG: Make callstack window work, if threads fail
git-svn-id: trunk@31118 -
2011-06-06 11:24:28 +00:00
martin
7e94016e3a DBG: Automatic Snapshots on breakpoint
git-svn-id: trunk@31111 -
2011-06-06 01:41:20 +00:00
martin
7ca74f8ce1 DBG: More Snapshots,
git-svn-id: trunk@31108 -
2011-06-05 22:38:52 +00:00
martin
6e46475a00 DBG: More Snapshots, Some optimizations/reduce watches refresh
git-svn-id: trunk@31107 -
2011-06-05 22:27:15 +00:00
juha
de68f69051 IDE: harmonize Color/Colors resource strings
git-svn-id: trunk@30849 -
2011-05-22 09:37:36 +00:00
paul
0373bf91fd debugger: fix confirmation message for deletion of address breakpoint
git-svn-id: trunk@30824 -
2011-05-20 06:54:47 +00:00
martin
a168aea26f DBG: clean up (renamed identifier for clarification)
git-svn-id: trunk@30813 -
2011-05-19 17:26:56 +00:00
martin
0cde70d50b DBG: Clean up, Simplify life time management of QueueObject to a ref-counter
git-svn-id: trunk@30812 -
2011-05-19 17:15:52 +00:00
martin
3ac04fa211 DBG: Refactor, move initialization to queue-able object
git-svn-id: trunk@30810 -
2011-05-19 15:00:26 +00:00
martin
cfa81907c6 DBG, History: Disable actions, if switched off
git-svn-id: trunk@30808 -
2011-05-19 13:19:14 +00:00
martin
ccd2349b54 DBG: Display more info for error-state
git-svn-id: trunk@30806 -
2011-05-19 12:08:22 +00:00
martin
d3019b5e88 DBG: Fix parsing certain error msgs
git-svn-id: trunk@30795 -
2011-05-18 12:08:12 +00:00
martin
47eae4dc9c DBG: Refactor, move initialization to queue-able object
git-svn-id: trunk@30794 -
2011-05-18 11:35:19 +00:00
paul
a3fbf4b67c debugger: correct menu captions, assign captions to actions instead of menu items and toolbuttons
git-svn-id: trunk@30780 -
2011-05-17 01:49:52 +00:00
paul
6ea3da59db debugger: set shortcuts to call stack dialog popup menu items
git-svn-id: trunk@30779 -
2011-05-17 01:36:08 +00:00
paul
57d9dcb331 ide: fix add source breakpoint string, + add address breakpoint menu item, implement those menu item clicks
git-svn-id: trunk@30755 -
2011-05-16 05:31:49 +00:00
paul
a7170914a6 debugger: add popup menu to locals windows
git-svn-id: trunk@30754 -
2011-05-16 01:55:19 +00:00
paul
214609b97a debugger: watches dialog:
- don't allow treeview editing
  - use action shortcuts (primary + secondary) instead of keydown handler

git-svn-id: trunk@30753 -
2011-05-16 01:24:14 +00:00