Commit Graph

1445 Commits

Author SHA1 Message Date
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
martin
969d46d571 Debugger: Improved getting exception class/message
git-svn-id: trunk@30164 -
2011-04-04 00:16:51 +00:00
martin
80dbca5c93 DBG: Test, fix to work with latest IDE
git-svn-id: trunk@30162 -
2011-04-03 20:25:39 +00:00
martin
64c43534c9 Debugger: fix crash, when deleting/clearing watches while they are updated
git-svn-id: trunk@30150 -
2011-04-03 13:07:06 +00:00
juha
9a3289dab4 Debugger: fix a wrong assertion
git-svn-id: trunk@30126 -
2011-04-02 11:13:32 +00:00
juha
0712a1f29d IDE: Change 2 resourcestrings to the correct ones.
git-svn-id: trunk@29758 -
2011-03-09 08:13:30 +00:00
maxim
701c1213cf IDE: fixed several translation regressions by August Klein, bug #18893
git-svn-id: trunk@29751 -
2011-03-09 00:37:32 +00:00
martin
5151e1f9c5 DBG: Disassembler: fixed copy to clipboard
git-svn-id: trunk@29573 -
2011-02-16 12:06:52 +00:00
mattias
53680baba2 IDE: fixed compilation by breaking a unit circle
git-svn-id: trunk@29466 -
2011-02-11 15:29:27 +00:00
mattias
46cae9d061 fixed typos: completly
git-svn-id: trunk@29443 -
2011-02-10 09:38:34 +00:00
mattias
78a626bf15 fixed typos: chnage
git-svn-id: trunk@29441 -
2011-02-10 09:37:44 +00:00
mattias
a8498808d1 fixed typos: Adress
git-svn-id: trunk@29439 -
2011-02-10 09:34:42 +00:00
martin
747167aaed DBG: Select the appropriate stack-frame for an exception Issue #0018662
git-svn-id: trunk@29400 -
2011-02-06 00:40:36 +00:00
mattias
c290e9f652 IDE: fixed case sensitivity of combobox history lists
git-svn-id: trunk@29154 -
2011-01-20 21:35:50 +00:00
martin
5b6cc6df96 DBG: "inspect" dialog, now shows entire class
git-svn-id: trunk@29056 -
2011-01-16 19:11:23 +00:00
martin
b15353401b DBG: Disass, allow using left/right in addr-goto edit
git-svn-id: trunk@29055 -
2011-01-16 18:48:24 +00:00
martin
aa41d62c4f DBG: Fix crash in disassembler view
git-svn-id: trunk@29054 -
2011-01-16 18:45:07 +00:00
martin
7c5271b2f7 DBG: cleanup
git-svn-id: trunk@29052 -
2011-01-16 13:08:59 +00:00
martin
37b636f1c6 DBG: Refactored TypeInfo, better class support
git-svn-id: trunk@29038 -
2011-01-15 13:56:32 +00:00
martin
98571c5b6e Dbg: Tests
git-svn-id: trunk@29029 -
2011-01-15 11:23:11 +00:00
paul
1c3512e83c debugger: fix compilation under unix
git-svn-id: trunk@29024 -
2011-01-15 06:30:50 +00:00
martin
04bc7857b7 Dbg: Tests
git-svn-id: trunk@29023 -
2011-01-15 01:43:45 +00:00
martin
9ad9077475 Dbg: Tests
git-svn-id: trunk@29022 -
2011-01-15 01:32:56 +00:00
martin
75359f0f69 Dbg: Tests
git-svn-id: trunk@29019 -
2011-01-14 23:08:56 +00:00
martin
48b31d3357 DBG, Test: enhanced gdb runner app
git-svn-id: trunk@29016 -
2011-01-14 22:23:07 +00:00
martin
35f4b0edad DBG: Clean up
git-svn-id: trunk@29015 -
2011-01-14 22:18:19 +00:00
martin
b1e8f8b9e9 DBG: added configurable tty for console app
git-svn-id: trunk@29002 -
2011-01-13 19:32:42 +00:00
martin
f36c6193c8 Dbg: Tests
git-svn-id: trunk@28998 -
2011-01-13 16:54:40 +00:00
martin
3f3b8a3c89 Env-Opts, Dbg: Save debugger properties
git-svn-id: trunk@28997 -
2011-01-13 16:47:22 +00:00
martin
105bc4f759 DBG: prevent 2 double-clicks on stack entry, from opening the same file twice
git-svn-id: trunk@28982 -
2011-01-13 00:53:24 +00:00
martin
6e5ff4cb3e DBG: Fixed reading exception classname with fpc-trunk and dwarf
git-svn-id: trunk@28981 -
2011-01-13 00:26:28 +00:00
martin
5aefc8ac47 DBG: clean up
git-svn-id: trunk@28980 -
2011-01-12 22:41:09 +00:00
martin
a3107caf22 DBG: Tests
git-svn-id: trunk@28979 -
2011-01-12 22:36:21 +00:00
martin
b29a1ef5d5 DBG: Watches improved mem-dump for objects; improved pointers
git-svn-id: trunk@28978 -
2011-01-12 22:33:18 +00:00
martin
52fba94e89 DBG: added more tests for watches
git-svn-id: trunk@28941 -
2011-01-11 00:53:59 +00:00
martin
8cdcd7f1ea DBG: Show watches, if watch added from eval-dlg. Issue #0018347 Patch by Anton
git-svn-id: trunk@28937 -
2011-01-10 14:05:04 +00:00
martin
03fe9688fa DBG: Show watches first, then update
git-svn-id: trunk@28935 -
2011-01-10 14:03:38 +00:00
martin
6f92e70b9d DBG, missing file for test
git-svn-id: trunk@28927 -
2011-01-10 01:16:00 +00:00
martin
cea1fb0eff DBG: Refactored gdb-type parsing
git-svn-id: trunk@28926 -
2011-01-10 01:11:25 +00:00
martin
36d4591e7e DBG: tests
git-svn-id: trunk@28875 -
2011-01-06 16:30:42 +00:00
marc
ca330915bc * Enable AddWatch
git-svn-id: trunk@28801 -
2010-12-22 10:31:31 +00:00
martin
ea9d796ce5 DBG: fix potential range check
git-svn-id: trunk@28789 -
2010-12-20 11:12:04 +00:00
martin
3dffaaee76 DBG: Try to stop immediately, if requested (rather than waiting for ProcessMessages to finish. fixes issue #0013564
git-svn-id: trunk@28769 -
2010-12-19 17:34:58 +00:00
martin
31a577968d DBG: Improved reaction speed during debugging (locals, register, disass,...)
Added some comments on how typeionfo is derived 

git-svn-id: trunk@28766 -
2010-12-18 20:52:54 +00:00
martin
3fe0875dfb DBG: Improved reaction speed during debugging (now watches evaluation can be stopped, if user wants to continue stepping/running)
git-svn-id: trunk@28763 -
2010-12-18 16:11:39 +00:00
martin
0ab22c4b2d DBG: Improved reaction speed during debugging (now watches evaluation can be stopped, if user wants to continue stepping/running)
git-svn-id: trunk@28762 -
2010-12-18 15:57:19 +00:00
martin
c622f827ef GDB: reduced the amount of parentfp calls needed by watches
git-svn-id: trunk@28755 -
2010-12-18 04:07:28 +00:00
martin
c3f314bb44 DBG: update locals and watches, if user modified variable
git-svn-id: trunk@28754 -
2010-12-18 02:22:30 +00:00
martin
5a9a59f74e DBG: Improved getting strings (recent gdb return the data, immediate, no need to fetch again
git-svn-id: trunk@28753 -
2010-12-18 01:54:57 +00:00
martin
3393fc6278 DBG:result being checked.
git-svn-id: trunk@28737 -
2010-12-17 03:12:45 +00:00
martin
7e077f0e18 DBG: protect dialog actions against re-entrance
git-svn-id: trunk@28736 -
2010-12-17 01:46:36 +00:00
martin
8e4d321718 DBG: Ensure watches work, after changing project (if debugger already instantiated)
git-svn-id: trunk@28735 -
2010-12-17 01:40:07 +00:00
martin
a52df4f32a DBG: fixed display of a=b" watches
git-svn-id: trunk@28734 -
2010-12-16 23:48:42 +00:00
martin
0308e84da6 DBG: added internal debugger debug/experiment facility, with DBG_WITH_DEBUGGER_DEBUG
git-svn-id: trunk@28730 -
2010-12-16 18:56:37 +00:00
martin
e4121d2b0b DBG: improved display of watches
git-svn-id: trunk@28725 -
2010-12-16 01:43:28 +00:00
martin
562432af1c DBG: Improve display of var-param in watches
git-svn-id: trunk@28713 -
2010-12-14 19:14:15 +00:00
martin
42ff964f3b DBG: tests, better appdir detection (including Mac App bundle)
git-svn-id: trunk@28660 -
2010-12-09 21:21:27 +00:00
martin
f348fe1d0f DBG: tests, better appdir detection
git-svn-id: trunk@28659 -
2010-12-09 20:43:41 +00:00
martin
9505743f20 DBG: More tests
git-svn-id: trunk@28656 -
2010-12-09 01:29:08 +00:00
martin
b85a048745 DBG: More tests
git-svn-id: trunk@28653 -
2010-12-08 21:21:29 +00:00
martin
2fd897d60d DBG: cleanup watches code (apply BeginUpdate block / Use actual valid state)
git-svn-id: trunk@28652 -
2010-12-08 21:21:02 +00:00
martin
3140a7ebc4 DBG: More TimeOut workarounds
git-svn-id: trunk@28644 -
2010-12-07 22:30:18 +00:00
martin
4ffb60a9e7 DBG: Starting testcase for exception handling
git-svn-id: trunk@28642 -
2010-12-07 03:23:47 +00:00
martin
a032b2d37f DBG: Starting testcase for exception handling
git-svn-id: trunk@28641 -
2010-12-07 03:16:08 +00:00
martin
f65de69416 DBG: improved detection of TargetPtrSize and CPU / Improved reading ClassName
git-svn-id: trunk@28640 -
2010-12-06 18:54:43 +00:00
maxim
9ca92e0292 Debugger: localized Assembler dialog caption
git-svn-id: trunk@28628 -
2010-12-05 14:15:48 +00:00
martin
dee564645a DBG: make tool windows
git-svn-id: trunk@28621 -
2010-12-04 19:34:21 +00:00
martin
b5b1b4542d DBG: Add tool bar to Dis-Assembler window
git-svn-id: trunk@28620 -
2010-12-04 18:40:30 +00:00
martin
6cee875ace DBG: pid with gdb7.1 on Mac 32 bit
git-svn-id: trunk@28617 -
2010-12-04 14:14:05 +00:00
martin
22e4034da0 DBG: Fixed warning due to unset result
git-svn-id: trunk@28615 -
2010-12-04 01:29:54 +00:00
martin
ffc3ed5480 DBG: Fix loading lpr file when running app under gdb. issue #18097
git-svn-id: trunk@28551 -
2010-11-28 23:33:05 +00:00
martin
732d614598 DBG: Fixed function result forwarding
git-svn-id: trunk@28507 -
2010-11-27 12:10:06 +00:00
martin
343365de24 DBG: some fixes -dDEB_WITH_TIMEOUT
git-svn-id: trunk@28505 -
2010-11-26 21:36:30 +00:00
martin
62e56cbbf3 DBG: Fixed Callstack power mode
git-svn-id: trunk@28504 -
2010-11-26 21:24:15 +00:00
martin
f4532d9046 DBG: fixed call for -dDEB_WITH_TIMEOUT
git-svn-id: trunk@28503 -
2010-11-26 18:41:53 +00:00
paul
dfb2151cf4 debugger: set border to some of windows to bsSizeToolWin
git-svn-id: trunk@28502 -
2010-11-26 15:39:03 +00:00
martin
23252ff1fe DBG: Fix GetTickCound on unix
git-svn-id: trunk@28497 -
2010-11-26 11:33:06 +00:00
martin
659adf9c29 DBG: Fix GetTickCound on unix
git-svn-id: trunk@28496 -
2010-11-26 11:29:19 +00:00
martin
07c762d4a0 DBG: added framework for handling timeout (not active by default)
git-svn-id: trunk@28495 -
2010-11-26 10:25:14 +00:00
martin
03709534ab DBG: added framework for handling timeout (not active by default)
git-svn-id: trunk@28494 -
2010-11-26 10:21:37 +00:00
paul
4fa3fa60e0 ide: remove first portion of unneeded debugger images
git-svn-id: trunk@28491 -
2010-11-26 08:56:49 +00:00
martin
32c1d8856a DBG: Reset Watches if debugger stops. Issue #16095
git-svn-id: trunk@28490 -
2010-11-26 00:32:45 +00:00
maxim
d62eac51da Debugger, Watch properties dialog: improve layout with respect to localization
git-svn-id: trunk@28487 -
2010-11-25 23:53:25 +00:00
martin
b78c74b844 DBG: added toolbars to some of the dbg dialogs
git-svn-id: trunk@28486 -
2010-11-25 23:26:53 +00:00
martin
795b3b3fb5 DBG: initial implementation of display-styles for watches
git-svn-id: trunk@28468 -
2010-11-24 21:48:42 +00:00
martin
71d957a779 DBG: process IDE commands in dialogs. Add step-over/into with automatic (windows context) asm/cmd switch
git-svn-id: trunk@28416 -
2010-11-22 18:46:25 +00:00
mattias
d4249c0b3a LCL: clean up
git-svn-id: trunk@28400 -
2010-11-22 10:33:14 +00:00
martin
04eb05df31 DBG: Added instruction stepping / fixed some assembler window issue
git-svn-id: trunk@28388 -
2010-11-22 00:25:09 +00:00
martin
05ac0535fa DBG: Refactor Locals (more usage of new queue)
git-svn-id: trunk@28381 -
2010-11-21 22:12:50 +00:00
martin
2d1c6a8e08 DBG: AssemblerDlg, fix a out of range access
git-svn-id: trunk@28380 -
2010-11-21 21:04:16 +00:00
martin
9966f617f4 DBG: Refactor: Moved StartDebugger code to object queue
git-svn-id: trunk@28379 -
2010-11-21 19:59:22 +00:00
martin
a37ee03544 DBG: Assembler, fix a range check
git-svn-id: trunk@28378 -
2010-11-21 14:45:36 +00:00
martin
aa572c8941 DBG: Always set pause state, if stopped, even if the reaon is not in the list
git-svn-id: trunk@28377 -
2010-11-21 02:34:51 +00:00
martin
0c071df579 DBG: Assembler, improvements
git-svn-id: trunk@28376 -
2010-11-21 01:15:26 +00:00
martin
db375daf4f DBG: Reduce the amount of data dumped in DBG_VERBOSE mode
git-svn-id: trunk@28375 -
2010-11-20 21:24:44 +00:00
martin
25abe82bd4 GDB: more refactor for disassembler
git-svn-id: trunk@28374 -
2010-11-20 20:44:02 +00:00
martin
dee17fe6e4 DBG: Refactor Disassembler
git-svn-id: trunk@28360 -
2010-11-20 00:33:38 +00:00
martin
594f4eb14b DBG: Parse filenames returned by gdb for escape sequences
git-svn-id: trunk@28354 -
2010-11-19 22:24:54 +00:00
martin
615a8734ce DBG: obey Begin/EndUpdate before attempting to execute brk-point commands
git-svn-id: trunk@28333 -
2010-11-19 00:09:55 +00:00
martin
c6b9d961c1 DBG: slightly reduce overhead in shutdown
git-svn-id: trunk@28330 -
2010-11-18 21:20:02 +00:00
martin
bbf6ccc85b DBG: fixed updating breakpoints (last commit)
git-svn-id: trunk@28327 -
2010-11-18 19:09:35 +00:00
martin
1416e485de DBG: Refactor (new queue system), move breakpoints to use CommandObject / fix left-behind breakpoint on too fast user action / added re-enter safety to new queue system
git-svn-id: trunk@28323 -
2010-11-18 18:38:26 +00:00
martin
c6a4b465a2 DBG: Cleanup
git-svn-id: trunk@28316 -
2010-11-18 12:22:02 +00:00
martin
e43490c669 DBG: Cleanup (removed unused, left overs)
git-svn-id: trunk@28303 -
2010-11-17 23:58:40 +00:00
martin
36f1fbe7c7 DBG: Cleanup (removed unused, left overs)
git-svn-id: trunk@28302 -
2010-11-17 23:47:15 +00:00
martin
e16d7a8322 DBG: Fixed compile on non windows (missing ifdef)
git-svn-id: trunk@28301 -
2010-11-17 22:58:03 +00:00
martin
7283a6aa2f DBG Breakpoints, fixed ghost dublicates. gdb would get 2 breakpoints for one, if source was edited at time breakpoint was inserted
git-svn-id: trunk@28300 -
2010-11-17 22:46:43 +00:00
martin
91609df4dc DBG: Implemented/Fixed show correct thread on windows, if app is paused / Fixes for Disassembler
git-svn-id: trunk@28297 -
2010-11-17 20:55:57 +00:00
martin
cad3f53849 DBD: Improve queue lock handling
git-svn-id: trunk@28295 -
2010-11-17 16:57:52 +00:00
martin
dbe453329d DBG: Refactor (new queue system), move all -exec-* commands to a separate CommandObject
git-svn-id: trunk@28294 -
2010-11-17 13:42:31 +00:00
martin
2a9bc33e49 DBg: Disassembler, handle unreadable blocks / fix endless loop
git-svn-id: trunk@28275 -
2010-11-16 15:54:56 +00:00
martin
f7f5b30cd8 DBg: Disassembler, fixed exception in DebugLn/Verbose
git-svn-id: trunk@28274 -
2010-11-16 15:42:31 +00:00
martin
da249707cb DBg: Disassembler, reduce the amount of not-required data being disassembled
git-svn-id: trunk@28273 -
2010-11-16 15:28:23 +00:00
martin
4642d7c179 DBg: Disassembler, don't request with outdated address
git-svn-id: trunk@28272 -
2010-11-16 15:26:45 +00:00
martin
2228bf61f3 DBg: Disassembler, show all changes of src-info
git-svn-id: trunk@28264 -
2010-11-16 03:14:01 +00:00
martin
c60d4f0b6f DBG: Disassembler Make sure we retrieve complete src-info
Watches: Fix Mem leak

git-svn-id: trunk@28263 -
2010-11-16 03:11:54 +00:00
martin
8a9ae3f278 DBG: disassembler, changed(fixed) prefetch policy
git-svn-id: trunk@28260 -
2010-11-16 01:42:08 +00:00
martin
d8e607cb2e DBG: Fix Disassembler results
git-svn-id: trunk@28259 -
2010-11-16 01:41:32 +00:00
martin
fc0fb43e9d DBG: Assembler-View: Fixed crash after resting (destroy) debugger
git-svn-id: trunk@28257 -
2010-11-15 22:51:36 +00:00
martin
8e1f7a799e DBG: prevent a range check error
git-svn-id: trunk@28256 -
2010-11-15 21:53:08 +00:00
martin
cc86c3c99e DBG: Assembler-View: Fixed crash after resting (destroy) debugger
git-svn-id: trunk@28255 -
2010-11-15 21:51:24 +00:00
martin
1ab431705c Debugger: added some fail-safety for destruction
git-svn-id: trunk@28254 -
2010-11-15 21:42:50 +00:00
martin
14b597be41 DBG: added debugln/verbose for breakpoints
git-svn-id: trunk@28253 -
2010-11-15 19:39:26 +00:00
martin
b467185a27 DBG: clean up define name
git-svn-id: trunk@28251 -
2010-11-15 18:32:34 +00:00
martin
624c9a9db4 debugger: disassembler, Allow copy to clipboard
git-svn-id: trunk@28238 -
2010-11-15 02:09:28 +00:00
martin
74c0ce2bb6 debugger: disassembler,Fixed missing mem-dump
git-svn-id: trunk@28236 -
2010-11-15 00:02:10 +00:00
martin
ddc9a46f1b debugger: disassembler, fix display of top line
git-svn-id: trunk@28235 -
2010-11-14 23:51:59 +00:00
martin
c2f5f8d325 debugger: disassembler, small optimizations
git-svn-id: trunk@28234 -
2010-11-14 23:50:41 +00:00
martin
334c21803e debugger: disassembler, take care of unordered gdb results
git-svn-id: trunk@28233 -
2010-11-14 23:01:39 +00:00
martin
70dee9c7bf Debugger: Refactor Disassemble to use object-queue. Disassembler to be represented by an object, like breakpoints, stack, etc
git-svn-id: trunk@28220 -
2010-11-14 19:13:44 +00:00
martin
21aade180b Debugger: a bit reduced debugln-output.
git-svn-id: trunk@28216 -
2010-11-14 18:12:01 +00:00
martin
2be63ddc61 Debugger: a bit reduced debugln-output.
git-svn-id: trunk@28215 -
2010-11-14 18:09:20 +00:00
martin
ac81ace9f1 Debugger: Adding more debugln-output. / Fixed last rev
git-svn-id: trunk@28213 -
2010-11-14 17:53:22 +00:00
martin
b817142e8e Debugger: Adding more debugln-output. Added some exception handling, Adding handling unknown breakpoint
git-svn-id: trunk@28212 -
2010-11-14 17:47:31 +00:00
martin
66cb4ebd4f Debugger: verbosity
git-svn-id: trunk@28203 -
2010-11-13 18:03:47 +00:00
martin
7f9a7d957e Debugger use StrToQWord for 64bit / based on patch by Willibald Krenn / issue #17645
git-svn-id: trunk@28168 -
2010-11-09 17:48:05 +00:00
martin
2ef911ad23 Debugger: Refactor start some -exec-* commands to use object-queue, and callback.
git-svn-id: trunk@28167 -
2010-11-09 17:07:47 +00:00
martin
3f0760fa6b Debugger: fix crash from rev 28163 #aac97933fc
git-svn-id: trunk@28166 -
2010-11-09 16:50:23 +00:00
martin
aac97933fc Debuger/SourceEditor: Prevent Applicatio.ProcessMesages from debugger, while SrcEditor is setting up a new tab. Issue #16233
git-svn-id: trunk@28163 -
2010-11-09 14:21:34 +00:00
martin
92d5ca6422 Debugger: Refactor symbol-line-info to use object-queue, and callback. Also schedule initial request during initialisation to occur in paused state (instead of go dsRun, only to interrupt immediately)
git-svn-id: trunk@28162 -
2010-11-09 12:39:14 +00:00
martin
f43c3d1df7 Debugger: more verbos debugln
git-svn-id: trunk@28161 -
2010-11-09 10:21:54 +00:00
martin
04e116067a Debugger: do not report "thread-group-added" as initialization output
git-svn-id: trunk@28156 -
2010-11-08 16:18:37 +00:00
martin
f77062d277 Debugger: Refactor Registers to use object-queue, and callback. Fixes issue #0017148
git-svn-id: trunk@28138 -
2010-11-08 00:16:23 +00:00
martin
82e943fc36 Debugger: prevent Destroy while executing inside debugger object. Issue #17815
git-svn-id: trunk@28128 -
2010-11-07 19:15:01 +00:00
martin
59ec780075 Allow "enter" in stack frames to trigger jump to source. Issue #16894
git-svn-id: trunk@28044 -
2010-11-02 21:24:31 +00:00
mattias
39f58d48bc IDE: fixed compilation
git-svn-id: trunk@28035 -
2010-11-02 08:32:15 +00:00
martin
2e33884219 Debugger: Refactor Stack to use object-queue, and callback. Partly fixes issue #0017619 (note 0041774 (watch list sometimes empty))
git-svn-id: trunk@28030 -
2010-11-01 23:43:06 +00:00
martin
493e7f67a5 Debugger: Refactor moved locking
git-svn-id: trunk@28024 -
2010-11-01 12:39:22 +00:00
martin
a52bb3e7d7 Debugger: Refactor Locals to use object-queue, and callback. Partly fixes issue #0017619 (note 0041774 (watch list sometimes empty))
git-svn-id: trunk@28018 -
2010-11-01 03:49:49 +00:00
martin
176c53ef8e Debugger: Refactor Watches to use object-queue, and callback. Partly fixes issue #0017619 (note 0041774 (watch list sometimes empty))
git-svn-id: trunk@28017 -
2010-11-01 01:18:00 +00:00
martin
b344e702ad Debugger: refactor for queuing command-objects: moved GDBEvaluate into object; pulled some other functions to CommandObjects
git-svn-id: trunk@28015 -
2010-10-31 22:19:49 +00:00
martin
10dadac967 Debugger: refactor added OnExecuted
git-svn-id: trunk@28014 -
2010-10-31 18:07:21 +00:00
martin
f83fa9f0ae Debugger: initial refactor for queuing command-objects
git-svn-id: trunk@28013 -
2010-10-31 17:49:06 +00:00
mattias
ea891beeed IDE: fixed break point dlg layout
git-svn-id: trunk@28007 -
2010-10-31 11:20:11 +00:00
marc
b3363f56a1 * Use 64bit conversion of debug adresses. Patch #0017679 by Juha Manninen
git-svn-id: trunk@27818 -
2010-10-23 15:54:55 +00:00
martin
c804b045c2 Debugger: Callstack, do not hide selection
git-svn-id: trunk@27811 -
2010-10-22 12:53:08 +00:00
martin
ea59a61dee Debugger: Changed commit 27554 #73fda95380 ( Issue #0017537,#0016318,#0016132 ). Order could be wrong if addresses had highest bit set (type-cast to negative, would make bigger addr appear smaller)
git-svn-id: trunk@27569 -
2010-10-04 11:20:59 +00:00
martin
73fda95380 Debugger: Added type-cast to fix a range check issue. Issue #0017537,#0016318,#0016132 Based on patch by Juha Manninen in 0017537
git-svn-id: trunk@27554 -
2010-10-03 21:01:27 +00:00
jesus
3290f05d67 Debugger, was returning UnicodeStrings as uppercase
git-svn-id: trunk@27348 -
2010-09-13 18:50:39 +00:00
mattias
dc78f11aef fixed typo cant
git-svn-id: trunk@27305 -
2010-09-11 14:06:32 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
martin
4525c8beda DebuggeR: Fix a range check, when clearing a condition
git-svn-id: trunk@27089 -
2010-08-13 11:34:37 +00:00
mattias
d3572806a8 anchordocking: undock on close, bug #16936
git-svn-id: trunk@26715 -
2010-07-17 12:25:52 +00:00
mattias
1ee3d6dcf4 IDEIntf: moved TSimpleIDEWindowLayout to IDEWindowCreators
git-svn-id: trunk@26201 -
2010-06-20 10:45:52 +00:00
mattias
e7db0d5bcd IDE: moved todolist to package, todo list for packages needs to be done
git-svn-id: trunk@26151 -
2010-06-16 11:53:34 +00:00
mattias
9b2dc8742c IDE: added flag to disable autosizing on create
git-svn-id: trunk@26002 -
2010-06-09 07:06:52 +00:00
mattias
02573ad6a6 IDE: clean up
git-svn-id: trunk@25943 -
2010-06-06 07:27:44 +00:00
mattias
d18d9a1205 IDEIntf: started TIDEWindowDefaultLayout
git-svn-id: trunk@25573 -
2010-05-22 10:59:28 +00:00
marc
07e6bb0f2b * Dbg: Added debug expressions. Modyfied patch #16474 by Flavio Etrusco
* Dbg: Improved pascal to gdb string conversion, so valid gdb strings will 
       be used for breakpoint expresions and string modification
* Dbg: some cleanup

git-svn-id: trunk@25523 -
2010-05-19 23:28:46 +00:00
mattias
e7a23e60aa IDE: ssh debugger note: worwrap, bug #16444
git-svn-id: trunk@25381 -
2010-05-13 18:29:46 +00:00
mattias
88fada8125 IDE: added resourcestrings
git-svn-id: trunk@25380 -
2010-05-13 18:27:06 +00:00
maxim
b9e0694773 Debugger: improve 'event log' options tab layout
git-svn-id: trunk@24837 -
2010-04-22 23:13:39 +00:00
paul
7693e5163a ide: rename "Debug Events" to "Event Log", simplify Event log form - remove checkgroup - this options can be set in the options dialog, workaround listview column autosize
git-svn-id: trunk@24775 -
2010-04-21 01:39:50 +00:00
paul
f10f9aec82 ide: use TDBGEventCategory enumeration instead of own
git-svn-id: trunk@24772 -
2010-04-21 00:46:07 +00:00
paul
c9f5fd7573 ide: fix event log options frame layout
git-svn-id: trunk@24771 -
2010-04-21 00:37:22 +00:00
marc
8e5361c254 * debugger: moved FormCreate/Destroy code to constructor/destructor since debugmanager uses OnDestroy itself
git-svn-id: trunk@24605 -
2010-04-12 21:37:19 +00:00
marc
2169adb7d8 * debug: fixed 64bit compilation
* some new code cleanup

git-svn-id: trunk@24582 -
2010-04-11 15:51:54 +00:00
marc
3e10dd5404 * debug: implemented dispay of debugevents. patch #16148 by Flavio Etrusco
git-svn-id: trunk@24577 -
2010-04-11 14:11:47 +00:00
mattias
d0954af332 IDE: breakpointsproperties dlg: buttonpanel does not support Align=alNone
git-svn-id: trunk@24573 -
2010-04-11 08:59:51 +00:00
mattias
cbcaf635e4 LCL: TButtonPanel: fixed updating size after changing bounds, small optimizations
git-svn-id: trunk@24572 -
2010-04-11 08:58:36 +00:00
martin
b60616fe5a Debugger, SourceEditor: Track Line changes during debug. Adjust breakpoints and executionline
git-svn-id: trunk@24569 -
2010-04-10 22:41:44 +00:00
martin
e54dc2a373 Debugger: Removed SourceLine, since it was effectively a managed copy of Line
git-svn-id: trunk@24562 -
2010-04-10 18:27:27 +00:00
marc
e2275307da *debugger: Strip CR/FL from expressions. Fixes #16232
git-svn-id: trunk@24559 -
2010-04-10 17:26:28 +00:00
martin
b487f853cc Debugger: Refactor moved SourceLine to TIDEBreakPoint
git-svn-id: trunk@24556 -
2010-04-10 17:05:18 +00:00
marc
24bd03d778 * Debugger: Strip LineEnd when scanning debugger output
git-svn-id: trunk@24481 -
2010-04-06 23:23:40 +00:00
marc
02601577f5 * Debugger: fixed line-end search, issue #16155
git-svn-id: trunk@24479 -
2010-04-06 22:28:18 +00:00
marc
a8ebc175cf * Debugger - Evaluatedialog: Add watches enabled instead of disabled
git-svn-id: trunk@24321 -
2010-03-31 21:49:44 +00:00
vincents
4db9abe180 debugtest program: fixed some more compilation errors, but still doesn't compile
git-svn-id: trunk@23967 -
2010-03-12 16:04:05 +00:00
vincents
685987a64a debugtest program:
+ added .lpi to store dependencies
* fixed some compilation errors (15759)

git-svn-id: trunk@23962 -
2010-03-12 09:44:36 +00:00
mattias
7ad2458914 IDE: improved layout callstack window
git-svn-id: trunk@23954 -
2010-03-11 21:04:06 +00:00
marc
99cd20e80f * Debugger: Implemented value modification. Patch #15628 by Flavio Etrusco (modified)
git-svn-id: trunk@23866 -
2010-03-07 18:37:20 +00:00
mattias
8c970975ee IDE: clean up
git-svn-id: trunk@23766 -
2010-02-23 10:56:09 +00:00
marc
42bd813626 * Debugger: Try to set pending breakpoints if supported by gdb.
git-svn-id: trunk@23747 -
2010-02-20 00:02:50 +00:00
paul
f5fa216d8b ide, debugger: implement *step out* debugger action by Flávio Etrusco (issue #0015760)
git-svn-id: trunk@23717 -
2010-02-16 13:02:30 +00:00
mattias
acbf15f1ab IDE: clean up
git-svn-id: trunk@23667 -
2010-02-09 13:38:10 +00:00
dmitry
dc4551665f debugger: fix for launching apps with spaces in their path by Marc Weustink
git-svn-id: trunk@23483 -
2010-01-18 14:20:38 +00:00
paul
4b44711f54 debugger: convert forms to use fpc resources
git-svn-id: trunk@23459 -
2010-01-15 02:41:46 +00:00
marc
2ccb6663ac * Debugger: Fix PID detection on OSX 10.6. Fixes #0014588
git-svn-id: trunk@23192 -
2009-12-18 23:28:58 +00:00
paul
8469b98fc7 ide: try full file name first in the call stack window when user jumps to the source location
git-svn-id: trunk@23081 -
2009-12-11 03:06:40 +00:00
paul
55f665674a debugger: format output of generic pointer
git-svn-id: trunk@23059 -
2009-12-10 08:07:17 +00:00
paul
97417872d9 lazarus: fix bug with execution marks map creation
git-svn-id: trunk@23055 -
2009-12-10 03:03:07 +00:00
paul
3e41146e8d debugger: change pointer representation for classes from ^TSomeClass $1b4cd to ^TSomeClass($0001B4CD)
git-svn-id: trunk@23047 -
2009-12-09 09:10:24 +00:00
marc
101acea082 debugger: added line info to assembler output dialog
git-svn-id: trunk@23043 -
2009-12-09 00:14:29 +00:00
mattias
d287e85ce6 IDE: debugger options: added label for hint that the exceptions are project specific
git-svn-id: trunk@23026 -
2009-12-08 12:24:50 +00:00
paul
81c487bc7c debugger: simplify output for ^char values
git-svn-id: trunk@23006 -
2009-12-06 16:10:59 +00:00
paul
fdb1f1236c debugger: treat ShortString type as skSimple type, reduce amount of hacks for ShortString handling
git-svn-id: trunk@23005 -
2009-12-06 16:04:49 +00:00
paul
12a6edefa1 debugger: fill TDBGType.Value.AsString for Variant data type
git-svn-id: trunk@23004 -
2009-12-06 15:46:19 +00:00
paul
92aacc4bf2 debugger:
- add skVariant enum value for Variant data type, 
  - move Variant type handling to skVariant
  - misc Inspect dialog improvements (hiding pages, close on escape)

git-svn-id: trunk@23002 -
2009-12-06 13:43:25 +00:00
paul
68bc1dda1d debugger: evaluate record &ShortString correctly
git-svn-id: trunk@23001 -
2009-12-06 12:31:15 +00:00
paul
27437b5eaa debugger: the same for 'SHORTSTRING' (stabs reports it so)
git-svn-id: trunk@22992 -
2009-12-06 06:24:04 +00:00
paul
bd0aefe8b1 debugger: show Variant and ShortString type as simple value instead of record
git-svn-id: trunk@22991 -
2009-12-06 06:19:18 +00:00
paul
dc5c58c871 debugger: don't show 'record ShortString' for shortstrings since this is debug info implementation details
git-svn-id: trunk@22990 -
2009-12-06 06:17:30 +00:00
paul
2fd2eb30f1 debugger + ide: Inspect dialogs:
- add "Inspect..." menu item to the source editor debugger group
  - fix alt+F5 key combination (was crash)
  - don't access debugger directly from Inspect dialog since it cause a crash when debugger is not active. use debugboss method instead
  - move evaluate dialog initialization to InitEvaluateDlg method

git-svn-id: trunk@22987 -
2009-12-06 06:02:12 +00:00
paul
d80a143fad debugger: fix $eax cast to Exception class when dwarf debug info is used
git-svn-id: trunk@22979 -
2009-12-05 20:23:35 +00:00
paul
3d7d4767d6 debugger: use target pointer size instead of IDE pointer size for the variant pointers output
git-svn-id: trunk@22975 -
2009-12-05 16:39:14 +00:00
paul
1eb2d6cc7f debugger: output correct values for IUnknown, IDispatch and HResult variant sub-types
git-svn-id: trunk@22971 -
2009-12-05 04:28:46 +00:00
paul
4aacf46d20 debugger: treat 'VARIANT' the same as 'Variant'
git-svn-id: trunk@22967 -
2009-12-04 17:31:11 +00:00
paul
d973922915 debugger: correctly output currency values
git-svn-id: trunk@22964 -
2009-12-04 15:15:21 +00:00
paul
378fa711b4 debugger: show variant array type on varArray variant evaluation
git-svn-id: trunk@22960 -
2009-12-04 14:33:19 +00:00
paul
9d023d97f7 debugger: - fix previously introduced error with space trimming (not everything was trimmed)
- better variant type support:
  - null, unassigned
  - support barByRef

git-svn-id: trunk@22959 -
2009-12-04 14:08:35 +00:00
paul
f437016542 debugger: use fullname if available
git-svn-id: trunk@22956 -
2009-12-04 11:34:47 +00:00
paul
c9cea59735 debugger: show Variant values
git-svn-id: trunk@22953 -
2009-12-04 08:18:19 +00:00
paul
72ac7c6fc2 ide: debugger type combobox can't be edited
git-svn-id: trunk@22597 -
2009-11-15 13:58:44 +00:00
marc
2b723e68d2 * formatting & typo
git-svn-id: trunk@22539 -
2009-11-11 23:35:12 +00:00
marc
03d44b6c7a * base lineheight on TextMetric instead of font height
git-svn-id: trunk@22538 -
2009-11-11 23:32:30 +00:00
paul
a19fadb902 debugger: fix setting breakpoints for internal fpc functions when rtl has the debug info (fixes exception handling problems) made by instructions of Marc
git-svn-id: trunk@22529 -
2009-11-11 13:06:17 +00:00
marc
f90aca978c Patch by JoshyFun (modified)
* Moved TGDBtype to TDBGtype, so it can be used in general to return expression typeinfo
* Changed inspect dialog to use this typeinfo
* display evaluation result on multiple lines

git-svn-id: trunk@22348 -
2009-10-30 00:02:38 +00:00
marc
bce54d0455 + Added extra gdb startup options, patch #0014866 by DRIGUS GmbH
* to bo done: store this property

git-svn-id: trunk@22267 -
2009-10-22 22:32:22 +00:00
marc
fa37d1f012 * keep stack context till end of evaluation, so type info will be resolved too
git-svn-id: trunk@22061 -
2009-10-06 23:04:38 +00:00
paul
ad3522886e debugger: fix memory leak
git-svn-id: trunk@22051 -
2009-10-06 01:16:54 +00:00
marc
47347e3ec3 * implemented evaluation of parent variables inside local procedures
git-svn-id: trunk@22050 -
2009-10-05 23:34:30 +00:00
paul
ec062ef3a0 ide, debugger: watches:
- allow Add watch always
  - if Add watch is called outside source editor then show the Add Watch dialog
  - pass expression under the cursor to the Add Watch dialog as a default value

git-svn-id: trunk@21974 -
2009-10-02 06:18:19 +00:00
paul
8bd93ef6dd ide: debug output window translation improvements by Marcelo B Paula (patch004 of issue #0014266)
git-svn-id: trunk@21357 -
2009-08-20 16:48:59 +00:00
paul
737b16baf6 ide: call stack dialog translation improvements by Marcelo B Paula (patch003 of issue #0014266)
git-svn-id: trunk@21356 -
2009-08-20 16:45:20 +00:00
martin
fbadef8c65 Debugger, fix calling idle on windows. Otherwise the IDE fails to update (e.g hints) during debug; issue #14296
git-svn-id: trunk@21205 -
2009-08-12 18:27:11 +00:00
mattias
22611192f3 IDE: debugger: removed duplicate resource TLocalDlg
git-svn-id: trunk@21146 -
2009-08-09 03:29:06 +00:00
paul
c192951c26 ide, debugger: breakpoint properties dialog: add resource strings
git-svn-id: trunk@20914 -
2009-07-21 12:24:01 +00:00
paul
0e3e7e6ddf ide, debugger: evaluate/modify dialog: add resource strings
git-svn-id: trunk@20913 -
2009-07-21 12:10:00 +00:00
paul
5abc507de7 debugger: add focus controls for labels in evaluate window
git-svn-id: trunk@20670 -
2009-06-19 09:06:10 +00:00
vincents
b23aa4262c debugger: don't explicitly delete escape chars from exception message, they are already deleted by the GetText method (fixes #13707)
git-svn-id: trunk@20191 -
2009-05-25 08:34:11 +00:00
paul
5e662e966a ide: debugger general options: use object inspector settings for embedded options grid
git-svn-id: trunk@20084 -
2009-05-21 03:40:41 +00:00
paul
e932577e22 ide, debugger, packager: don't use special Ok, Cancel, Help captions for buttons - use standard LCL - they have accelerators (Ok and Help) (fixes a part of issue #0001379)
git-svn-id: trunk@20045 -
2009-05-19 08:54:33 +00:00
paul
8b9c7b6944 ide: use the same spacing between controls and '...' buttons on options frames
git-svn-id: trunk@19863 -
2009-05-09 09:02:23 +00:00
paul
d691c803fc ide, debugger: mark source line when jump into it (by double click) from the call stack dialog
git-svn-id: trunk@19727 -
2009-05-01 10:16:05 +00:00
paul
2ee9eb22cb ide: change some options frames to look better in gtk2 ide (set autosize for all spinedits, set anchors where they are missed)
git-svn-id: trunk@19708 -
2009-04-30 15:15:04 +00:00
marc
50c43b90d1 * Improved localization by Maxim Ganetsky
git-svn-id: trunk@19638 -
2009-04-26 15:57:44 +00:00
paul
3c56977f01 debugger: support elf32-i386-freebsd target
git-svn-id: trunk@19515 -
2009-04-19 15:43:32 +00:00
mattias
ee4c6ee66b IDE: debugger: clean up
git-svn-id: trunk@19425 -
2009-04-14 08:12:55 +00:00
paul
2db4548c14 ide, debugger:
- redo showing of execution lines. now there is no need to pause execution to look at execution lines
  - started inspect dialog

git-svn-id: trunk@19418 -
2009-04-13 23:10:06 +00:00
marc
726bd7ccc8 * first part of new expression evaluator
git-svn-id: trunk@19416 -
2009-04-13 22:56:16 +00:00
paul
9e7ee42ccf ide: windows
- use translations for captions of Evaluate/Modify, Assebler dialogs
  - remove 'View' word from more items which are in the View menu

git-svn-id: trunk@19407 -
2009-04-13 09:46:23 +00:00
paul
52d21f4396 debugger: don't try to request lines in the GDBSourceAdress if source name is empty
git-svn-id: trunk@19136 -
2009-03-27 18:51:28 +00:00
paul
542f99b32a debugger: increase refresh speed of callstack dialog on breakpoint toggle
git-svn-id: trunk@19129 -
2009-03-27 04:26:47 +00:00
paul
d7fef7831e debugger: improve anchoring of evaluate&modify dialog, add constraints
git-svn-id: trunk@19127 -
2009-03-27 03:44:39 +00:00
paul
b0f9fcfd3b debugger: fix entry point parsing
git-svn-id: trunk@19082 -
2009-03-24 01:51:32 +00:00
paul
0beb447983 debugger: improve execution lines retrieval from gdb
git-svn-id: trunk@19053 -
2009-03-21 12:50:41 +00:00
paul
8e7fc1ea58 debugger: add .lpi for fpdumpdwarf
git-svn-id: trunk@19007 -
2009-03-16 15:38:28 +00:00
paul
6a8a44f488 debugger: further change TGDBMIDebugger.GDBSourceAdress - return False only in case of error and AAddr = 0 is not found
git-svn-id: trunk@18997 -
2009-03-15 06:48:49 +00:00
paul
4be10e123f debugger: fix memory leaks in TGDBMIDebugger.GDBSourceAdress
git-svn-id: trunk@18995 -
2009-03-15 06:10:06 +00:00
paul
8d98bf1854 debugger: fix TGDBMIDebugger.GDBSourceAdress
- wrong command was used
  - don't add more than one address to the lines Map

git-svn-id: trunk@18994 -
2009-03-15 06:03:11 +00:00
paul
38c3709b80 debugger: rename TExceptionDialog to TIDEExceptionDlg to resolve conflict with JCF2
git-svn-id: trunk@18986 -
2009-03-14 12:35:06 +00:00
paul
41ff1a63f0 ide, debugger: add "Toggle breakpoint" menu item to the callstack dialog, show address in the source column if source file is not available
git-svn-id: trunk@18984 -
2009-03-13 17:48:53 +00:00
marc
a1a0455bbd * Added debugger sourceline info to aid showing compiled lines
git-svn-id: trunk@18973 -
2009-03-13 00:24:36 +00:00
paul
a3fdb8c062 debugger, ide: allow to toggle breakpoint in the callstack dialog, show mixed break+current line image for appropriate lines
git-svn-id: trunk@18968 -
2009-03-12 14:03:27 +00:00
paul
0b733a0b1f debugger, ide: make callstack dialog react on breakpoints change
git-svn-id: trunk@18967 -
2009-03-12 13:06:12 +00:00
paul
39c69e59f7 debugger: show lines with breakpoints in the call stack dialog
git-svn-id: trunk@18941 -
2009-03-10 07:12:33 +00:00
paul
632c906b7a debugger: fix path delimiters for the call stack
git-svn-id: trunk@18940 -
2009-03-10 07:05:45 +00:00
paul
f03e6fc7c2 debugger: use images in the callstack listview to improve look and informativeness
git-svn-id: trunk@18939 -
2009-03-10 03:17:58 +00:00
paul
83f556cdd7 debugger: make callstack dialog use common ide imagelist
git-svn-id: trunk@18936 -
2009-03-10 02:34:14 +00:00
paul
19b235f963 debugger: make callstack dialog listview readonly
git-svn-id: trunk@18932 -
2009-03-09 15:40:59 +00:00
paul
4261d1dfdf debugger: fix some problems after pressing "Continue" button in the debugger notification dialog
git-svn-id: trunk@18921 -
2009-03-08 17:28:33 +00:00
paul
5441f544bd debugger: forgot to autosize buttons in the exception dialog
git-svn-id: trunk@18919 -
2009-03-08 12:47:38 +00:00
paul
953956e64f ide, debugger: set Modified state to project when we add/remove exceptions or change ignore option
git-svn-id: trunk@18918 -
2009-03-08 12:31:58 +00:00
paul
dd45a62e40 debugger: reset "Notify on Lazarus exceptions" option for new projects
git-svn-id: trunk@18917 -
2009-03-08 12:13:03 +00:00
paul
95b6a7b814 debugger: exception handling improvement
- add debugger exception notification dialog instead of simple message dialog. This allows to continue execution just after reading about exception and to add this exception to the "skip" list.
 - implement "Notify on Lazarus exception" option
 - fix inability to remove an exception from the "skip" list

git-svn-id: trunk@18916 -
2009-03-08 12:03:34 +00:00
paul
6a38d2a91c debugger: convert path delimiters in the debugger, not in the IDE
git-svn-id: trunk@18902 -
2009-03-06 04:41:23 +00:00
paul
2521adfc9c fix typo
git-svn-id: trunk@18836 -
2009-02-27 09:34:06 +00:00
marc
fa88fa1f61 * Reset puse wait state when stopped (tip from paul)
git-svn-id: trunk@18826 -
2009-02-26 22:40:16 +00:00
marc
f9ef877f9e * remove windows specific parts (step 2)
git-svn-id: trunk@18302 -
2009-01-16 00:26:10 +00:00
marc
4ac1841cc0 * Rename of dbgutils and dbgoutputform to avoid future name conflicts
git-svn-id: trunk@18301 -
2009-01-15 23:26:10 +00:00
paul
36ba5614a2 debugger: hopefully fixed breakpoint properties dialog layout
git-svn-id: trunk@18263 -
2009-01-12 03:17:20 +00:00
marc
616b9a6473 * Fixed anchors and removed bevel
git-svn-id: trunk@18258 -
2009-01-11 17:26:33 +00:00
paul
37fced3f9b debugger: fix anchoring of breakpoint properties dialog, set dialog style to watch property dialog
git-svn-id: trunk@18126 -
2009-01-05 09:31:30 +00:00
marc
13c4eb0d63 * Replaced buttons by buttonpanel
* improved alignment

git-svn-id: trunk@18124 -
2009-01-05 01:24:45 +00:00
paul
e9be67479b debugger: fix layout and tab order of break point properties dialog
git-svn-id: trunk@18118 -
2009-01-04 20:39:47 +00:00
marc
50a8b259ee - Removed obsolete file
git-svn-id: trunk@18116 -
2009-01-04 19:58:54 +00:00
marc
c569ccca33 * Added breakpont properties dialog. Modified patch by Benito van der Zander (issue #12882)
git-svn-id: trunk@18115 -
2009-01-04 19:57:56 +00:00
paul
3df9f2143a debugger: next time show more informative exception about duplicate name
git-svn-id: trunk@18100 -
2009-01-04 10:01:33 +00:00
mattias
89df8b61f5 IDE: added directory packager/frames to defines
git-svn-id: trunk@18090 -
2009-01-03 22:02:07 +00:00
mattias
5f48d63392 IDE: renamed options frames
git-svn-id: trunk@18086 -
2009-01-03 21:20:50 +00:00
marc
625e1a3cc1 * remove windows specific part
git-svn-id: trunk@18058 -
2009-01-02 17:32:54 +00:00
paul
7fd8f0dd3f debugger: convert widestring output to the utf8
git-svn-id: trunk@18043 -
2009-01-02 13:05:02 +00:00
paul
e066a0006d debugger: add initial widestring support for gdb
git-svn-id: trunk@18041 -
2009-01-02 12:53:43 +00:00
marc
52e0efb143 * first part of restructure to generic debugger
git-svn-id: trunk@17889 -
2008-12-22 23:49:27 +00:00
mattias
b2b7dbe035 clean up
git-svn-id: trunk@17756 -
2008-12-09 12:51:04 +00:00
marc
df49c8ebd2 + add forgotten dialogs
git-svn-id: trunk@17750 -
2008-12-09 09:40:24 +00:00
paul
04fde3cce3 ide, debugger:
- reset various debug info (breakpoints, watches, language exceptions, signals) when creating a new project
  - turn off debug manager verbosity

git-svn-id: trunk@17745 -
2008-12-09 08:35:50 +00:00
marc
598126853c * Initial implementation of assembler dialog
git-svn-id: trunk@17735 -
2008-12-09 01:39:31 +00:00
paul
27f131b0a7 ide: fix button event in the debugger general options
git-svn-id: trunk@17718 -
2008-12-08 02:18:08 +00:00
paul
8f93dfa528 ide: remove debugger option dialog and menu item
git-svn-id: trunk@17691 -
2008-12-05 09:02:28 +00:00
paul
dbb79626c8 ide, debugger: add other frames to the ide options
git-svn-id: trunk@17690 -
2008-12-05 08:52:28 +00:00
paul
5174c3785e ide, debugger: add debugger general options page to the ide options
git-svn-id: trunk@17689 -
2008-12-05 07:35:17 +00:00
paul
3e23380837 debugger: don't pause a project when exception must be skiped
git-svn-id: trunk@17671 -
2008-12-03 10:46:31 +00:00
laurent
4b344f137a IDE: rename the images to avoid overload
git-svn-id: trunk@17660 -
2008-12-02 13:28:21 +00:00
paul
aa21e07575 components, ide, debugger: fix last visibility warnings
git-svn-id: trunk@17618 -
2008-11-28 03:17:37 +00:00
marc
435a07ac28 - Removed some unneeded indirections
git-svn-id: trunk@17527 -
2008-11-22 18:43:49 +00:00
marc
c3040c20bd * Forgot one class for modified registers
git-svn-id: trunk@17456 -
2008-11-20 00:40:06 +00:00
marc
f64f9318a3 + Added changed image
git-svn-id: trunk@17455 -
2008-11-20 00:19:14 +00:00
marc
ba81fecd5c * Fixed registervalue resolving
git-svn-id: trunk@17454 -
2008-11-19 23:50:39 +00:00
marc
13f948b3ca * Fixed memleaks
git-svn-id: trunk@17452 -
2008-11-19 23:14:39 +00:00
marc
88ff1df906 + Added Registers debug view
git-svn-id: trunk@17431 -
2008-11-19 01:35:01 +00:00
laurent
151cf13467 Repair onclick event on watchpropertydlg dialog
git-svn-id: trunk@16756 -
2008-09-26 13:02:18 +00:00
laurent
29edef9d61 Load glyph form resource
git-svn-id: trunk@16703 -
2008-09-24 12:15:57 +00:00
paul
6f92209879 debugger: fix some button align in options dialog
git-svn-id: trunk@16649 -
2008-09-19 15:21:55 +00:00
sekelsenmat
451adf3573 Adds copy to clipboard menu in debugoutput dialog.
git-svn-id: trunk@16548 -
2008-09-11 17:19:02 +00:00
paul
a857c3f5d9 debugger: more utf8 fixes
git-svn-id: trunk@16425 -
2008-09-05 05:42:07 +00:00
paul
d57b1b6854 debugger: fix handling of UTF8 filenames
git-svn-id: trunk@16424 -
2008-09-05 03:28:31 +00:00
mattias
e0e29ebbde IDE: debugger options: auto search for gdb path when switching debugger class
git-svn-id: trunk@16354 -
2008-09-01 18:10:40 +00:00
mattias
64668d1e39 IDE: moved debug options form to debugger directory
git-svn-id: trunk@16352 -
2008-09-01 17:21:48 +00:00
mattias
fa30fe40de Marc wins
git-svn-id: trunk@16351 -
2008-09-01 13:14:17 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
paul
508983cd7e debugger: fix callstack return (#0011921, thanks to Jeff Doyle)
git-svn-id: trunk@16151 -
2008-08-20 01:15:25 +00:00
mattias
8c7598d73a IDE: implemented supporting FPCVer in FPCSrcDir
git-svn-id: trunk@16133 -
2008-08-19 01:28:24 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
7e0bf7487b IDE: reduced output
git-svn-id: trunk@15546 -
2008-06-23 18:04:23 +00:00
vincents
95463a005e IDE: fixed deleting multiple breakponts (bug #10236)
git-svn-id: trunk@15386 -
2008-06-11 10:33:29 +00:00
paul
709cbabbdb debugger: delete all selected watches, not only first selected
git-svn-id: trunk@15324 -
2008-06-06 01:08:49 +00:00
vincents
eeec3262a6 IDE: improved the breakpoints dialog for keyboard usage (related to bug #9308 and #10244)
git-svn-id: trunk@15132 -
2008-05-14 12:14:54 +00:00
marc
c81003eefa * Introduced TCustomBitmap as base class for all pixelbased imageclasses. Currently backward comatible (and equal to) TBitmap
* Added resource loading support to TPicture and Glyps to avoid image quality loss when converted to TBitmap
* Removed copy paste code for imagelist resource loading
* Moved some graphic classes to their own ini file

git-svn-id: trunk@14876 -
2008-04-17 23:43:11 +00:00
sekelsenmat
47b439a63b Fixes type in error message.
git-svn-id: trunk@14873 -
2008-04-17 21:43:36 +00:00
laurent
0b7a106fec ResourceStrings for Locals Dialog
git-svn-id: trunk@14737 -
2008-04-02 20:44:09 +00:00
laurent
2b64b5513a ResourceStrings for Watch Property Dialog
git-svn-id: trunk@14736 -
2008-04-02 20:27:49 +00:00
laurent
38ae119989 Resourcestring for breakpoints dialog
git-svn-id: trunk@14706 -
2008-04-01 06:49:47 +00:00
paul
6e210ebe71 save input history of evaluate/modify dialog in a better way (as it was designed)
git-svn-id: trunk@14696 -
2008-03-31 07:45:23 +00:00
paul
875e30cdd3 update .lrs and .lfm of call stack dialog (they has been forgotten previously by someone)
git-svn-id: trunk@14695 -
2008-03-31 07:23:12 +00:00
laurent
d74b9c2a32 Assign property form callstrackdlg
git-svn-id: trunk@14690 -
2008-03-30 22:16:42 +00:00
laurent
69d4b38683 Resources String for CallStack and debug Output Dialog
git-svn-id: trunk@14689 -
2008-03-30 21:39:35 +00:00
laurent
56e46f1f11 New icones for CallStack dialog
git-svn-id: trunk@14628 -
2008-03-24 22:17:02 +00:00
marc
6c828ea03c * Callstack speedup. Now enties are fetched in one go from the debugger by Martin Friebe (modified)
* Fixed callstack item count

git-svn-id: trunk@14561 -
2008-03-18 01:00:51 +00:00
marc
b23a60a435 * Callstack improvement by Martin Friebe
git-svn-id: trunk@14493 -
2008-03-11 00:32:30 +00:00
vincents
c01797e7b0 debugger: fixed passing LineEnding to the debugger (bug #10975)
git-svn-id: trunk@14466 -
2008-03-08 12:14:40 +00:00
vincents
0bc0d15388 debugger: completed fix of r14459 #ae6fd378b3
git-svn-id: trunk@14460 -
2008-03-07 15:52:22 +00:00
vincents
ae6fd378b3 debugger: fixed compilation with fpc 2.3.1. as suggested by Marc (bug #10970)
git-svn-id: trunk@14459 -
2008-03-07 15:07:30 +00:00
mattias
cc31f4881a debugger: clean up
git-svn-id: trunk@14420 -
2008-03-05 11:41:47 +00:00
marc
6379cc6061 * Fixed nil pointer dereference when jumping to source when all tabs are closed (reported by Martin Friebe)
* Fixed possible nil pointer dereference when callstack returns a nil entry (reported by Martin Friebe)
* Simplified copying callstack to clipboard

git-svn-id: trunk@14213 -
2008-02-20 23:16:58 +00:00
mattias
999e8b059d IDE: TXMLConfig.Flush does not save if Filename empty, TLazPackage extended to save to string, package system extended to revert packages not edited and to check changed packages on disk, disk diff dlg extended to show changes of packages
git-svn-id: trunk@13913 -
2008-01-29 17:52:05 +00:00
marc
7183882ba2 * implemented limited callstackview based on patch from Martin Friebe
git-svn-id: trunk@13896 -
2008-01-27 16:01:41 +00:00
marc
f5ec643614 * allow evaluation of upper ascii chars
git-svn-id: trunk@13812 -
2008-01-20 23:58:59 +00:00
marc
160f3905c4 * Reduced stringmanipulation when parsing gdb mi result
git-svn-id: trunk@13810 -
2008-01-20 19:32:34 +00:00
marc
b7d6585db5 * Fixed compilation on win32
git-svn-id: trunk@13796 -
2008-01-19 11:24:03 +00:00
marc
4d014fa56c * Improved MI parser, based on patch by Martin Friebe
git-svn-id: trunk@13790 -
2008-01-19 02:48:48 +00:00
marc
273bdea671 * Ignore debugger errors when creating locals
git-svn-id: trunk@13742 -
2008-01-13 19:21:26 +00:00
marc
993bf3680e * Fixed arguments as locals
git-svn-id: trunk@13734 -
2008-01-12 18:41:45 +00:00
marc
b6485030ed * Fixed crash when deleting watches (#10075). Patch by Martin Friebe
git-svn-id: trunk@13733 -
2008-01-12 17:36:07 +00:00
marc
b929239e3c * widened the current column so it will show its contents on windows
git-svn-id: trunk@13732 -
2008-01-12 17:09:27 +00:00
marc
83cd44b0c5 + added classtype support to debugger expression evaluation
git-svn-id: trunk@13705 -
2008-01-10 01:10:20 +00:00
marc
1b0fb632fa * Added option to callstack to select the current frame. Based on a patch by Martin Friebe
git-svn-id: trunk@13700 -
2008-01-09 22:02:46 +00:00
marc
c94243fad2 testcommit
git-svn-id: trunk@13477 -
2007-12-27 09:50:49 +00:00
vincents
5a6eb8feed debugger: reset working directory before setting it, to workaround a possible gdb bug, fjxes bug #10308.
git-svn-id: trunk@13184 -
2007-12-06 22:40:01 +00:00
marc
c6c16d5bbd * Reduced async-record shlibs debugger output
git-svn-id: trunk@12712 -
2007-11-03 02:42:40 +00:00
marc
bd07d08f17 * added pei-i386 filetype so debugger recognized it as x86
git-svn-id: trunk@12710 -
2007-11-03 01:44:58 +00:00
mattias
223e59af66 LCL: fixed AlignControls when ClientRect changes during update, LCL: AutoSize now uses WithThemeSpace as default, gtk1 intf: implemented GetPreferredSize for WithThemeSpace, LCL: changed TButton/TBitBtn.BorderSpacing.InnerBorder from 4 to 0, IDE: removed InnerBorder values from IDE dialogs
git-svn-id: trunk@12615 -
2007-10-28 00:33:23 +00:00
vincents
7be2b96bc1 debugger: fixed running debuggee running without command line parameters after running it with command line parameters (bug #9861)
git-svn-id: trunk@12343 -
2007-10-06 13:40:47 +00:00
mattias
3b69506329 gtk2 intf: added focus events for combobox, ideintf: textconverter now supports codetool buffers, h2pas wiz: added tool to remove redfinitions, reduced warnings
git-svn-id: trunk@11733 -
2007-08-03 22:38:11 +00:00
marc
eae7aeea55 * fixed main address detection on Mac
git-svn-id: trunk@11324 -
2007-06-15 09:12:10 +00:00
vincents
fcff0d42b9 IDE: rowselect in call stack view from Darius
git-svn-id: trunk@11304 -
2007-06-09 11:01:02 +00:00
vincents
1c6e5c3ba5 debugger: initialized loop var (noticed by Yuri)
git-svn-id: trunk@11296 -
2007-06-07 17:14:33 +00:00
vincents
2a4f00b5ec debugger: made checking partial stack trace more robust, as suggested by Yuri
git-svn-id: trunk@11295 -
2007-06-07 14:47:55 +00:00
vincents
ba3e478722 debugger: show at least partial stack trace, if the complete stack trace cannot be reconstructed (#8908) from Yuri
git-svn-id: trunk@11293 -
2007-06-07 11:22:35 +00:00
vincents
6c321c0b48 IDE: made function column in call stack view wider (bug #1505)
git-svn-id: trunk@11283 -
2007-06-05 12:49:45 +00:00
tombo
5aeedb0533 IDE: added option to debug/run Application Bundle on darwin, remove code under DoNotUseProcessDebugger
git-svn-id: trunk@11266 -
2007-06-02 10:53:09 +00:00
mattias
bb201517c7 IDE: debugger: added checks for working directory
git-svn-id: trunk@11132 -
2007-05-12 14:40:06 +00:00
paul
0312cb2ee4 - replaced old images with modern from silk and own painting:
debugger images, most packages images, misc
- ide dialogs switched to use common image list instead of their own:
compileroptions, projectinspector, packageeditor, pkggraphexplorer

git-svn-id: trunk@11126 -
2007-05-11 02:40:08 +00:00
vincents
1f8d81dc9d debugger: don't double the single quote in strings shown to the user
git-svn-id: trunk@11119 -
2007-05-09 22:20:26 +00:00
vincents
75734cdf1d debugger: replace \\, \t etc in debugger output strings
git-svn-id: trunk@11118 -
2007-05-09 22:00:08 +00:00
paul
5c4e0e65c5 - evaluate/modify dialog switched to common imagelist
- my own paintings replaced by modern from Silk library
- adjusted images/README.txt

git-svn-id: trunk@11057 -
2007-05-03 03:24:38 +00:00
paul
f133fe2679 Evaluate/Modify dialog:
- saving/loading dialog position and sized
- saving/loading history
- added button images
- small controls repositioning

git-svn-id: trunk@11009 -
2007-04-27 07:30:36 +00:00
vincents
171f613297 debugger: removed hack for popup menu in watches dialog, the LCL now shows a pop menu correctly on Windows.
git-svn-id: trunk@10950 -
2007-04-16 10:05:03 +00:00
marc
cb53dafe02 * Added mac-x86 and arm target detection
git-svn-id: trunk@10792 -
2007-03-24 16:17:28 +00:00
marc
08595e6a3b * patch #8301 (modified) from Flávio Etrusco:Make 'enable' and 'delete' commands act on muliple selection
git-svn-id: trunk@10752 -
2007-03-15 01:03:46 +00:00
vincents
7b0a38e5ed check if debugger path name is an executable to prevent problems like bug #8454
git-svn-id: trunk@10719 -
2007-03-07 22:45:15 +00:00
marc
a2aa58380f * Patch from Yury Sidorov for setting intitial breakpoint
git-svn-id: trunk@10679 -
2007-02-25 12:07:31 +00:00
marc
ad2b4ceb6a + added callframe decoder
git-svn-id: trunk@10608 -
2007-02-07 23:14:30 +00:00
mattias
5e7915cd31 IDE: the first unit of a project is now automaticallly the main unit, if you dont want this: use MainUnitID:=-1
git-svn-id: trunk@10545 -
2007-01-31 11:13:37 +00:00
vincents
40a100496d debugger, evaluate dialog:
add vertical scrollbar (bug #8243)
esc closes the dialog

git-svn-id: trunk@10536 -
2007-01-30 08:54:29 +00:00
marc
6b96e74f9a * Fixed breakpoints at programstart and initialization code
git-svn-id: trunk@10364 -
2007-01-02 00:31:20 +00:00
marc
b12953db4f * Fixed singlestepping from a breakpoint
git-svn-id: trunk@10170 -
2006-11-04 01:15:01 +00:00
marc
90f62672f2 + added exception dissection
+ added linenr address resolving
+ added setting of breakpoints

git-svn-id: trunk@10166 -
2006-11-03 00:54:34 +00:00
marc
4a23f61dab + Added line info
* Changed DbgPtr to 64 bit

git-svn-id: trunk@10110 -
2006-10-27 22:23:13 +00:00
vincents
f759124d94 added $inline on
git-svn-id: trunk@10061 -
2006-10-12 08:14:16 +00:00
marc
13f2d243a5 + added dwarfloading to windebugger
git-svn-id: trunk@10056 -
2006-10-11 00:13:42 +00:00
micha
a4bd9f7713 fix pointer type conversions
git-svn-id: trunk@10039 -
2006-10-04 22:21:04 +00:00
marc
f2088e4dab + added line decoder
* splitup verbose/nonverbose classes

git-svn-id: trunk@10026 -
2006-10-03 19:28:25 +00:00
andrew
3483437b53 Improved Debugger Exception Dialog for platforms different than 32 bits (with permission if MW)
git-svn-id: trunk@9740 -
2006-08-22 22:21:45 +00:00
mattias
ac5ae3b17e fixed fpc 2.1.1 compilation, docking: implemented shrinking to get space for docked control
git-svn-id: trunk@9718 -
2006-08-12 10:55:22 +00:00
mattias
7bb113cec8 fixed a few fpc 2.1.1 incompatibilities
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
marc
cec4ac6957 * backup
git-svn-id: trunk@9697 -
2006-08-01 23:26:57 +00:00
mattias
245402981f renamed README files to README.txt
git-svn-id: trunk@9657 -
2006-07-21 18:31:15 +00:00
mattias
67458062b3 started h2pas frontend, localized watch list
git-svn-id: trunk@9631 -
2006-07-18 23:05:46 +00:00
mattias
3744d96407 fixed script cross building binutils
git-svn-id: trunk@9622 -
2006-07-17 17:39:25 +00:00
mattias
5d2766a239 added evaluate text at cursor during debugging from Darek
git-svn-id: trunk@9419 -
2006-06-12 18:48:30 +00:00
mattias
bfb3fd9685 added class keyword to proc bodies for fpc 2.1.1
git-svn-id: trunk@9364 -
2006-05-27 17:40:59 +00:00
mattias
47a7425d7c set button/bitbtn borderspacing.innerborder to 4
git-svn-id: trunk@9335 -
2006-05-22 08:10:49 +00:00
marc
f73d5610be * Added PE types
git-svn-id: trunk@9242 -
2006-05-05 00:37:43 +00:00
marc
d1664cbba8 + added testproject for disassembler
git-svn-id: trunk@9239 -
2006-05-04 00:53:16 +00:00
marc
6aae9024cc * finished disassembler
git-svn-id: trunk@9238 -
2006-05-04 00:35:45 +00:00
micha
d9e9f1570f win64 fixes (from peter, modified)
git-svn-id: trunk@9221 -
2006-05-01 21:45:12 +00:00
marc
6fe9786d9c * finished opcodes, still need some operands
git-svn-id: trunk@9218 -
2006-04-30 23:25:00 +00:00
marc
a0675b3051 * more 2 byte opcodes
git-svn-id: trunk@9196 -
2006-04-27 23:21:14 +00:00
marc
0f1b036dde * more opcodes
git-svn-id: trunk@9194 -
2006-04-27 01:20:48 +00:00
marc
6f9e11bc79 + Added disassembler (1byte opcodes)
git-svn-id: trunk@9188 -
2006-04-25 23:01:25 +00:00
marc
558d891d47 update
git-svn-id: trunk@9158 -
2006-04-21 23:58:05 +00:00
marc
1862e5c637 * more alignment
git-svn-id: trunk@9157 -
2006-04-21 22:25:31 +00:00
marc
54214d098c * Removed some ifdefs
* Aligned GCurrentcontext

git-svn-id: trunk@9155 -
2006-04-21 18:51:31 +00:00
marc
f5574b19f9 * aligned context
* fixed svn properties

git-svn-id: trunk@9154 -
2006-04-21 17:35:41 +00:00
marc
d03f620a90 git-svn-id: trunk@9151 - 2006-04-20 22:09:17 +00:00
marc
b248d3622e ifdef mode
git-svn-id: trunk@9150 -
2006-04-20 21:53:03 +00:00
marc
b0be3088b7 * Initial release
git-svn-id: trunk@9133 -
2006-04-17 00:42:06 +00:00
mattias
a9ffa30989 set localsdialog position to podesigned
git-svn-id: trunk@9065 -
2006-04-02 17:34:54 +00:00
mattias
c1536ad02f sets rowselect to true for the localsdialog and the position to poScreenCenter from Darius
git-svn-id: trunk@9064 -
2006-04-02 17:33:25 +00:00
marc
e5196c9d04 * Patch from Yury Sidorov. Enables ARM target.
git-svn-id: trunk@8873 -
2006-03-06 19:36:22 +00:00
mattias
f96d5431af adding a watch item from the sourceeditor enables the items directly from Darius
git-svn-id: trunk@8773 -
2006-02-18 15:23:10 +00:00
mattias
8c5f336505 fixes for fpc 2.0.3 and TrayIconLaz.lpk
git-svn-id: trunk@8545 -
2006-01-17 14:31:24 +00:00
vincents
9a4ab60f83 implemented copy-all from call stack view (issue #1511)
git-svn-id: trunk@8476 -
2006-01-09 22:00:37 +00:00
vincents
925007ecf3 free processlist, running tools list when closing the IDE
git-svn-id: trunk@8463 -
2006-01-07 15:53:17 +00:00
vincents
e64b0f93dd pass entrypoint as decimal value (issue #565)
git-svn-id: trunk@8422 -
2006-01-03 10:37:21 +00:00
micha
52d4e4d8c3 various debugger state fixes
git-svn-id: trunk@8384 -
2005-12-29 16:21:06 +00:00
micha
f563fffe41 escape environment strings
git-svn-id: trunk@8383 -
2005-12-29 12:12:02 +00:00
marc
04ae055762 + Added a default debugger class
git-svn-id: trunk@8301 -
2005-12-13 00:58:59 +00:00
marc
66fe5731bf * Made debugger aware of target pointer size
git-svn-id: trunk@8187 -
2005-11-18 18:37:29 +00:00
marc
b80db1e018 * Fixed registerlookup for amd64
* Fixed entrypoint parsing (Micha was right)
* Added message on load failure

git-svn-id: trunk@8185 -
2005-11-18 00:17:23 +00:00
marc
d8ae91b726 * added message on failure
git-svn-id: trunk@8184 -
2005-11-18 00:14:46 +00:00
marc
7960598843 * reverted previous change. in mi mode, gdb outputs a newline as "\n" and not as a real lineend
git-svn-id: trunk@8158 -
2005-11-14 22:49:34 +00:00
mattias
04442df12c adds shortcut (mnemonic) support for toolbar buttons, initial focus in the evaluate dialog from Ere Maijala
git-svn-id: trunk@8157 -
2005-11-14 22:26:56 +00:00
mattias
ce972bc35b activated AutoScroll for watchesdlg from Simeon Mitev
git-svn-id: trunk@8156 -
2005-11-14 22:21:32 +00:00
micha
55674767d7 use proper line ending
git-svn-id: trunk@8141 -
2005-11-13 18:48:58 +00:00
mattias
23d064a68d fixed calling Idle while debugging for cmd line debugger
git-svn-id: trunk@8135 -
2005-11-11 17:16:23 +00:00
marc
6a4f8a515e * Fixed amd64 register detect
git-svn-id: trunk@8052 -
2005-11-03 23:46:05 +00:00
mattias
e6a5303ea0 rowselect in watches dialog from Darius Blaszijk
git-svn-id: trunk@7643 -
2005-09-07 22:11:24 +00:00
vincents
c20bab6205 fixed lfms and lrs broken by the remove logs patch.
git-svn-id: trunk@7636 -
2005-09-06 15:03:24 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7ecd5dbcf0 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7540 -
2005-08-22 11:51:25 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +00:00
vincents
1064272122 removed ifdef ver1 from Martin Smat
git-svn-id: trunk@7479 -
2005-08-04 08:41:46 +00:00
vincents
977056964f watches dialog responds to insert and delete key from Darius
git-svn-id: trunk@7439 -
2005-07-29 13:04:21 +00:00
marc
4b1881f23a * Patch from Colin Western
+ added a check for long repeats

git-svn-id: trunk@7366 -
2005-07-17 22:22:00 +00:00
marc
de83f4a4a6 * GDB repeated values are expanded
git-svn-id: trunk@7365 -
2005-07-17 20:08:35 +00:00
mattias
a6e4985cfb started basic docking anchoring and made Contributors.txt ASCII to show everywhere
git-svn-id: trunk@7362 -
2005-07-17 01:05:04 +00:00
mattias
a3163f6ccb improved watches: popup on rightclick, listview widths manually override under win32, double click shows adds/change from Darius Blaszijk
git-svn-id: trunk@7360 -
2005-07-15 17:59:47 +00:00
marc
67bdc437ba * fixed exception handling for ppc (and maybe ia64 and sparc)
git-svn-id: trunk@7179 -
2005-05-17 00:02:44 +00:00
marc
abefc8a3b6 * Fixed win32 compilation
git-svn-id: trunk@7177 -
2005-05-16 12:43:27 +00:00
marc
e728ebef22 * included debugger result tye in execcommand (start fixing debugging on Mac OSX)
git-svn-id: trunk@7170 -
2005-05-14 12:09:36 +00:00
marc
354b98ed73 * 64bit patch (partial) from Peter Vreman
git-svn-id: trunk@6972 -
2005-03-17 00:09:37 +00:00
mattias
36cdcdb490 Click events are now created after MouseUp from C Western
git-svn-id: trunk@6900 -
2005-03-05 14:42:01 +00:00
marc
6ed8e2ecf4 * Reworked listviews to match new interface
git-svn-id: trunk@6848 -
2005-02-26 17:08:41 +00:00
mattias
5673f4846e fixed note about jpeg bug
git-svn-id: trunk@6803 -
2005-02-18 16:59:39 +00:00
mattias
16a8535f4f fixed compilation
git-svn-id: trunk@6746 -
2005-02-05 14:46:09 +00:00
marc
b1b72542e5 * Applied (modified) patch from Colin Western
git-svn-id: trunk@6743 -
2005-02-05 14:06:13 +00:00
mattias
21624d99b0 reactivated fast xml units without widestrings
git-svn-id: trunk@6716 -
2005-01-29 14:36:04 +00:00
vincents
58131f7541 fixed unlocking executable after debugging
git-svn-id: trunk@6636 -
2005-01-18 21:22:44 +00:00
micha
5f8026a62c fix bug #506: pass quoted files and paths to gdb that possibly contain spaces
git-svn-id: trunk@6615 -
2005-01-16 19:02:02 +00:00
vincents
c535f37167 use xml units from fpc, if not compiling with fpc 1.0
git-svn-id: trunk@6603 -
2005-01-15 13:44:03 +00:00
vincents
aa49666b28 implemented TIDEExceptions.LoadFromXMLConfig and SaveToXMLConfig
git-svn-id: trunk@6329 -
2004-12-03 14:35:30 +00:00
vincents
a0813a7194 fixed fpc 1.0.x compilation
git-svn-id: trunk@6289 -
2004-11-23 12:25:48 +00:00
marc
d638ed5696 + Added Evaluate/Modify dialog
git-svn-id: trunk@6287 -
2004-11-23 00:57:05 +00:00
mattias
a6b3815b5f fixed cgilazide uses clause
git-svn-id: trunk@6284 -
2004-11-22 22:00:21 +00:00
vincents
de4802a22d fixed fpc 1.0.x compilation
git-svn-id: trunk@6280 -
2004-11-22 08:08:36 +00:00
marc
2cf1c1b556 * fixed resetting internal breakpoints
git-svn-id: trunk@6277 -
2004-11-21 18:52:47 +00:00
marc
0c3f9a08ae * worked aound lack of %u as formatspecifier
+ introduced dbgptr for dealing with pointers on the target
+ added classnames to pointer evaluation

git-svn-id: trunk@6275 -
2004-11-21 15:19:08 +00:00
vincents
ab6de4e43d create debugger without console.
git-svn-id: trunk@6268 -
2004-11-19 12:18:50 +00:00
marc
f74a3ccbeb * Fixed string evaluation
git-svn-id: trunk@6267 -
2004-11-19 00:41:18 +00:00
marc
e85ce0df24 * Introduced another method of interrupting gdb on win32
git-svn-id: trunk@6188 -
2004-11-02 23:25:02 +00:00
vincents
66c17e960d fpc 1.9.5 has no saveregisters calling convention anymore.
git-svn-id: trunk@6163 -
2004-10-25 17:59:29 +00:00
marc
99952d39d9 * Fixed interrupting GDB on win32
* Reset exename after run so that the exe is not locked on win32

git-svn-id: trunk@6131 -
2004-10-11 23:28:13 +00:00
vincents
89fe6ac437 replaced writeln by DebugLn
git-svn-id: trunk@6001 -
2004-09-14 21:30:37 +00:00
marc
90b8b206c0 + Added option to skip compiler step on compile, build or run
* Fixed adding of runtime watches
* Fixed runnerror reporting (correct number and location is shown)

git-svn-id: trunk@5918 -
2004-09-04 21:54:08 +00:00
marc
b8918ec656 * Restructured debugger view classes
* Fixed help

git-svn-id: trunk@5867 -
2004-08-26 23:50:05 +00:00
marc
0b3c4f7832 * Temp (?) fix for FPC 1.9.5 [2004/07/15]
git-svn-id: trunk@5695 -
2004-07-19 22:29:46 +00:00
marc
05bf8cf13c * Fixed function in debugger environment
git-svn-id: trunk@5569 -
2004-06-16 21:36:27 +00:00
mattias
617948d9c8 removed unneeded units in uses sections
git-svn-id: trunk@5443 -
2004-05-02 12:01:15 +00:00
marc
9043e56a4d * Merged Getpart for target PID form Colin Western
git-svn-id: trunk@5409 -
2004-04-14 23:07:20 +00:00
mattias
55f6eb6906 fixed debugging under fedora core from Colin
git-svn-id: trunk@5407 -
2004-04-13 20:14:26 +00:00
marc
8a799e0061 * fixed debugtarget PID parsing (for win32)
git-svn-id: trunk@5301 -
2004-03-13 00:01:53 +00:00
vincents
7d54132242 fixed non-win32 compilation
git-svn-id: trunk@5300 -
2004-03-12 22:12:53 +00:00
vincents
cb8744a5e5 Lazarus can communicate with debugger on win32
git-svn-id: trunk@5299 -
2004-03-12 21:39:29 +00:00
mattias
f5351d76fa fixed edit sizes
git-svn-id: trunk@5298 -
2004-03-12 17:52:40 +00:00
marc
db521415c7 * Fixed length on writing LineEnding
git-svn-id: trunk@5287 -
2004-03-08 09:55:41 +00:00
vincents
e443567c80 WaitForHandles rewritten using PeekNamedPipe
git-svn-id: trunk@5284 -
2004-03-07 21:05:29 +00:00
marc
b6f497c45b + added the first conceptual code for WaitForHandles on Win32
git-svn-id: trunk@5195 -
2004-02-12 01:09:42 +00:00
mattias
7e956b8c19 more Actions TAction, TBasicAction, ...
git-svn-id: trunk@5138 -
2004-02-02 16:59:28 +00:00
mattias
6d76f34810 using now fpc constant LineEnding from Vincent
git-svn-id: trunk@5073 -
2004-01-17 13:29:04 +00:00
marc
fcce5315cd * More debugger properties
* Fixed debugger for regcall callingconvention in RTL

git-svn-id: trunk@5034 -
2004-01-09 00:10:51 +00:00
mattias
7df6dc79ca improved debugger: saved log, error handling in initialization, better reinitialize
git-svn-id: trunk@5016 -
2004-01-05 15:22:42 +00:00
marc
348cd5c298 * Changed TComponentSelectionList to TPersistentSelectionList
+ Added SSHdebugger property

git-svn-id: trunk@5007 -
2004-01-04 03:53:36 +00:00
mattias
cbc69512ee set DragCursor props to default
git-svn-id: trunk@4999 -
2004-01-03 18:16:25 +00:00
marc
48b038f8e3 + Added debugger optioes
git-svn-id: trunk@4994 -
2004-01-03 01:17:25 +00:00
mattias
0fb27cf751 minor fixes
git-svn-id: trunk@4973 -
2003-12-27 11:22:37 +00:00
mattias
777c1c73d8 fixed compilation
git-svn-id: trunk@4971 -
2003-12-27 01:30:35 +00:00
marc
14928f7ae2 + Added debugger properties
git-svn-id: trunk@4969 -
2003-12-27 01:05:03 +00:00
mattias
a3000e4875 fixed WaitForHandles
git-svn-id: trunk@4881 -
2003-12-08 14:27:16 +00:00
mattias
9ef4196e0f fixed memleak in debugger from Vincent
git-svn-id: trunk@4876 -
2003-12-05 08:39:53 +00:00
mazen
0b15eafd69 + added some paranthesis to avoid operators precedence problems
git-svn-id: trunk@4750 -
2003-10-31 15:14:43 +00:00
mazen
0a465d4795 * Fixing VER1_1 compile problem to allow using 1.1 compiler
* Most of oldlinux unit calls are now in BaseUnix unit with prefix Fp

git-svn-id: trunk@4748 -
2003-10-31 14:25:59 +00:00
mattias
ae02013fa3 updated rpm scripts
git-svn-id: trunk@4723 -
2003-10-22 17:50:17 +00:00
marc
ceaf698ecf Implemented new gtk keyevent handling
git-svn-id: trunk@4715 -
2003-10-16 23:54:27 +00:00
mattias
b8131d303a clean up win32 ifdefs
git-svn-id: trunk@4484 -
2003-08-15 14:28:48 +00:00
mattias
177677936d fixed initialenabled, debuggertype, linkscaner open string constant
git-svn-id: trunk@4458 -
2003-08-08 10:24:48 +00:00
mattias
714365de77 fixed mem leaks in debugger
git-svn-id: trunk@4456 -
2003-08-08 07:49:56 +00:00
marc
692bfa612a - removed accidently committed testcode
git-svn-id: trunk@4446 -
2003-08-02 00:23:08 +00:00
marc
c4e8a6b79e * fixed environment handling to debuggee
git-svn-id: trunk@4445 -
2003-08-02 00:20:20 +00:00
marc
8c1610c08d * Added RegisterDebugger
git-svn-id: trunk@4439 -
2003-07-30 23:15:39 +00:00
mattias
726f0b2afa added findinfiles strat implementation from Bob Wingard
git-svn-id: trunk@4431 -
2003-07-28 18:02:06 +00:00
mattias
d22221b36c moved debugger type to the debugger options
git-svn-id: trunk@4423 -
2003-07-25 17:05:58 +00:00
marc
91d44097f1 + Added SSHGDB debugger
git-svn-id: trunk@4418 -
2003-07-24 08:52:46 +00:00
marc
e0a9af5324 + Added SSHGDB debugger
git-svn-id: trunk@4417 -
2003-07-24 08:47:37 +00:00
marc
2b1c3e2616 * fixed cached items.object storage if TCheckListBox
* Changed DebuggerOptions dialog to use new TCheckListBox

git-svn-id: trunk@4388 -
2003-07-09 00:13:18 +00:00
marc
6b475b9f64 * Fixed version detection of gdb
git-svn-id: trunk@4312 -
2003-06-24 23:56:33 +00:00
marc
357f6a4213 * Canged Linux derective to unit, so it will work on xxxbsd?
git-svn-id: trunk@4284 -
2003-06-17 23:13:06 +00:00
marc
fb9cba261c MWE:
+ Implemented DebuggerOptions-ExceptonAdd
  * fixed inputquery (cannot setfocus while dialog is invisuible)

git-svn-id: trunk@4279 -
2003-06-16 00:07:28 +00:00
marc
e6a44e2109 MWE: + Added initial signal and exception handling
git-svn-id: trunk@4272 -
2003-06-13 19:21:31 +00:00