Commit Graph

1065 Commits

Author SHA1 Message Date
juha
3a71f62ad3 Debugger: Fixed integer types to prevent a range check error. Issue #20691
git-svn-id: trunk@33558 -
2011-11-16 10:44:27 +00:00
martin
e2a50e024f DBG: Improve display of char accessed via index "s[1]". Show pchar and string based value, as detection is not possible.
git-svn-id: trunk@33517 -
2011-11-14 02:12:21 +00:00
martin
3a3cc95bce DBG: Improve display of char accessed via index "s[1]". Show pchar and string based value, as detection is not possible.
git-svn-id: trunk@33516 -
2011-11-14 02:00:30 +00:00
martin
59ecf5009a DBG: improved array index access for watches
git-svn-id: trunk@33507 -
2011-11-13 18:05:49 +00:00
martin
219935fe22 DBG: moved example gdb results out of the unit
git-svn-id: trunk@33414 -
2011-11-08 11:34:50 +00:00
martin
9af87b923e DBG: fixed a mem leak in array-index helper code
git-svn-id: trunk@33397 -
2011-11-07 13:32:42 +00:00
martin
38e322bc0f DBG: Jump to breakpoint: focus+highlight
git-svn-id: trunk@33396 -
2011-11-07 13:31:08 +00:00
maxim
979cfa1c70 GDBMIDebugger: improved localization, fixed typos
git-svn-id: trunk@33366 -
2011-11-06 12:44:22 +00:00
juha
c6b629a8cf IDE: set Enabled state of controls in debugger event log settings
git-svn-id: trunk@33353 -
2011-11-05 17:53:58 +00:00
martin
5001efe30e DBG: Fixed compilation, due to IFDEF (rev 33336 #2642e6a579)
git-svn-id: trunk@33339 -
2011-11-05 14:32:37 +00:00
martin
2c40a97d6a DBG: Markl project as modified, if watches are added/changed/removed. issue #0020092
git-svn-id: trunk@33338 -
2011-11-05 14:30:32 +00:00
martin
2642e6a579 DBG: moved window-names from IDE to debugger
git-svn-id: trunk@33336 -
2011-11-05 13:32:32 +00:00
martin
ed780f4ced DBG: Store/Restore column size (debug dialogs). issue #0018035
git-svn-id: trunk@33270 -
2011-11-03 17:53:46 +00:00
martin
a5b5ca1199 DBG: Fixed ThreadDlg. TThreadsDlg.ThreadsChanged was not protected against re-entrance, and could crash.
git-svn-id: trunk@33226 -
2011-11-02 17:52:16 +00:00
martin
7275997958 DBG: Fix mem leak in expression-eval (hint/inspect)
git-svn-id: trunk@33221 -
2011-11-02 16:03:29 +00:00
martin
f00bddfe80 DBG: Fix evaluation of base-classes. Don't eval the type
git-svn-id: trunk@33211 -
2011-11-02 01:26:38 +00:00
martin
c6a5c6d837 IDE Window Layout: provide ability to store columns/rows/splitter sizes.
DBG: Watches, store column widths with IDE layout

git-svn-id: trunk@33202 -
2011-11-01 16:31:31 +00:00
mattias
1c732c24ef IDE: code observer options: nicer layout
git-svn-id: trunk@33163 -
2011-10-30 09:27:27 +00:00
mattias
4e22228b6b IDE: clean up
git-svn-id: trunk@33162 -
2011-10-30 09:13:36 +00:00
martin
91818313c5 DBG: Setting groups to multiply selected breakpoints. Issue #0020478 / patch by Flávio Etrusco
git-svn-id: trunk@33160 -
2011-10-30 01:49:55 +00:00
martin
e225121fbe DBG: Tests
git-svn-id: trunk@33153 -
2011-10-29 18:22:13 +00:00
martin
cf6bb9af32 DBG: Improved watch eval for "array[x].foo", fix mem leak
git-svn-id: trunk@33152 -
2011-10-29 18:21:46 +00:00
martin
43ef33f4aa DBG: Improved watch eval for "array[x].foo", fix mem leak
git-svn-id: trunk@33136 -
2011-10-28 12:33:06 +00:00
martin
e1d0766fe6 DBG: Tests
git-svn-id: trunk@33109 -
2011-10-27 12:23:29 +00:00
martin
54b5c2b102 DBG: Improved watch eval for "array[x].foo"
git-svn-id: trunk@33108 -
2011-10-27 12:23:22 +00:00
martin
f991072664 DBG: added some feedback (debugln)
git-svn-id: trunk@33090 -
2011-10-26 14:26:14 +00:00
martin
c5a96ed67a DBG: tests
git-svn-id: trunk@32981 -
2011-10-19 13:21:03 +00:00
martin
eeb55bc54e DBG: Slightly more feedback on exceptions
git-svn-id: trunk@32964 -
2011-10-18 18:20:35 +00:00
martin
a58a76fc72 DBG: tests
git-svn-id: trunk@32963 -
2011-10-18 14:56:39 +00:00
martin
f3c0b96ec3 DBG: tests
git-svn-id: trunk@32953 -
2011-10-18 11:08:42 +00:00
martin
1fd34c798e DBG: logging
git-svn-id: trunk@32951 -
2011-10-18 00:10:00 +00:00
martin
235d156fab DBG: tests
git-svn-id: trunk@32950 -
2011-10-18 00:09:11 +00:00
martin
89558a4144 DBG: clean up
git-svn-id: trunk@32940 -
2011-10-17 10:31:17 +00:00
martin
350818083e DBG: timeout detection for breakpoint commands
git-svn-id: trunk@32938 -
2011-10-17 09:39:22 +00:00
martin
72acd39178 DBG: tests
git-svn-id: trunk@32929 -
2011-10-16 22:51:21 +00:00
martin
0ec0a215fb DBG: Fix pascalize pointer adding space into result of string (dwarf3)
git-svn-id: trunk@32925 -
2011-10-16 18:35:33 +00:00
martin
9a5be76311 DBG: tests
git-svn-id: trunk@32923 -
2011-10-16 14:16:31 +00:00
martin
f2951a1fd4 DBG: tests
git-svn-id: trunk@32922 -
2011-10-16 13:36:13 +00:00
martin
43e41c3974 DBG: lower default timeout on mac / combine up to 4 startup warnings into 1 (optional) warning
git-svn-id: trunk@32920 -
2011-10-16 12:06:04 +00:00
martin
f77855dddf DBG: tests
git-svn-id: trunk@32916 -
2011-10-15 22:06:04 +00:00
martin
39e5e43f9d DBG: tests
git-svn-id: trunk@32911 -
2011-10-15 17:50:06 +00:00
martin
e48afdd40c DBG: tests
git-svn-id: trunk@32906 -
2011-10-15 14:28:13 +00:00
martin
19fac2420e DBG: tests
git-svn-id: trunk@32905 -
2011-10-15 12:37:54 +00:00
martin
7fa752581c DBG: tests
git-svn-id: trunk@32894 -
2011-10-15 00:55:59 +00:00
martin
6a4928281a DBG: Callstack, show frames in assembler.
git-svn-id: trunk@32831 -
2011-10-12 01:26:11 +00:00
martin
5bdf949df0 DBG: User-Feedback for watchpoint errors
git-svn-id: trunk@32830 -
2011-10-11 23:24:09 +00:00
martin
a46dcdb4d8 DBG: User-Feedback for watchpoint errors
git-svn-id: trunk@32829 -
2011-10-11 23:15:55 +00:00
martin
03120971cf DBG: refactor GetBreakpointImage / Add images to breakpoint-dlg
git-svn-id: trunk@32827 -
2011-10-11 21:46:29 +00:00
martin
55247419c8 DBG: dis-assembler, fix back to short filename
git-svn-id: trunk@32813 -
2011-10-11 00:48:47 +00:00
martin
f4530db335 DBG: Breakpoints for asm window; extended in callstack
git-svn-id: trunk@32812 -
2011-10-10 22:21:13 +00:00
martin
f7688f9be6 DBG: Change scrolling in assembler win
git-svn-id: trunk@32806 -
2011-10-10 20:26:15 +00:00
martin
12e58e3bc1 DBG: Keep dsStop until sopping has finished
git-svn-id: trunk@32798 -
2011-10-10 12:29:18 +00:00
martin
bfd5aebbd4 DBG: Exception handling
git-svn-id: trunk@32794 -
2011-10-10 09:33:26 +00:00
martin
f9810a2611 DBG: Improved exception feedback
git-svn-id: trunk@32793 -
2011-10-09 22:35:49 +00:00
martin
876299b8d0 DBG: Refactor state handling
git-svn-id: trunk@32792 -
2011-10-09 20:20:28 +00:00
martin
93b79f2889 DBG: Refactor state handling
git-svn-id: trunk@32791 -
2011-10-09 18:41:03 +00:00
martin
064e148c79 DBG: Enable/Disable breakpoint groups
git-svn-id: trunk@32788 -
2011-10-09 17:06:44 +00:00
martin
5b3c4cf5f1 DBG: Ensure variable is initialized
git-svn-id: trunk@32787 -
2011-10-09 16:53:46 +00:00
martin
1bb16ace8f DBG: Enable/Disable breakpoint groups
git-svn-id: trunk@32785 -
2011-10-09 16:15:57 +00:00
martin
8068974afb DBG: Enable/Disable breakpoint groups
git-svn-id: trunk@32784 -
2011-10-09 15:52:06 +00:00
martin
6e2dfa27a3 DBG: auto continue on windows "DbgUiConvertStateChangeStructure"
git-svn-id: trunk@32779 -
2011-10-09 12:36:00 +00:00
martin
5fd3a7a645 DBG: do not open virtual unit twice.
git-svn-id: trunk@32724 -
2011-10-06 20:29:58 +00:00
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
martin
65b111ae79 DBG: History values: evaluate in background, if windows are closed
git-svn-id: trunk@30752 -
2011-05-16 00:45:19 +00:00
martin
3dc186123d DBG: Start History values (currently requires debug windows (locals, watches, stack) to be open and active, or nothing is recorded)
git-svn-id: trunk@30750 -
2011-05-15 21:16:16 +00:00
martin
d16f3a06da DBG: Fix watches, do not double request data
git-svn-id: trunk@30746 -
2011-05-15 12:23:47 +00:00
martin
f5bb1d204b DBG: Some fixes for watch evaluation (update state / detect destruction)
git-svn-id: trunk@30740 -
2011-05-15 10:34:04 +00:00
martin
a60b1bab59 DBG: fix deleting breakpoint that have a group
git-svn-id: trunk@30733 -
2011-05-14 20:00:20 +00:00
maxim
e1a1402c12 Debugger, Event log options dialog: fixed comboboxes layout e.g. with GTK2 widgetset, where they can have arbitrary height
git-svn-id: trunk@30732 -
2011-05-14 12:14:00 +00:00
martin
f4d0e31e1a DBG: Fixed adding watches while debugger is running. Issue #0019354
git-svn-id: trunk@30725 -
2011-05-13 22:17:34 +00:00
martin
99624b9b9a DBG: Refactor Master/Slave class structure (locals)
git-svn-id: trunk@30721 -
2011-05-13 14:00:35 +00:00
paul
53aafb3215 debugger: rename action to match the meaning
git-svn-id: trunk@30718 -
2011-05-13 09:26:45 +00:00
paul
71256463f9 debugger: implement breakpoint group creation in breakpoint properties dialog, fix group restoring
git-svn-id: trunk@30715 -
2011-05-13 08:02:50 +00:00
paul
e770073129 debugger: skip pause when breakpoint action does not contain "Break"
git-svn-id: trunk@30713 -
2011-05-13 06:48:12 +00:00
paul
ae6a67d2b3 debugger: output call stack to the event log when breakpoint action requires this
git-svn-id: trunk@30711 -
2011-05-13 00:58:19 +00:00
martin
17c7d5559e DBG: testcase updated
git-svn-id: trunk@30704 -
2011-05-12 20:03:59 +00:00
martin
bd7bdda224 DBG:t caseupdat
git-svn-id: trunk@30703 -
2011-05-12 20:01:11 +00:00
martin
ab031a532f DBG: Fix stackframe for exceptions (fix for rev 30699 #1d566ba504)
git-svn-id: trunk@30702 -
2011-05-12 19:30:17 +00:00
martin
1d566ba504 DBG: Refactor Master/Slave class structure (watches)
git-svn-id: trunk@30699 -
2011-05-12 18:47:54 +00:00
martin
fe9fa77307 DBG, Watches: Show errors for mem-dump evaluation
git-svn-id: trunk@30690 -
2011-05-12 10:09:22 +00:00
paul
364a8189ab debugger: start breakpoint log call stack feature
git-svn-id: trunk@30689 -
2011-05-12 07:42:31 +00:00
maxim
48a8ca19ef IDE: ellipsis cleanup and unification
git-svn-id: trunk@30684 -
2011-05-11 21:20:23 +00:00
paul
4ce0dd4aeb debugger: add popup menu for event log
git-svn-id: trunk@30680 -
2011-05-11 08:37:38 +00:00
paul
0fb8976945 ide: add dummy debugger options class make filtering IDE options work
git-svn-id: trunk@30679 -
2011-05-11 08:36:42 +00:00
paul
f1cd1cf62e debugger: use actions in breakpoints dialog instead of key handler, use hints, add shortcuts
git-svn-id: trunk@30677 -
2011-05-11 06:37:57 +00:00
paul
3053bea45c debugger: restore Addr property of TGDBMIDebuggerCommandBreakInser because address to set and actual address may differ
git-svn-id: trunk@30674 -
2011-05-11 03:17:32 +00:00
paul
f805a11b16 debugger: implement address breakpoints
git-svn-id: trunk@30673 -
2011-05-11 02:51:08 +00:00
paul
a6fc00143f debugger: preparation for address breakpoints
git-svn-id: trunk@30659 -
2011-05-10 14:37:44 +00:00
paul
8e156d3fca debugger: log OutputDebugString() messages
git-svn-id: trunk@30656 -
2011-05-10 07:07:42 +00:00
paul
ca906c31e1 debugger: select last event on event add
git-svn-id: trunk@30654 -
2011-05-10 06:17:54 +00:00
paul
4ae562d3db debugger: save/load breakpoint log messages, log message on breakpoint hit
git-svn-id: trunk@30653 -
2011-05-10 03:52:45 +00:00
paul
7223934312 debugger: format addresses in events according to platform pointer size, output breakpoint hits to the event log
git-svn-id: trunk@30652 -
2011-05-10 03:04:14 +00:00
paul
21c357d3c8 debugger: move DoNotifyAsync to debugger class, parse thread events for event log
git-svn-id: trunk@30651 -
2011-05-10 01:43:35 +00:00
martin
40cd64d045 DBG: clean up: removed old method
git-svn-id: trunk@30635 -
2011-05-09 10:56:24 +00:00
martin
505c0a0e9b DBG: Refactor Master/Slave class structure (callstack)
git-svn-id: trunk@30629 -
2011-05-08 23:45:16 +00:00
paul
798a36c62e debugger: write thread group info near module load/unload, write about process start/exit in the event log
git-svn-id: trunk@30626 -
2011-05-08 17:42:23 +00:00
paul
cfcd9b26a1 debugger: improve module load/unload event log output
git-svn-id: trunk@30625 -
2011-05-08 16:34:39 +00:00
maxim
e510ee54a0 Debugger, Evaluate/Modify dialog: improved localization
git-svn-id: trunk@30623 -
2011-05-08 16:02:31 +00:00
paul
1f7970e2eb debugger: copy event text to clipboard in event log form when standard clipboard key combination is used
git-svn-id: trunk@30622 -
2011-05-08 15:53:18 +00:00
maxim
a0702e85bd Debugger, Breakpoint properties dialog: improved layout to fit longer captions
git-svn-id: trunk@30619 -
2011-05-08 15:29:09 +00:00
maxim
40ffcaa435 Debugger: tweaked Event log options frame layout to make it look better with longer event captions
git-svn-id: trunk@30618 -
2011-05-08 15:20:09 +00:00
maxim
631590053a Debugger: localized event names
git-svn-id: trunk@30616 -
2011-05-08 14:47:36 +00:00
martin
56884905ce DBG: Refactor Master/Slave class structure (starting with threads)
git-svn-id: trunk@30609 -
2011-05-07 21:15:07 +00:00
martin
65907a7def DBG: undone rev 30583 #1785aedd19. Added different check for over-queued run-commands (do not run after stop)
git-svn-id: trunk@30595 -
2011-05-07 13:29:51 +00:00
martin
1785aedd19 DBG: Only queue one run-command at a time
git-svn-id: trunk@30583 -
2011-05-06 12:03:54 +00:00
martin
ae1000c02f DBG: Fix ProcessRunning to return optional result
git-svn-id: trunk@30582 -
2011-05-06 11:59:17 +00:00
martin
18ced75ab7 DBG: Handle failed breakpoints
git-svn-id: trunk@30580 -
2011-05-06 11:14:06 +00:00
martin
dcb11c1573 DBG: Thread dlg: fix type, address prefix is : not ;
git-svn-id: trunk@30576 -
2011-05-06 10:37:23 +00:00
zeljko
bfb3e89980 IDE: proper initialization of TextStyle in paintbox paint method.Now qt doesn't try to wordbreak lines
git-svn-id: trunk@30572 -
2011-05-06 09:53:02 +00:00
martin
c01ac77642 DBG: fix commit 30567 #ffbe3af869: Error handling by user was broken
git-svn-id: trunk@30571 -
2011-05-06 09:42:42 +00:00
martin
ffbe3af869 DBG: More error handling. error in step-over / terminate on error
git-svn-id: trunk@30567 -
2011-05-06 08:40:42 +00:00
martin
4348781a98 DBG: Added timeout to stop-command
git-svn-id: trunk@30562 -
2011-05-05 22:02:59 +00:00
maxim
97ebeeb97b Debugger, Breakpoint properties dialog: improved layout and localization
git-svn-id: trunk@30551 -
2011-05-04 22:39:56 +00:00
martin
3a9c073d32 DBG: fixed setting of break conditions
git-svn-id: trunk@30539 -
2011-05-03 09:27:13 +00:00
juha
cd0341fdde Debugger: Remove Windows unit added (by accident) in r30535 #82fa636bdc.
git-svn-id: trunk@30538 -
2011-05-03 09:23:04 +00:00
paul
82fa636bdc ide, debugger: use colors in event log:
- replace listview by treeview
  - extend data which is stored together with event message
  - implement custom node paint

git-svn-id: trunk@30535 -
2011-05-03 07:59:02 +00:00
paul
64f78f5265 ide: save/load/edit debugger event log options
git-svn-id: trunk@30534 -
2011-05-03 05:34:26 +00:00
martin
515fc71d92 DBG: Ensure queuing order for exec commands, must be hold until current exec is done; otherwise src-edit will show wrong locations
git-svn-id: trunk@30532 -
2011-05-02 18:16:24 +00:00
martin
aaff414d3e DBG: Limit search for exception frame
git-svn-id: trunk@30529 -
2011-05-02 17:35:43 +00:00
martin
478c782316 DBG: Improved timeout detection
git-svn-id: trunk@30520 -
2011-05-01 18:16:59 +00:00
martin
195d3727b7 DBG: Fixed max(qwoed, qword), some fpc versions do not compile it. issue #0019274
git-svn-id: trunk@30519 -
2011-05-01 17:03:08 +00:00
martin
d134d8df91 DBG: clear terminal on run
git-svn-id: trunk@30517 -
2011-05-01 16:35:25 +00:00
martin
eabbbd37a1 DBG: fixes for Disassembler
git-svn-id: trunk@30516 -
2011-05-01 14:37:34 +00:00
martin
5c02251e3c DBG: fixes for Disassembler
git-svn-id: trunk@30515 -
2011-05-01 14:34:36 +00:00
martin
3374fa1d8e DBG: Fixed a memory leak in watch evaluation. issue #0019089
git-svn-id: trunk@30513 -
2011-05-01 13:11:06 +00:00
martin
0866e743d5 DBG: Terminal: enable scrollbar
git-svn-id: trunk@30512 -
2011-05-01 11:55:54 +00:00
martin
e0c85150e9 DBG: Better time-out detection, time-out detection at startup, event-log time-outs, add config for warning dlg at time-out
git-svn-id: trunk@30508 -
2011-04-29 14:14:31 +00:00
martin
0bed6cbd7d DBG: tests
git-svn-id: trunk@30494 -
2011-04-28 12:30:44 +00:00
martin
45fc51696a DBG: register usage for win64 ABI
git-svn-id: trunk@30493 -
2011-04-27 18:49:07 +00:00
martin
33f168fcdb DBG: Fixes, do not send break-insert command if debugger is stopped. Improve clean up when stopping.
git-svn-id: trunk@30492 -
2011-04-27 18:36:38 +00:00
martin
1a0a37aaf9 DBG: Refactor, merge TManaged.. classes into TIDE.. classes
git-svn-id: trunk@30490 -
2011-04-27 14:55:07 +00:00
martin
535accdbc6 DBG: Fixed running without debugger
git-svn-id: trunk@30489 -
2011-04-27 12:38:01 +00:00
paul
a2e3f1c24b debugger: log exceptions
git-svn-id: trunk@30488 -
2011-04-27 07:30:33 +00:00
paul
f52d287d2d debugger: add TDBGEventType enumeration, pass event type when some debugger event happens
git-svn-id: trunk@30487 -
2011-04-27 06:58:44 +00:00
paul
ec09bfef6c ide: fix debugger event name Window -> Windows, record 'library-loaded' events
git-svn-id: trunk@30486 -
2011-04-27 06:43:16 +00:00
paul
1ee57a68c4 ide: change color treeview colors after their change in color boxes
git-svn-id: trunk@30485 -
2011-04-27 03:41:54 +00:00
paul
873771ca05 ide: add more controls to debugger event log options frame and implement simple logic
git-svn-id: trunk@30483 -
2011-04-27 03:20:09 +00:00
martin
fdd40dc1fc DBG: Fixed header for thread dlg
git-svn-id: trunk@30476 -
2011-04-26 08:07:22 +00:00
martin
580a85d184 DBG: Added Thread dialog
git-svn-id: trunk@30467 -
2011-04-25 11:17:47 +00:00
paul
aa6ce5e7cf debugger: fix Range check error (and also integer overflow on 64 bit)
git-svn-id: trunk@30460 -
2011-04-25 00:56:24 +00:00
maxim
58f490704b Debugger, Registers dialog: improved localization
git-svn-id: trunk@30450 -
2011-04-24 13:34:14 +00:00
martin
1ca433e5b8 DBG: Added Format option to Register Window (issue #0018834)
git-svn-id: trunk@30434 -
2011-04-23 14:05:55 +00:00
martin
7610fd1c2a DBG: Make timeout configurable, instead of compiletime-define. set default for mac
git-svn-id: trunk@30418 -
2011-04-21 18:17:28 +00:00
martin
5b1fca573b Debugger: Display errors on run/step to user, with a choice to continue; instead of "error state"
git-svn-id: trunk@30416 -
2011-04-21 16:05:08 +00:00
martin
a24e534a55 DBG: limit console window to linux use -dDBG_ENABLE_TERMINAL to force, if libc is available on other platforms
git-svn-id: trunk@30385 -
2011-04-19 12:00:33 +00:00
mattias
53ccc4736f IDE: fixed compilation under linux x64
git-svn-id: trunk@30360 -
2011-04-18 08:32:38 +00:00
martin
bf85980317 DBG: (Unix) Added (very) basic support for console apps (console window)
git-svn-id: trunk@30351 -
2011-04-17 15:44:14 +00:00
martin
f724c04b0b Debugger: Improve array watches / Improve tests
git-svn-id: trunk@30263 -
2011-04-11 01:28:29 +00:00
martin
e5b4a1fe86 DBG: fixed assertion
git-svn-id: trunk@30247 -
2011-04-08 18:25:52 +00:00
paul
b8276754f7 debugger: learn "pei-x86-64" file type
git-svn-id: trunk@30219 -
2011-04-06 07:18:34 +00:00
martin
4270e6f1e1 Debugger: Improved getting target info (pointer size, object-is-pointer)
git-svn-id: trunk@30181 -
2011-04-04 13:31:22 +00:00