Commit Graph

523 Commits

Author SHA1 Message Date
martin
8b7014dbb0 LldbDebugger: Detect if the external exe is wrongly set to gdb.
git-svn-id: trunk@60599 -
2019-03-06 17:41:05 +00:00
martin
3d8420c410 LazDebuggerFp: Test IUnknown (only test for no crash). See issue #35129 / missing file for commit rev 60477 #801d5e137c
git-svn-id: trunk@60520 -
2019-02-26 18:52:01 +00:00
martin
801d5e137c LazDebuggerFp: Test IUnknown (only test for no crash). See issue #35129
git-svn-id: trunk@60477 -
2019-02-24 13:36:39 +00:00
martin
75f7a868fd LazDebugger(Fp)Lldb: Option to force open a terminal when debugging
git-svn-id: trunk@60470 -
2019-02-20 18:57:34 +00:00
martin
9c1b94fd8f LazDebuggerFpLldb: fix correct context for eval in thread.
git-svn-id: trunk@60431 -
2019-02-15 19:57:42 +00:00
martin
2acdb72734 LazDebugger(Fp)Lldb: fix select correct thread at breakpoint
git-svn-id: trunk@60419 -
2019-02-14 02:49:50 +00:00
martin
dff24e8451 LazDebugger(Fp)Lldb: fix stackframe when switching between threads
git-svn-id: trunk@60413 -
2019-02-12 21:41:47 +00:00
martin
2de7b11832 LazDebugger(Fp)Lldb: fix thread/frame for watch eval.
git-svn-id: trunk@60412 -
2019-02-12 19:40:38 +00:00
martin
4bb5c5ff41 LazDebuggerLldb: Add default lldb exe path (*nix)
git-svn-id: trunk@60404 -
2019-02-11 15:40:21 +00:00
martin
99e95a0721 FpDebug: Test, fix asm compilation
git-svn-id: trunk@60359 -
2019-02-07 17:41:00 +00:00
martin
616069b6b2 LazDebuggerFp: Fix context for evaluate on none existing stackframe
git-svn-id: trunk@60357 -
2019-02-07 17:39:06 +00:00
martin
e838d16727 LazDebuggerFp: Fix context for evaluate on higher stack frames (count vs index)
git-svn-id: trunk@60356 -
2019-02-07 17:06:10 +00:00
martin
dac68e42e2 FpDebug, LazDebuggerFp: fix last frame in stack list / allow evaluate more frames
git-svn-id: trunk@60335 -
2019-02-04 18:26:11 +00:00
martin
10824e43e6 LazDebugger(Fp)Lldb: Fix stepping in the correct thread
git-svn-id: trunk@60325 -
2019-02-03 22:44:08 +00:00
martin
7243ffc25d Lldb / FpLldb: fix length of exception class names
git-svn-id: trunk@60239 -
2019-01-29 15:00:28 +00:00
martin
764ceb2e97 FpDebug: TestCase
git-svn-id: trunk@60215 -
2019-01-25 00:45:12 +00:00
martin
ceb99f5f2e FpDebug: TestCase, more refactor internal breakpoints.
git-svn-id: trunk@60161 -
2019-01-23 21:30:13 +00:00
martin
9fffa25dc3 FpDebug: TestCase, more refactor internal breakpoints.
git-svn-id: trunk@60143 -
2019-01-22 02:13:51 +00:00
martin
52cadc4bb3 Debugger-tests: speed up internal logging (needed on windows).
git-svn-id: trunk@60133 -
2019-01-21 16:58:38 +00:00
martin
3f2cdc7c27 Debugger: remove some active logging
git-svn-id: trunk@60130 -
2019-01-21 00:18:23 +00:00
martin
ea6abfeb17 LazDebuggerFpLldb: correctly initialize pretty-printer
git-svn-id: trunk@60084 -
2019-01-14 20:15:08 +00:00
martin
f737797457 FpDebugServer: fix compilation / support multiple addresses per breakpoint
git-svn-id: trunk@60048 -
2019-01-09 20:50:23 +00:00
martin
f32968dd25 LazDebuggerFpLldb: allow external dwarf symbols on Mac
git-svn-id: trunk@60042 -
2019-01-08 23:13:36 +00:00
martin
af994a75c8 LazDebuggerFp: use dsInternalPause to set/unset breakpoints
git-svn-id: trunk@60035 -
2019-01-08 18:42:59 +00:00
martin
10ba71341c LazDebuggerFp/FpDebug: prevent mem-cache from hiding mem-read errors
git-svn-id: trunk@60014 -
2019-01-06 01:43:52 +00:00
martin
0a14d8c4ae LazDebuggerFp/FpDebug: tests, fp-lldb
git-svn-id: trunk@60012 -
2019-01-05 17:27:29 +00:00
martin
e00a9fb7eb LazDebuggerFp/FpDebug: tests, fp-lldb
git-svn-id: trunk@60010 -
2019-01-05 16:31:44 +00:00
martin
0e7c353eb8 LazDebuggerFp/FpDebug: tests, remove virtualtree
git-svn-id: trunk@60009 -
2019-01-05 16:30:44 +00:00
martin
89171482cc LazDebuggerFpLldb: retrieve register for other stackframes, while evaluation is running (required for nested procedures)
git-svn-id: trunk@60008 -
2019-01-05 16:21:44 +00:00
martin
5dc6bda9b0 LazDebuggerFpLldb: get current IP address from register (instead of stack) if available
git-svn-id: trunk@60007 -
2019-01-05 16:20:22 +00:00
martin
29dbe9729c LazDebugger(Fp)Lldb: fix 32/64 target detection
git-svn-id: trunk@60006 -
2019-01-05 16:17:57 +00:00
martin
06b7314a08 LazDebuggerFpLldb: fix crash in shutdown (stop debug while paused)
git-svn-id: trunk@60005 -
2019-01-05 15:27:37 +00:00
martin
c5cd6d5335 LazDebugger(Fp)Lldb: fix correct stackframe/thread for registers
git-svn-id: trunk@60004 -
2019-01-05 15:25:30 +00:00
martin
1268d65651 LazDebuggerFpLldb: fix pre-loading correct registers
git-svn-id: trunk@60001 -
2019-01-04 18:38:36 +00:00
martin
3a3acd660b LazDebuggerLldb: Fix reading registers for correct frame
git-svn-id: trunk@60000 -
2019-01-04 18:32:16 +00:00
martin
f9c2253b95 LazDebuggerFpGdbmi: Prevent occasional crash, when evaluate watch in nested procedure (access callstack out of index)
git-svn-id: trunk@59998 -
2019-01-04 15:04:20 +00:00
martin
23c7055080 LazDebuggerFpLldb: Prevent occasional crash, when evaluate watch in nested procedure (access callstack out of index)
git-svn-id: trunk@59997 -
2019-01-04 15:03:44 +00:00
martin
f5e720ed1e LazDebuggerFp/FpDebug: tests
git-svn-id: trunk@59964 -
2019-01-01 15:12:06 +00:00
martin
d3881b11b1 LazDebuggerLldb: change "open array" params to "const"
git-svn-id: trunk@59932 -
2018-12-29 00:36:13 +00:00
martin
e74b00e9dc LazDebuggerFp: Fix, showing pchar and string version for index access of string/pchar
git-svn-id: trunk@59862 -
2018-12-19 01:42:45 +00:00
martin
c3e01c7dc4 Fix spelling
git-svn-id: trunk@59859 -
2018-12-19 00:37:00 +00:00
martin
ce908679b0 Debugger test: fix leak in 2ndary logger
git-svn-id: trunk@59855 -
2018-12-18 16:03:37 +00:00
martin
0b45975fa0 LazDebuggerFpLLDB: fix mem leak in cache
git-svn-id: trunk@59850 -
2018-12-18 13:59:00 +00:00
martin
9cd0d830c4 LazDebuggerFpLLDB: fix mem leak in locals
git-svn-id: trunk@59848 -
2018-12-18 13:50:09 +00:00
martin
3d715e74e5 LazDebugger(Fp)LLDB: Show message on unexpected stop
git-svn-id: trunk@59846 -
2018-12-18 13:40:24 +00:00
martin
e72387cbeb LazDebuggerFpLLDB: load dwarf info in thread / simplify clean up
git-svn-id: trunk@59824 -
2018-12-14 10:51:26 +00:00
martin
4315025999 LazDebuggerFp: Implement OnIdle, make debug history being recorded.
git-svn-id: trunk@59818 -
2018-12-13 17:09:27 +00:00
martin
6c33c7fc13 LazDebuggerFp: Implement conditional breakpoints / fix nil access
git-svn-id: trunk@59815 -
2018-12-13 14:27:51 +00:00
martin
3cffd5e3da LazDebuggerFp: Implement conditional breakpoints
git-svn-id: trunk@59814 -
2018-12-13 12:56:18 +00:00
martin
1557e2c163 LazDebuggerFpLLDB: load dwarf info in thread / fix memleak
git-svn-id: trunk@59813 -
2018-12-13 11:43:58 +00:00
martin
39cca21c0c LazDebuggerFpLLDB: load dwarf info in thread / process simultaneous with lldb
git-svn-id: trunk@59812 -
2018-12-12 22:47:52 +00:00
martin
950ab08ab8 LazDebuggerFpLLDB: Enable capturing debug history (snapshots) on idle or break-action
git-svn-id: trunk@59811 -
2018-12-12 22:10:34 +00:00
martin
e41b09b476 LazDebuggerFpLLDB: Fix locals, need registers first
git-svn-id: trunk@59806 -
2018-12-12 17:21:46 +00:00
martin
435e8b1c1c LazDebugger(Fp)Gdbmi: Fix potential dangling pointer in Locals eval.
git-svn-id: trunk@59805 -
2018-12-12 17:14:31 +00:00
martin
9de85d233b LazDebuggerFpLLDB: Fix potential dangling pointer in Locals eval.
git-svn-id: trunk@59802 -
2018-12-12 13:46:01 +00:00
martin
f4544c2ac8 LazDebuggerFp: Prevent crash, if debugger instance is destroyed before logging is handled.
git-svn-id: trunk@59787 -
2018-12-10 23:26:09 +00:00
martin
d4079f1a6c FpDebug: test cases
git-svn-id: trunk@59782 -
2018-12-10 21:36:50 +00:00
martin
82671b823c FpDebug: test cases
git-svn-id: trunk@59781 -
2018-12-10 21:17:09 +00:00
martin
4286d5a275 LazDebuggerFpGdbmi: Use TargetWidth instead of IFDEF cpu64
git-svn-id: trunk@59744 -
2018-12-06 22:38:02 +00:00
martin
801ce13eb6 LazDebuggerFp: fix getting exception class/msg for 64bit targets
git-svn-id: trunk@59742 -
2018-12-06 20:20:23 +00:00
martin
d5cfafb571 LazDebuggerFp: linux, fix running process-access in debug-thread (needed when accessing outer vars for nested procs, for which stack has not yet been evaluated)
git-svn-id: trunk@59696 -
2018-11-29 14:52:08 +00:00
martin
abec187707 LazDebuggerFp: tests, cthreads for linux
git-svn-id: trunk@59695 -
2018-11-29 14:00:10 +00:00
martin
56745aed40 LazDebuggerFp: more tests
git-svn-id: trunk@59688 -
2018-11-28 20:56:25 +00:00
martin
0dd0d21622 LazDebugger(Fp)LLDB: fix memory leak
git-svn-id: trunk@59680 -
2018-11-27 18:41:35 +00:00
martin
ca2eda8348 LazDebugger(Fp)LLDB: fix getting class-name for exceptions
git-svn-id: trunk@59679 -
2018-11-27 18:37:53 +00:00
martin
7716b8a149 LazDebugger(Fp)LLDB: fix, check for ignored exceptions
git-svn-id: trunk@59678 -
2018-11-27 18:30:10 +00:00
martin
503598554b LazDebuggerFp: starting testcase
git-svn-id: trunk@59675 -
2018-11-27 01:24:22 +00:00
martin
2a997b956c LazDebuggerFpLLDB: deal with fpc info for nested procs variable scopes.
git-svn-id: trunk@59657 -
2018-11-25 20:04:34 +00:00
martin
0d4fa259a4 LazDebuggerFp: deal with fpc info for nested procs variable scopes.
git-svn-id: trunk@59656 -
2018-11-25 20:01:36 +00:00
martin
895fe14aed LazDebuggerFp: handle "ignored exceptions" list
git-svn-id: trunk@59655 -
2018-11-25 20:00:38 +00:00
martin
4e95eebb41 Debugger-Tests: fix test selector
git-svn-id: trunk@59641 -
2018-11-23 18:52:31 +00:00
martin
f1ca1318cf Debugger-Tests: fix test selector
git-svn-id: trunk@59616 -
2018-11-21 19:36:39 +00:00
martin
4fd6f41ee5 Debugger-Tests: Refactor
git-svn-id: trunk@59615 -
2018-11-21 18:59:38 +00:00
martin
d241c5e016 LazDebuggerFp: more nil handling safety
git-svn-id: trunk@59608 -
2018-11-19 18:07:28 +00:00
martin
96fdbb9d93 LazDebuggerFp: Fix crash, if string read from debugged app is nil / debugged app exception info
git-svn-id: trunk@59607 -
2018-11-19 17:48:12 +00:00
martin
2cace808be LazDebuggerFp, FpDebug: (windows only) implemented switching threads while paused. (On Linux only one thread is currently paused, so switching is not possible)
git-svn-id: trunk@59571 -
2018-11-17 14:16:09 +00:00
martin
37e86f2e05 LazDebuggerFp: fix missing result for dcPause
git-svn-id: trunk@59568 -
2018-11-17 12:35:51 +00:00
martin
f275a9445c LazDebuggerFp: return typeinfo for watches
git-svn-id: trunk@59558 -
2018-11-16 13:18:28 +00:00
martin
a67ceac77f LazDebuggerFp: added auto-typecast for objects (watches, inspect / not working for hints)
git-svn-id: trunk@59556 -
2018-11-16 11:13:43 +00:00
martin
84e5ae329a FpDebug: Workaround for dangling thread object
git-svn-id: trunk@59551 -
2018-11-15 22:41:07 +00:00
martin
9daf9a9f45 LazDebuggerFp: Fix/Implement "Reset Debugger" / Refactor: Use LockRelease from base class.
git-svn-id: trunk@59521 -
2018-11-11 21:14:00 +00:00
martin
e31e672112 LazDebuggerFp: fix mem leaks in logging code.
git-svn-id: trunk@59511 -
2018-11-11 18:27:22 +00:00
martin
c919a8a021 Added lldb, lldb-fp to BigIde
git-svn-id: trunk@59497 -
2018-11-09 16:20:46 +00:00
martin
f0d8e3150c fix Makefiles
git-svn-id: trunk@59496 -
2018-11-09 15:08:28 +00:00
martin
a7b3746bf9 lldb-fp debug: Makefiles
git-svn-id: trunk@59494 -
2018-11-09 12:45:42 +00:00
martin
8952e4f073 lldb debuggers: added license info / fp-lldb now beta
git-svn-id: trunk@59491 -
2018-11-08 12:14:08 +00:00
martin
c54639d227 FpDebug: Allow to specify poNewConsole on windows
git-svn-id: trunk@59488 -
2018-11-07 23:13:11 +00:00
martin
59e211fd44 lldb debugger: Fixed "stop" => now works while running. Implemented "pause"
git-svn-id: trunk@59445 -
2018-11-04 11:42:54 +00:00
martin
9b2f44b8c8 Lldb/Gdb - FpDebug: fix crash in pretty printer when called from lldb/gdb mixed debugger (MemManager not set)
git-svn-id: trunk@59443 -
2018-11-03 22:45:16 +00:00
mattias
1fb0143559 lazdebuggers: less hints
git-svn-id: trunk@59214 -
2018-10-01 15:13:00 +00:00
mattias
c2b0e049ef set trunk version to 2.0.0PreRelease
git-svn-id: trunk@59008 -
2018-09-15 19:41:22 +00:00
martin
abb4caa1b0 LazDebugger, lldb: more except handling
git-svn-id: trunk@58952 -
2018-09-11 12:07:08 +00:00
martin
39bce25a6e LazDebugger, lldb: more except handling
git-svn-id: trunk@58951 -
2018-09-11 11:28:57 +00:00
martin
28d95f19a0 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58944 -
2018-09-10 22:52:30 +00:00
martin
6a118ae674 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58943 -
2018-09-10 22:48:59 +00:00
martin
abb0c6ee62 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58942 -
2018-09-10 22:38:29 +00:00
martin
92a49470c8 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58941 -
2018-09-10 22:28:16 +00:00
martin
df5198c067 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58937 -
2018-09-10 22:17:51 +00:00
martin
39230ec8a5 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58935 -
2018-09-10 18:51:10 +00:00
martin
2215afacf5 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58934 -
2018-09-10 18:47:45 +00:00
martin
d2951e053c LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58933 -
2018-09-10 18:36:24 +00:00
martin
1f0e5653f1 git-svn-id: trunk@58932 - 2018-09-10 18:09:22 +00:00
martin
a588c248ff LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58931 -
2018-09-10 15:54:21 +00:00
martin
561246b1f9 LazDebugger, lldb: added asm step support / Issue #34227 Patch by David Jenkins
git-svn-id: trunk@58897 -
2018-09-06 21:52:19 +00:00
martin
d8030ed0be LazDebugger, fp-lldb: added dis-assembler support / Issue #34228 Patch by David Jenkins
git-svn-id: trunk@58896 -
2018-09-06 21:40:21 +00:00
martin
b65618119a fp-lldb debugger: fix hint evaluation / make sure registers are read first. Issue #034229
git-svn-id: trunk@58894 -
2018-09-06 12:15:32 +00:00
martin
7c2ce1cc23 fp-lldb, allow none external dbg info on mac 64bit
git-svn-id: trunk@58893 -
2018-09-06 11:42:47 +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
martin
d4437e704c LazDebugger, lldb: fix process launch
git-svn-id: trunk@58886 -
2018-09-06 01:45:03 +00:00
martin
362a579f9c LazDebugger, lldb: fix settings clear
git-svn-id: trunk@58885 -
2018-09-06 01:35:58 +00:00
martin
521b7017a7 LazDebugger, lldb: added step from raise to except/finally
git-svn-id: trunk@58884 -
2018-09-06 01:33:19 +00:00
martin
0ca9912dbf LazDebugger, lldb: fix settings cmd line args
git-svn-id: trunk@58883 -
2018-09-06 01:26:53 +00:00
martin
8e9344b351 LazDebugger, lldb: improved detecting arch discovery / Issue #34226 Patch by David Jenkins
git-svn-id: trunk@58882 -
2018-09-06 01:12:45 +00:00
martin
0d7386a502 LazDebugger, lldb: added step from raise to except/finally
git-svn-id: trunk@58881 -
2018-09-06 00:52:56 +00:00
martin
9347bbad86 LazDebugger, lldb: added run error handling
git-svn-id: trunk@58872 -
2018-09-05 13:54:08 +00:00
martin
d7046574ac LazDebugger, lldb: fix process terminated / add environment / add cmd line args
git-svn-id: trunk@58845 -
2018-09-03 22:36:24 +00:00
martin
9fdeb7de5c LazDebugger, lldb: refactor run command / not all lldb support thread stop format
git-svn-id: trunk@58841 -
2018-09-03 15:45:42 +00:00
martin
5570f33576 LazDebugger, lldb: refactor run command / move break handling to run cmd / hook, auto run thread list
git-svn-id: trunk@58839 -
2018-09-03 14:41:33 +00:00
martin
b3d8d81fe7 Debugger: let the debugger request certain compiler opts (eg: needs dwarf, or external info)
git-svn-id: trunk@58680 -
2018-08-05 13:05:21 +00:00
martin
9f8beba93e Debugger: let the debugger request certain compiler opts (eg: needs dwarf, or external info)
git-svn-id: trunk@58679 -
2018-08-05 12:26:21 +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
925809e37e GDBMI debugger testcase: ensure floating point separator. Issue #031922 patch by jacobb
git-svn-id: trunk@58538 -
2018-07-15 23:10:26 +00:00
martin
2cf32ee41e lldb debugger: fix continue running
git-svn-id: trunk@58512 -
2018-07-13 23:32:31 +00:00
martin
0e9f870052 FpDebug: Fix crash, due to memmanager not initialized
git-svn-id: trunk@58503 -
2018-07-13 15:21:30 +00:00
mattias
2bbe0a8cc7 updated makefiles
git-svn-id: trunk@58493 -
2018-07-11 23:58:59 +00:00
martin
06d4432fb4 Fix compile after debugger intf change
git-svn-id: trunk@58479 -
2018-07-10 12:58:18 +00:00
martin
0b4c0d8df6 lldb debugger: BreakPoints
git-svn-id: trunk@58475 -
2018-07-10 00:03:36 +00:00
martin
2325bf85bd lldb debugger: BreakPoints
git-svn-id: trunk@58474 -
2018-07-09 23:44:56 +00:00
martin
80f0f2fa83 lldb debugger: BreakPoints
git-svn-id: trunk@58473 -
2018-07-09 23:31:08 +00:00
martin
5d541aec27 DebuggerIntf: Watches can now be created in Updating state. Allowing to bundle change notifications for the debugger backend.
git-svn-id: trunk@58465 -
2018-07-08 20:51:00 +00:00
martin
7dca373ee2 added $IDEBuildOptions
git-svn-id: trunk@58464 -
2018-07-08 15:50:37 +00:00
martin
9b00b7bb65 lldb debugger: basic exception handling / fix crash in watches, if watch was free'd
git-svn-id: trunk@58443 -
2018-07-05 23:45:36 +00:00
martin
ec75584bad lldb debugger: locals / fixes crash in stack
git-svn-id: trunk@58438 -
2018-07-03 23:13:23 +00:00
martin
1f4fa68fab Remove deprecated misspelled methods
git-svn-id: trunk@58436 -
2018-07-03 22:40:28 +00:00
martin
c7974af7b9 lldb debugger: breakpoint handling (honour most brk-properties)
git-svn-id: trunk@58435 -
2018-07-03 14:57:35 +00:00
martin
e23fd4d433 fp debugger: event log for breakpoint hit
git-svn-id: trunk@58434 -
2018-07-03 14:55:45 +00:00
martin
7b7b8ea2a2 LLDB Debugger: memreader cache
git-svn-id: trunk@58418 -
2018-06-28 10:27:41 +00:00
martin
fdb9c0806b fp + fp lldb: allow external DebugInfo on MacOs
git-svn-id: trunk@58406 -
2018-06-25 17:58:46 +00:00
martin
183eb87abb fp lldb /fp gdbmi: updated to use the new dwarf loading for Mac Os
git-svn-id: trunk@58402 -
2018-06-25 15:18:57 +00:00
martin
d1d1d58a04 LLDB Debugger: dummy breakpoint to catch Exceptions
git-svn-id: trunk@58398 -
2018-06-24 21:58:24 +00:00
martin
1090db19f2 LLDB Debugger: use custom stack trace format / support debug output win // fix for limited support on MacOs
git-svn-id: trunk@58397 -
2018-06-24 20:18:11 +00:00
martin
6421a796cc LLDB Debugger: fix command ended detection
git-svn-id: trunk@58396 -
2018-06-24 20:17:24 +00:00
martin
2025b4dfcd LLDB Debugger: use custom stack trace format / support debug output win
git-svn-id: trunk@58392 -
2018-06-24 12:40:43 +00:00
martin
d7f9413b9a LLDB Debugger: fix dangling event
git-svn-id: trunk@58383 -
2018-06-22 20:26:59 +00:00
martin
4d46bbfd23 LLDB Debugger: improve ignoring common error msgs (unknown dwarf)
git-svn-id: trunk@58381 -
2018-06-22 19:13:33 +00:00
martin
795ed3a012 cmd line debug / threads
git-svn-id: trunk@58380 -
2018-06-22 17:47:52 +00:00
martin
0aad0a88a7 fp-lldb debug: mem leak
git-svn-id: trunk@58379 -
2018-06-22 17:12:50 +00:00
martin
3a01243c22 CmdLine Debugger, thread/async process: Fix unqueuing events, if thread is destroyed
git-svn-id: trunk@58378 -
2018-06-22 17:12:27 +00:00
martin
9069f48fa7 fp-lldb debug: correct thread
git-svn-id: trunk@58373 -
2018-06-21 19:29:40 +00:00
martin
d84affb76d LLDB Debugger: prevent unnecessary call stack attempts
git-svn-id: trunk@58371 -
2018-06-21 13:07:33 +00:00
martin
977223c360 CmdLine Debugger, thread/async process: Fix unqueuing events, if thread is destroyed
git-svn-id: trunk@58370 -
2018-06-21 13:06:42 +00:00
mattias
921d9eeecf lazdebuggers: added makefiles
git-svn-id: trunk@58365 -
2018-06-20 23:19:33 +00:00
mattias
3575d8d0e1 make bigide: added cmdlinedebuggerbase and lazdebuggerlldb
git-svn-id: trunk@58363 -
2018-06-20 21:41:44 +00:00
martin
34f1c7d389 LLDB Debugger: fix debugger done and thread terminate
git-svn-id: trunk@58362 -
2018-06-20 21:34:30 +00:00
martin
035ec7a82c LLDB Debugger: makefiles
git-svn-id: trunk@58357 -
2018-06-20 18:38:29 +00:00
martin
25fff5a1ba clean up / hints
git-svn-id: trunk@58354 -
2018-06-20 15:31:53 +00:00
martin
35c480e02e LLDB Debugger: mem leaks
git-svn-id: trunk@58353 -
2018-06-20 15:28:04 +00:00
martin
4295b09fdb Fp based/mixed debuggers: Fix context caching / clean up logging
git-svn-id: trunk@58352 -
2018-06-20 15:26:24 +00:00
martin
a11d49bd4b Fp based/mixed debuggers: Fix context caching / clean up logging
git-svn-id: trunk@58351 -
2018-06-20 14:56:27 +00:00
martin
da31183d2a LLDB Debugger: fix leak and access after free
git-svn-id: trunk@58350 -
2018-06-20 12:40:13 +00:00
martin
fd1571d1e5 LLDB Debugger: fix parsing frame
git-svn-id: trunk@58340 -
2018-06-19 18:13:38 +00:00
martin
2de4bca7db LLDB Debugger: register
git-svn-id: trunk@58330 -
2018-06-19 12:09:57 +00:00
martin
5d96eac5ae LLDB Debugger: use command for stack
git-svn-id: trunk@58327 -
2018-06-19 11:00:43 +00:00
martin
a44d260582 LLDB Debugger: threads
git-svn-id: trunk@58326 -
2018-06-19 10:25:47 +00:00
martin
b592e98120 LLDB Debugger: threads
git-svn-id: trunk@58315 -
2018-06-18 21:05:30 +00:00
martin
7268f484b5 FpDebugger: fix refreshing thread window when stepping
git-svn-id: trunk@58313 -
2018-06-18 20:24:22 +00:00
martin
4e36354b0d LLDB-FP Debugger: New debugger based on lldb with fpdebug / alpha
git-svn-id: trunk@58277 -
2018-06-14 23:06:43 +00:00
martin
fa3981c22e LLDB Debugger: New debugger based on lldb / early alpha
git-svn-id: trunk@58253 -
2018-06-13 23:08:34 +00:00
martin
6362172d02 DebuggerIntf: Refactor, evaluate now takes a callback
git-svn-id: trunk@58240 -
2018-06-13 00:25:55 +00:00
martin
bf1893d093 DebuggerIntf: Refactor, evaluate now takes a callback
git-svn-id: trunk@58239 -
2018-06-13 00:20:36 +00:00
martin
cef14db081 DebuggerIntf: Refactor, evaluate now takes a callback
git-svn-id: trunk@58238 -
2018-06-12 22:58:35 +00:00
joost
52df2b872b fpdebug: Fixed mem-leak and do not show threads when not running
git-svn-id: trunk@58161 -
2018-06-06 21:13:16 +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
3d621d07cc fpdebug: FpDebug is not in Alpha state anymore
git-svn-id: trunk@58129 -
2018-06-04 21:59:02 +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
ondrej
c0136a0867 Components: use LazLoggerBase instead of LazLogger
git-svn-id: trunk@58083 -
2018-06-02 16:46:39 +00:00
mattias
4354b305be lazdebuggers: less hints
git-svn-id: trunk@57789 -
2018-05-04 10:42:40 +00:00
martin
135655e435 fpdebug: fix crash on linux
git-svn-id: trunk@57784 -
2018-05-03 19:37:19 +00:00
martin
ee449027d9 fpdebug: fix compile on linux
git-svn-id: trunk@57783 -
2018-05-03 19:25:09 +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
75193aadbe LazDebuggerFP: Fix logging. Accessing Application.QueueAsync from thread caused leaks
git-svn-id: trunk@57780 -
2018-05-03 18:41:06 +00:00
juha
79436e5633 SynEdit: Remove SynRegExpr and use the identical RegExpr from FCL.
git-svn-id: trunk@53751 -
2016-12-21 22:35:05 +00:00
mattias
304234dc01 lazdebuggerfpgdbmi: check TIDEMenuItem
git-svn-id: trunk@52931 -
2016-09-08 07:45:18 +00:00
mattias
46e46e8b91 components: less hints
git-svn-id: trunk@51787 -
2016-03-01 15:28:31 +00:00
martin
20e4fc2e10 fpdebbugger: fix releasing context / revision 50963 #b5434dee75
git-svn-id: trunk@51579 -
2016-02-10 18:25:24 +00:00
mattias
eda918198b lazdebuggers: fixed crash if watchlist empty, bug #29238 from Anton
git-svn-id: trunk@50999 -
2015-12-22 22:43:21 +00:00
mattias
b5434dee75 fpdebug: fixed mem leaks, bug #29227 patch from Anton
git-svn-id: trunk@50963 -
2015-12-21 14:48:56 +00:00
mattias
172ba521c4 lazdebuggers: using TProcessUTF8
git-svn-id: trunk@50599 -
2015-12-04 16:04:11 +00:00
joost
2eb7213f3c LazDebuggerFPDServer: Implemented retrieval of registers
git-svn-id: trunk@49383 -
2015-06-21 10:46:07 +00:00
joost
15d8085bfc LazDebuggerFPDServer: Implemented retrieval of locals
git-svn-id: trunk@49374 -
2015-06-20 18:41:28 +00:00
joost
b834f60a49 LazDebuggerFPDServer: Removed warning
git-svn-id: trunk@49366 -
2015-06-18 19:09:30 +00:00
joost
3eeb33c6af LazDebuggerFPDServer: Implemented disassembler-linesbefore
git-svn-id: trunk@49365 -
2015-06-18 19:05:49 +00:00
joost
a4c7f8664f LazDebuggerFPDServer: Retrieve disassembled code from the fpdserver
git-svn-id: trunk@49294 -
2015-06-08 19:20:20 +00:00
joost
4c5136dbe7 LazDebuggerFPDServer: Fixed compilation
git-svn-id: trunk@49266 -
2015-06-04 18:11:17 +00:00
joost
defb929545 LazDebuggerFPDServer: Send console-output to the terminal window
git-svn-id: trunk@49265 -
2015-06-04 18:08:31 +00:00
joost
533cb5e719 LazDebuggerFPDServer: Fixed possible AV
git-svn-id: trunk@49235 -
2015-05-31 19:24:12 +00:00
joost
fbe9b123fd LazDebuggerFPDServer: Set debuger-state properly on first run.
git-svn-id: trunk@49221 -
2015-05-30 10:45:20 +00:00
joost
ecfcd3a2a5 LazDebuggerFPDServer: Callstack-support added
git-svn-id: trunk@49220 -
2015-05-30 09:50:18 +00:00
joost
985e9e66b1 LazDebuggerFPDServer: Handle all incoming data first, before waiting for user-commands, to improve performance
git-svn-id: trunk@49179 -
2015-05-26 15:51:34 +00:00
joost
f97dbf0ab7 LazDebuggerFPDServer: Added basic watches support
git-svn-id: trunk@49169 -
2015-05-25 20:00:05 +00:00
joost
0c5739b43a LazDebuggerFPDServer: Added support for dcEvaluate
git-svn-id: trunk@49168 -
2015-05-25 17:37:06 +00:00
joost
5338f2a5ad LazDebuggerFPDServer: Fixed compilation
git-svn-id: trunk@49151 -
2015-05-23 17:02:38 +00:00
joost
6d4a9c0cb0 LazDebuggerFPDServer: Start and stop/kill the FPDServer on demand
git-svn-id: trunk@49150 -
2015-05-23 16:51:40 +00:00
martin
fe30e47f9b fpdebug: added params to stack (fixed for frames without context)
git-svn-id: trunk@49132 -
2015-05-22 14:48:42 +00:00
martin
2c1cc645e3 fpdebug: added params to stack
git-svn-id: trunk@49123 -
2015-05-20 21:00:18 +00:00
martin
eb15eb559f fpdebug: fix crash on pause (missing callstack)
git-svn-id: trunk@49099 -
2015-05-18 22:52:38 +00:00
joost
22965c7340 LazDebuggerFPDServer: Handle connection-problems correctly
git-svn-id: trunk@49027 -
2015-05-15 10:29:00 +00:00
joost
670c24309d LazDebuggerFPDServer: Added new package to debug applications using fpdserver
git-svn-id: trunk@49022 -
2015-05-14 13:35:15 +00:00
martin
88dd20916e fpdebug: prevent crash due to early self.destroy, when stopping the debugger
git-svn-id: trunk@48999 -
2015-05-12 20:00:45 +00:00
martin
fe33405ec7 fpdebug: fix free symbol
git-svn-id: trunk@48998 -
2015-05-12 18:25:45 +00:00
joost
75eb7cb004 LazDebuggerFpGdbmi: Fixed compilation after r48638 #8f9d2106db
git-svn-id: trunk@48680 -
2015-04-08 15:01:31 +00:00
joost
e0d996a464 LazDebuggerFp: Fixed mem-leak
git-svn-id: trunk@48524 -
2015-03-27 22:05:19 +00:00
joost
e2399a4c0d FpDebug: Fixed memory corruption by encapulating log-strings inside a class instead of a record
git-svn-id: trunk@48523 -
2015-03-27 20:12:02 +00:00
joost
f8ba7fd9c8 LazDebuggerFp: Ability to select console to attach debuggee onto
git-svn-id: trunk@48455 -
2015-03-22 12:53:35 +00:00
mattias
5da1a8e4da lazdebuggerfp: less hints
git-svn-id: trunk@47613 -
2015-02-07 09:47:01 +00:00
mattias
a46dc8915a IDE: added TDebuggerIntf.CanExternalDebugSymbolsFile
git-svn-id: trunk@47107 -
2014-12-04 19:14:22 +00:00
mattias
d7122737e1 IDEIntf: renamed TDebuggerIntf.HasExePath to NeedsExePath, old kept as deprecated
git-svn-id: trunk@47106 -
2014-12-04 18:42:47 +00:00
juha
00dd928674 LazDebugger: Fix compilation of fpgdbmidebugger.pp in win64. Issue #27097, patch from ocean.
git-svn-id: trunk@47035 -
2014-11-30 10:58:04 +00:00
mattias
612c14ef16 lazdebugger: fixed mem leak in TFPDBGDisassembler.PrepareEntries
git-svn-id: trunk@46954 -
2014-11-22 01:11:44 +00:00
mattias
9103387c7e lazdebugger: fixed mem leak TFpDebugDebugger.Create
git-svn-id: trunk@46953 -
2014-11-22 00:41:19 +00:00
mattias
39eddb6bfb lazdebugger: fixed mem leak SetSoftwareExceptionBreakpoint
git-svn-id: trunk@46952 -
2014-11-22 00:37:59 +00:00
mattias
3b64b2922b lazdebugger: queue async calls only once
git-svn-id: trunk@46951 -
2014-11-22 00:32:46 +00:00
mattias
f9700880fa lazdebugger: remove queued async calls
git-svn-id: trunk@46950 -
2014-11-22 00:12:06 +00:00
mattias
858999dd3e lazdebuggerfp: fixed typo
git-svn-id: trunk@46947 -
2014-11-21 23:54:59 +00:00
mattias
3037a9fb1a lazdebuggerfp: clean up
git-svn-id: trunk@46946 -
2014-11-21 23:54:12 +00:00
mattias
e899da956f lazdebuggerfp: less hints
git-svn-id: trunk@46943 -
2014-11-21 23:41:35 +00:00
mattias
2a62d80f76 lazdebuggerfp: clean up
git-svn-id: trunk@46942 -
2014-11-21 23:40:26 +00:00
mattias
92b8da3b52 lazdebugger: fixed typo
git-svn-id: trunk@46939 -
2014-11-21 22:39:30 +00:00
joost
9070ac0b2c FpDebugger (pure): Added logging, enable with define DBG_FPDEBUG_VERBOSE
git-svn-id: trunk@46143 -
2014-09-06 18:40:30 +00:00
joost
4b8e6daa2f FpDebugger (pure): On a next, only stop if the current instruction is the first instruction of a line. This is to solve a problem in fpcs debuginfo.
git-svn-id: trunk@46136 -
2014-09-05 20:37:43 +00:00
joost
bdbccce289 FpDebugger (pure): Use a pseudo-terminal instead of pipes to read the debuggees out- and in-put
git-svn-id: trunk@46070 -
2014-08-24 12:22:23 +00:00
joost
daaa427f54 FpDebugger (pure): Re-direct console output to the terminal-output debug window on Linux
git-svn-id: trunk@46058 -
2014-08-22 15:47:46 +00:00
joost
fef936b68e FpDebugger (pure): Solved AV when the debuggee already has been stopped when a breakpoint is freed.
git-svn-id: trunk@45935 -
2014-07-20 17:50:19 +00:00
joost
70300be121 FpDebugger (pure): Remove breakpoints from within the debug-thread on Linux
git-svn-id: trunk@45934 -
2014-07-20 14:36:42 +00:00
joost
ac95b9c55d FpDebugger (pure): Patch from Colin Western to resolve relative filenames in Dwarf-debug info.
git-svn-id: trunk@45933 -
2014-07-20 13:27:52 +00:00
joost
33460197fd FpDebugger (pure): Delay the removal of breakpoint when the debuggee is running.
git-svn-id: trunk@45930 -
2014-07-19 21:33:58 +00:00
joost
be7b70f172 FpDebugger (pure): Re-wrote RunTo using a TDbgControllerCmd
git-svn-id: trunk@45900 -
2014-07-17 18:53:58 +00:00
joost
6ae20a6ef6 FpDebugger (pure): Fix for showing exception-messages on Linux
git-svn-id: trunk@45899 -
2014-07-17 17:37:10 +00:00
joost
d349c421e3 FpDebugger (pure): Avoid usage of TThread.Queue, because it is not available in fpc 2.6.4
git-svn-id: trunk@45879 -
2014-07-15 16:33:30 +00:00
joost
e5f73f7d0f FpDebuger (pure): Fix for pausing the debuggee
git-svn-id: trunk@45866 -
2014-07-14 20:28:34 +00:00
joost
8d79ffd221 FpDebugger (pure): Handle a failing pause properly
git-svn-id: trunk@45859 -
2014-07-13 21:40:40 +00:00
joost
c021527f22 FpDebugger (pure): Pass the right mode to the dissasembler when cross-debugging
git-svn-id: trunk@45849 -
2014-07-12 21:36:50 +00:00
joost
359ca050e3 FpDebugger (pure): Fixed stepping after a quick-pause
git-svn-id: trunk@45845 -
2014-07-12 18:28:16 +00:00
joost
01aef7a619 FpDebugger (pure): Fix for evaluating expressions while cross-debugging
git-svn-id: trunk@45844 -
2014-07-12 18:18:45 +00:00
joost
600fc1036c FpDebugger (pure): Let the memory-manager read memory from within the debugging-thread on Linux.
More fixes for getting the instruction-register on x86_64
Fixxed setting the line-info on Darwin and Linux

git-svn-id: trunk@45817 -
2014-07-08 21:15:04 +00:00
joost
3c1fb6e10f FpDebugger (pure): On linux all communication with the debuggee has to be done in the thread that started the debuggee.
git-svn-id: trunk@45781 -
2014-07-04 21:49:47 +00:00
joost
5ca2fb27e0 FpDebugger (pure): If the debugger failed to start, clear TDebuggerIntf.FileName to make sure the state of the debugger is set properly on the next start.
git-svn-id: trunk@45599 -
2014-06-22 08:34:03 +00:00
joost
fda010dfd1 FpDebugger (pure): The dx-register is used to obtain the location of an exception. Fix for the difference in the dwarf-index of the dx-register on i386 and x86_64.
git-svn-id: trunk@45429 -
2014-06-09 14:26:59 +00:00
joost
3fb55d6ed6 FpDebug (pure): Added thread-safe loggingsystem with three log-levels. The log-levels dllInfo and dllError are used to show messages/errors in the ide.
The new log-system is used to show a message when there is no dSym-bundle with Dwarf-debug info or if the ide has not enough rights to debug applications. (OS/X)

git-svn-id: trunk@45382 -
2014-06-07 14:27:48 +00:00
joost
b7f27e1bad FpDebugger (pure): Read software-breakpoint information properly for 64bit-targets.
git-svn-id: trunk@45285 -
2014-06-01 16:28:41 +00:00