Commit Graph

393 Commits

Author SHA1 Message Date
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
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
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
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
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
6e46475a00 DBG: More Snapshots, Some optimizations/reduce watches refresh
git-svn-id: trunk@31107 -
2011-06-05 22:27:15 +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
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
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
99624b9b9a DBG: Refactor Master/Slave class structure (locals)
git-svn-id: trunk@30721 -
2011-05-13 14:00:35 +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
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
8e156d3fca debugger: log OutputDebugString() messages
git-svn-id: trunk@30656 -
2011-05-10 07:07:42 +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
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
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
martin
3a9c073d32 DBG: fixed setting of break conditions
git-svn-id: trunk@30539 -
2011-05-03 09:27:13 +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
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
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
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
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
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
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
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
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
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
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
martin
5b6cc6df96 DBG: "inspect" dialog, now shows entire class
git-svn-id: trunk@29056 -
2011-01-16 19:11:23 +00:00
paul
1c3512e83c debugger: fix compilation under unix
git-svn-id: trunk@29024 -
2011-01-15 06:30:50 +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
3f3b8a3c89 Env-Opts, Dbg: Save debugger properties
git-svn-id: trunk@28997 -
2011-01-13 16:47:22 +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
b29a1ef5d5 DBG: Watches improved mem-dump for objects; improved pointers
git-svn-id: trunk@28978 -
2011-01-12 22:33:18 +00:00
martin
cea1fb0eff DBG: Refactored gdb-type parsing
git-svn-id: trunk@28926 -
2011-01-10 01:11:25 +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
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
a52df4f32a DBG: fixed display of a=b" watches
git-svn-id: trunk@28734 -
2010-12-16 23:48:42 +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
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
f65de69416 DBG: improved detection of TargetPtrSize and CPU / Improved reading ClassName
git-svn-id: trunk@28640 -
2010-12-06 18:54:43 +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
343365de24 DBG: some fixes -dDEB_WITH_TIMEOUT
git-svn-id: trunk@28505 -
2010-11-26 21:36:30 +00:00