Commit Graph

330 Commits

Author SHA1 Message Date
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
martin
f4532d9046 DBG: fixed call for -dDEB_WITH_TIMEOUT
git-svn-id: trunk@28503 -
2010-11-26 18:41:53 +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
martin
32c1d8856a DBG: Reset Watches if debugger stops. Issue #16095
git-svn-id: trunk@28490 -
2010-11-26 00:32:45 +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
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
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
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
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
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
d8e607cb2e DBG: Fix Disassembler results
git-svn-id: trunk@28259 -
2010-11-16 01:41:32 +00:00
martin
8e1f7a799e DBG: prevent a range check error
git-svn-id: trunk@28256 -
2010-11-15 21:53:08 +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
74c0ce2bb6 debugger: disassembler,Fixed missing mem-dump
git-svn-id: trunk@28236 -
2010-11-15 00:02:10 +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
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
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
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
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