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
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
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
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
marc
e2275307da
*debugger: Strip CR/FL from expressions. Fixes #16232
...
git-svn-id: trunk@24559 -
2010-04-10 17:26:28 +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
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
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
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
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
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
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
marc
2b723e68d2
* formatting & typo
...
git-svn-id: trunk@22539 -
2009-11-11 23:35:12 +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
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
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
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
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
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
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
632c906b7a
debugger: fix path delimiters for the call stack
...
git-svn-id: trunk@18940 -
2009-03-10 07:05:45 +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
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
marc
fa88fa1f61
* Reset puse wait state when stopped (tip from paul)
...
git-svn-id: trunk@18826 -
2009-02-26 22:40:16 +00:00