martin
c54639d227
FpDebug: Allow to specify poNewConsole on windows
...
git-svn-id: trunk@59488 -
2018-11-07 23:13:11 +00:00
mattias
1fb0143559
lazdebuggers: less hints
...
git-svn-id: trunk@59214 -
2018-10-01 15:13:00 +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
martin
0e9f870052
FpDebug: Fix crash, due to memmanager not initialized
...
git-svn-id: trunk@58503 -
2018-07-13 15:21:30 +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
e23fd4d433
fp debugger: event log for breakpoint hit
...
git-svn-id: trunk@58434 -
2018-07-03 14:55:45 +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
7268f484b5
FpDebugger: fix refreshing thread window when stepping
...
git-svn-id: trunk@58313 -
2018-06-18 20:24:22 +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
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
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
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
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
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
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
joost
daccdeda63
FpDebugger (pure): Use dsInternalPause to trigger setting the breakpoints just after the debuggee has been started. Do not try to evaluate the callstack and the disassembler at this moment.
...
git-svn-id: trunk@45283 -
2014-06-01 13:58:46 +00:00
joost
96d22b6116
FpDebugger (pure): Set current location after a step/next/step-out etc.
...
git-svn-id: trunk@45281 -
2014-06-01 09:48:21 +00:00
joost
61775433a1
FpDebugger (pure): Pause on fpc software-breakpoints
...
git-svn-id: trunk@45146 -
2014-05-22 07:41:01 +00:00
martin
5fcf18bf30
FpDebugger (pure): eval hints and debug-inspect for selected stackframe
...
git-svn-id: trunk@44992 -
2014-05-10 12:36:04 +00:00
martin
87080f5081
FpDebugger (pure): function name in stack
...
git-svn-id: trunk@44989 -
2014-05-10 02:01:14 +00:00
martin
95096bfbda
FpDebugger (pure): eval locals for selected stackframe
...
git-svn-id: trunk@44988 -
2014-05-10 01:46:32 +00:00
martin
3a712955ca
FpDebugger (pure): eval watches for selected stackframe
...
git-svn-id: trunk@44987 -
2014-05-10 00:44:49 +00:00
martin
7731842232
FpDebugger (pure): eval watches async / more responsive
...
git-svn-id: trunk@44977 -
2014-05-08 18:23:16 +00:00
martin
c95fdd7dbf
FpDebugger (pure): hint evaluation / debug-inspector
...
git-svn-id: trunk@44975 -
2014-05-08 17:40:30 +00:00
joost
f25dee1d51
LazDebuggerFp (pure): Exception handling. (no software exceptions)
...
git-svn-id: trunk@44970 -
2014-05-07 18:32:50 +00:00
joost
31762452ae
LazDebuggerFp (pure): Handle working-directory and environment of debuggee
...
git-svn-id: trunk@44936 -
2014-05-06 19:25:38 +00:00
joost
04283997b4
LazDebuggerFp (pure): Pass arguments to debuggee
...
git-svn-id: trunk@44928 -
2014-05-05 20:15:42 +00:00
martin
9056ee62b2
FpDebugger (pure): watches error checking
...
git-svn-id: trunk@44920 -
2014-05-05 03:06:28 +00:00
joost
c700bfe172
LazDebuggerFp (pure): Implemented basic callstack
...
git-svn-id: trunk@44906 -
2014-05-04 12:08:50 +00:00
martin
6281c4adcf
FpDebug: started DisplayFormat
...
git-svn-id: trunk@44896 -
2014-05-03 00:14:44 +00:00
joost
e7779bd476
LazDebuggerFp (pure): Implemented step-into
...
git-svn-id: trunk@44862 -
2014-04-30 20:44:22 +00:00
martin
5b3787c8ca
FpDebugger (pure): mem leak with watches and locals
...
git-svn-id: trunk@44817 -
2014-04-26 16:11:02 +00:00
martin
6c8397b14e
FpDebugger (pure): Add Locals
...
git-svn-id: trunk@44816 -
2014-04-26 15:46:43 +00:00
joost
36e6e3a257
LazDebuggerFp (pure): Implemented step-out
...
git-svn-id: trunk@44804 -
2014-04-24 16:06:50 +00:00
joost
fc35f675bc
LazDebuggerFp (pure): Resolved problems with freeing breakpoints after the debuggee has ended.
...
git-svn-id: trunk@44771 -
2014-04-20 19:39:35 +00:00
joost
e1881c3f4c
LazDebuggerFp (pure): Implemented RunTo
...
git-svn-id: trunk@44768 -
2014-04-20 11:00:33 +00:00
joost
f96d70776c
LazDebuggerFp (pure): Revert of r44766 #5cbd21f02c, leads to problems on Windows
...
git-svn-id: trunk@44767 -
2014-04-20 10:54:50 +00:00
joost
5cbd21f02c
LazDebuggerFp (pure): The first time the debuggee is paused use the state dsInit instead of dsPause.
...
git-svn-id: trunk@44766 -
2014-04-20 10:33:15 +00:00
joost
f46dd07c9d
LazDebuggerFp (pure): Ability to set breakpoints while the debuggee is running
...
git-svn-id: trunk@44754 -
2014-04-17 21:25:10 +00:00
joost
a69e382e98
LazDebuggerFp (pure): Ability to pause debuggee (Windows)
...
git-svn-id: trunk@44749 -
2014-04-16 20:19:13 +00:00
joost
86f9de7b2a
LazDebuggerFp (pure):
...
* When a breakpoint is hit, pass the correct breakpoint to the TFpDebugDebugger.
* Solve an AV when the IDE exits
git-svn-id: trunk@44743 -
2014-04-16 09:15:10 +00:00
joost
ad9ca5afa5
LazDebuggerFp (pure): Fixed compilation after r44741 #a52defb4e1
...
git-svn-id: trunk@44742 -
2014-04-16 08:47:58 +00:00
joost
a52defb4e1
LazDebuggerFp (pure): Ability to add/delete/enable/disable breakpoints when the debuggee is not running or paused.
...
git-svn-id: trunk@44741 -
2014-04-16 08:05:58 +00:00
joost
acecc4a260
LazDebuggerFp (pure): Implemented step-over (next)
...
git-svn-id: trunk@44737 -
2014-04-15 19:22:01 +00:00
joost
22b80b3cf5
LazDebuggerFp (pure): StepIntoStr -> StepIntoInstr
...
git-svn-id: trunk@44728 -
2014-04-14 16:59:05 +00:00
joost
ae35141581
LazDebuggerFp (pure): Implemented StepOverInstr
...
git-svn-id: trunk@44725 -
2014-04-14 16:39:35 +00:00
joost
c6d5681d88
LazDebuggerFp (pure): Add statement-index and statement-count to disasembly-statements
...
git-svn-id: trunk@44712 -
2014-04-13 09:44:24 +00:00
joost
5ff4273da5
LazDebuggerFp (pure): Ability to stop debugging while the debuggee is paused.
...
git-svn-id: trunk@44705 -
2014-04-12 17:54:07 +00:00
joost
c7e539dc46
LazDebuggerFp (pure): Added reading of register support to TDbgMemReader.
...
git-svn-id: trunk@44689 -
2014-04-11 21:10:34 +00:00
joost
7d0288be35
LazDebuggerFp (pure): Set function result when requesting a dcRun command.
...
git-svn-id: trunk@44671 -
2014-04-10 20:13:07 +00:00