mattias
7c6b8f01a5
FpDebug: Windows, fixed intercepting system exceptions (access violations, stack overflow, div zero,...)
...
git-svn-id: branches/fixes_2_0@60171 -
2019-01-24 09:33:38 +00:00
mattias
fa637c6909
FpDebug: MacOs, 64bit IDE loading of dwarf for 32 bit target
...
git-svn-id: branches/fixes_2_0@60169 -
2019-01-24 09:32:02 +00:00
mattias
b127ffe142
FpDebug: MacOs, loading of dwarf symbols missed some global vars
...
git-svn-id: branches/fixes_2_0@60166 -
2019-01-24 09:30:33 +00:00
maxim
c414ae68cb
Merged revision(s) 60014 #10ba71341c from trunk:
...
LazDebuggerFp/FpDebug: prevent mem-cache from hiding mem-read errors
........
git-svn-id: branches/fixes_2_0@60038 -
2019-01-08 21:45:27 +00:00
maxim
1b67badec0
Merged revision(s) 59895 #83ea07fe5b, 59929-59932 #f772c7f4d2-#f772c7f4d2, 59943 #31fe8e6955, 59959 #52dda0c955, 59961-59962 #40e565832d-#40e565832d, 59964 #f5e720ed1e, 59978 #7ccec4c206 from trunk:
...
FpDebug: limit array/string bounds (max len) / partial fix/workaround to prevent crashes when eval locals while in pro-epi-logue (stack not yet initialized / random data for bounds and other). Issue #0034746
........
FpDebug: Fix typecast
........
FpDebug: Fix length of widestring (avoid trailing random data)
........
FpDebug: change "open array" params to "const"
........
LazDebuggerLldb: change "open array" params to "const"
........
FpDebug: fix accessing Upper-bound-value of open-array. Was missing a context object. Issue #0034781 / Add limit to prevent bad size, if data is corrupt. Issue #34772
........
FpDebug: fix commit 59943 #31fe8e6955 / open-array bounds
........
FpDebug: added dbgs for debugln
........
FpDebug: fix nested array bounds in dwarf3
........
LazDebuggerFp/FpDebug: tests
........
FpDebug: Callstack, adjust to show the current calling line, instead of the line after it. Issue #0034753
........
git-svn-id: branches/fixes_2_0@59990 -
2019-01-04 14:12:44 +00:00
martin
c135c356af
Merged revision(s) 59872 #78ffec8934 from trunk:
...
FpDebug: Fixed Array of String for dwarf-3
........
git-svn-id: branches/fixes_2_0@59873 -
2018-12-20 01:12:46 +00:00
martin
2a70f59029
Merged revision(s) 59825 #35103e664b, 59870 #4d4aa06706 from trunk:
...
FpDebug: Implement correct length for open-array params
........
FpDebug: Fixed Array of ShortString for dwarf2
........
git-svn-id: branches/fixes_2_0@59871 -
2018-12-19 23:00:27 +00:00
martin
02228d272a
Merged revision(s) 59861-59862 #53ff21a2b4-#53ff21a2b4 from trunk:
...
FpDebug: Implemented watch for "SomeString[index]"
........
LazDebuggerFp: Fix, showing pchar and string version for index access of string/pchar
........
git-svn-id: branches/fixes_2_0@59863 -
2018-12-19 01:45:04 +00:00
martin
f2c958611a
Merged revision(s) 59480 #2af35ade49, 59509 #e4adcb2815, 59615-59616 #4fd6f41ee5-#4fd6f41ee5, 59641 #4e95eebb41, 59675 #503598554b, 59688 #56745aed40, 59695 #abec187707, 59781-59782 #82671b823c-#82671b823c from trunk: Testcases for Debugger
...
git-svn-id: branches/fixes_2_0@59854 -
2018-12-18 15:41:01 +00:00
maxim
9759d7d1c5
Merged revision(s) 59778 #739388038a, 59780 #7f8e86bb91, 59794 #eb7d309f42 from trunk:
...
FpDebug: handle PWideChar (and WideString, if represented as PWideChar)
........
FpDebug: detect ShortString under dwarf-2
........
FpDebug: started/partly detect strings in dwarf-3
........
git-svn-id: branches/fixes_2_0@59838 -
2018-12-17 22:08:53 +00:00
mattias
21631e5df3
FpDebug: properly encode strings for display (unprintable chars as #$nn)
...
git-svn-id: branches/fixes_2_0@59791 -
2018-12-11 10:20:12 +00:00
maxim
b3b684eb20
Merged revision(s) 59779 #fec2f4c39e from trunk:
...
FpDebug: nil check, in case of corrupted debug info
........
git-svn-id: branches/fixes_2_0@59786 -
2018-12-10 22:36:43 +00:00
maxim
3f451b21ec
Merged revision(s) 59776 #7e6959a326 from trunk:
...
FpDebug: Fix Dwarf3 on 64bit. The The 32/64bit signature in the dwarf header should only affect references within the dwarf info. But by accident it affected constant addresses. This lead to truncation of some addresses, when dwarf-3 was used with 64 bit targets.
........
git-svn-id: branches/fixes_2_0@59785 -
2018-12-10 22:31:03 +00:00
maxim
3e125017ab
Merged revision(s) 59727-59729 #bba050e333-#bba050e333, 59740-59743 #0506cd7fb5-#0506cd7fb5, 59745 #c5fdbd440a from trunk:
...
FpDebug: Disable assert, until fixed
........
FpDebug (incl lldb/gdb): Fix crash due to wrong cache removed from list. List could have 2 caches with same address, if a smaller cache was replaced by a bigger. Remove could destroy one and remove the other
........
FpDebug: (Linux/Mac) Do not keep files open longer than needed. Systems may limit max files open. (Mac opens many files)
........
FpDebug: Windows, Check dwDebugEventCode before accessing case dependent data
........
FpDebug: Windows, fix leaking filehandles (again), see r59552 #122dfbd2ce / needed until forked processes are handled.
........
LazDebuggerFp: fix getting exception class/msg for 64bit targets
........
Debugger: Limit size of exception message/window
........
FpDebug: fix accessing nil fileloader. Introduced in rev 59729 #f09614b9a8 / Issue #0034657
........
git-svn-id: branches/fixes_2_0@59766 -
2018-12-09 22:33:15 +00:00
maxim
fcc64fc072
Merged revision(s) 59655-59656 #895fe14aed-#895fe14aed, 59678-59680 #7716b8a149-#7716b8a149, 59692-59693 #84ba359bbd-#84ba359bbd from trunk:
...
LazDebuggerFp: handle "ignored exceptions" list
........
LazDebuggerFp: deal with fpc info for nested procs variable scopes.
........
LazDebugger(Fp)LLDB: fix, check for ignored exceptions
........
LazDebugger(Fp)LLDB: fix getting class-name for exceptions
........
LazDebugger(Fp)LLDB: fix memory leak
........
FpDebug: print type-name for structured types
........
Debugger: Fix wrong class for threads.
........
git-svn-id: branches/fixes_2_0@59705 -
2018-11-29 23:01:14 +00:00
mattias
f4585b2959
fpdebug: fixed framwork name Security
...
git-svn-id: branches/fixes_2_0@59670 -
2018-11-26 22:32:36 +00:00
mattias
c07267185e
FpDebug: fix memleak if no loader for file format is found
...
git-svn-id: branches/fixes_2_0@59578 -
2018-11-17 20:13:52 +00:00
mattias
4dd92cbcb4
FpDebug: format structured values (class) as one line per field
...
git-svn-id: branches/fixes_2_0@59576 -
2018-11-17 20:13:01 +00:00
mattias
d3bc921507
FpDebug: Windows, fix leaking filehandles / more (temp) fixes for not processing forked children
...
git-svn-id: branches/fixes_2_0@59574 -
2018-11-17 20:12:25 +00:00
mattias
31929be376
FpDebug: fixed a memory leak, when the debugged process forked child processes.
...
git-svn-id: branches/fixes_2_0@59573 -
2018-11-17 20:12:06 +00:00
maxim
3e99733e9d
Merged revision(s) 59538-59539 #0368d8e0d8-#0368d8e0d8 from trunk:
...
FpDebug: temporary workaround to display widestrings (actually pwidechar^)
........
FpDebug: temporary workaround to display widechar
........
git-svn-id: branches/fixes_2_0@59541 -
2018-11-13 22:35:18 +00:00
mattias
97d363406c
fp debug: fixed Makefiles
...
git-svn-id: branches/fixes_2_0@59516 -
2018-11-11 21:08:38 +00:00
mattias
3d821b3797
fp debug: Makefiles
...
git-svn-id: branches/fixes_2_0@59515 -
2018-11-11 21:08:13 +00:00
maxim
5f47ea43cf
Merged revision(s) 59439 #fdd25c4c9c, 59443 #9b2f44b8c8, 59445 #59e211fd44 from trunk:
...
Debugger, asm dialog: fix mouse wheel scrolling
........
Lldb/Gdb - FpDebug: fix crash in pretty printer when called from lldb/gdb mixed debugger (MemManager not set)
........
lldb debugger: Fixed "stop" => now works while running. Implemented "pause"
........
git-svn-id: branches/fixes_2_0@59460 -
2018-11-05 12:04:52 +00:00
mattias
8d07f3907c
fpdebug: less hints
...
git-svn-id: branches/fixes_2_0@59211 -
2018-10-01 15:11:14 +00:00
martin
ae279a0337
fpdebug: use TFPGMap instead of TStringList. Included in patch of Issue #34225 Patch by David Jenkins
...
git-svn-id: trunk@58892 -
2018-09-06 11:26:24 +00:00
martin
a44e814975
fpdebug / fp-lldb: runtime detection of 32/64bit arch. Issue #34225 Patch by David Jenkins
...
git-svn-id: trunk@58891 -
2018-09-06 11:24:43 +00:00
juha
d43fa548b8
LazUtils: Rename unit LazUTF8SysUtils -> LazSysUtils. It had nothing to do with character encoding.
...
git-svn-id: trunk@58630 -
2018-07-25 13:38:59 +00:00
martin
adee3883fa
fp debug: introduce mem reader cache
...
git-svn-id: trunk@58417 -
2018-06-28 10:27:02 +00:00
joost
3f08871ce8
fpdebug: Fixed compilation with verbose debugging
...
git-svn-id: trunk@58416 -
2018-06-26 21:40:16 +00:00
martin
ef0ef04087
Dwarfviewer: update dwarf loading (recent refactor)
...
git-svn-id: trunk@58401 -
2018-06-25 13:48:58 +00:00
martin
23d5c0bdc7
FP Debugger: fix range checks / do not use arbitrary large static arrays (gdb dislikes the debuginfo)
...
git-svn-id: trunk@58399 -
2018-06-24 22:56:20 +00:00
martin
a80f8c659c
FpDebug: refactor for loading MacOs sym in mixed lldb/gdb debug
...
git-svn-id: trunk@58395 -
2018-06-24 19:31:39 +00:00
martin
d1d7164b75
FpDebug: IDEBuildOptions
...
git-svn-id: trunk@58394 -
2018-06-24 19:29:08 +00:00
martin
0db8c632c5
FpDebug: MacOs, find dwarf info in app bundle
...
git-svn-id: trunk@58307 -
2018-06-18 13:16:32 +00:00
joost
abe6b86bb0
fpdebug: implemented step-out
...
git-svn-id: trunk@58218 -
2018-06-10 21:03:29 +00:00
martin
f5d955dd72
updates to test/dwarfviewer (show line info)
...
git-svn-id: trunk@58202 -
2018-06-09 13:03:05 +00:00
martin
54445f8381
LazDebuggerFP: fix (stackframe) register for 64bit app / enable watches,locals on selected stackframe
...
git-svn-id: trunk@58200 -
2018-06-09 12:35:00 +00:00
joost
cf440de910
fpdebug: Do not suspend on the start of a child-process
...
git-svn-id: trunk@58160 -
2018-06-06 20:51:41 +00:00
joost
317bc74ea3
fpdebug: Fill the IDE's list of threads
...
git-svn-id: trunk@58146 -
2018-06-05 20:44:25 +00:00
joost
1f5eb8d171
fpdebug: Improved handling of threads, removed several assumptions that the main-thread was being debugged
...
git-svn-id: trunk@58128 -
2018-06-04 21:52:32 +00:00
joost
50cce1a623
fpdebug: Handling of multiple threads (Linux)
...
git-svn-id: trunk@58095 -
2018-06-03 13:00:00 +00:00
mattias
09619c5659
fpdebug: clean up
...
git-svn-id: trunk@57787 -
2018-05-04 10:41:46 +00:00
martin
5562c074da
IDE, fpDebug, Debuggers: Deal with source lines that have more than one address (e.g. generics). fpDebug: set breakpoints at all addresses of a line.
...
git-svn-id: trunk@57782 -
2018-05-03 18:52:41 +00:00
martin
cf72a4270c
FPDebugger: Fix compilation of testcase
...
git-svn-id: trunk@57781 -
2018-05-03 18:43:32 +00:00
martin
c946f67b86
FPDebugger: Prevent "internal events" (in debug loop) from changing the debugger state. In case of "QuickPause" the flag gets cleared, and the real quick-pause event causes the target to be fully paused. (pause/asm-win, when setting breakpoint while running -> win32 interrupt causes new thread) // TODO: LoadLibrary may have the same issue
...
git-svn-id: trunk@57779 -
2018-05-03 18:36:02 +00:00
martin
196ed8504a
FPDebugger: Fix line state machine, inc counter for EndSequence
...
git-svn-id: trunk@57778 -
2018-05-03 18:28:09 +00:00
joost
0678543521
* Fixed range-check error due to uninitialized variable
...
git-svn-id: trunk@54573 -
2017-04-08 14:40:37 +00:00
joost
1de2cbf586
general: Updated address of the Free Software Foundation in copyright messages
...
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
mattias
b6dc57342f
fpdebug: comment
...
git-svn-id: trunk@53503 -
2016-12-01 10:33:58 +00:00