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
joost
52282ede03
LazDebuggerFp (pure): Implemented single-stepping (assembly level) and resetting of a breakpoint after it has been hit. (Windows)
...
git-svn-id: trunk@44670 -
2014-04-10 20:11:41 +00:00
joost
e39d578a44
LazDebuggerFp (pure): Added basic dissasembler
...
git-svn-id: trunk@44656 -
2014-04-08 22:05:18 +00:00
martin
e927ab95bc
LazDebuggerFp (pure): watches, use pretty printer
...
git-svn-id: trunk@44647 -
2014-04-08 14:01:03 +00:00
martin
15754fca9a
LazDebuggerFp (pure): add line info
...
git-svn-id: trunk@44646 -
2014-04-08 13:35:38 +00:00
joost
b889db60c8
LazDebuggerFp (pure): Use pretty-printer to show watch-values
...
git-svn-id: trunk@44645 -
2014-04-08 06:24:24 +00:00
joost
03287ea60f
LazDebuggerFp (pure): Fixed crash of the IDE on exit.
...
git-svn-id: trunk@44638 -
2014-04-07 17:12:21 +00:00
martin
c5160e7364
LazDebuggerFp (pure): do not crash range check
...
git-svn-id: trunk@44637 -
2014-04-07 17:10:36 +00:00
martin
8536f38448
LazDebuggerFp (pure): do not crash range check
...
git-svn-id: trunk@44635 -
2014-04-07 16:57:19 +00:00
joost
813e158c7d
FpDebug: Fixed compilation after recent changes and with fpc 2.6.2
...
git-svn-id: trunk@44632 -
2014-04-07 16:34:55 +00:00
joost
2a7b0ee37e
FpDebug:
...
* Implemented basic TFpDbgMemReader. It handles reading memory, reading register values is still not implemented
* Implemented very basic evaluation of watches.
git-svn-id: trunk@44630 -
2014-04-07 09:23:40 +00:00
joost
0eaa8042c5
FpDebug: Basic support for getting register-values.
...
git-svn-id: trunk@44626 -
2014-04-06 19:13:38 +00:00
joost
3e2a0dc513
FpDebug: Use one single worker-thread to to handle the debugging. On Windows, debug-events are only send to the thread that started the process.
...
git-svn-id: trunk@44619 -
2014-04-06 13:57:43 +00:00
martin
2ced428da5
LazDebuggerFp (pure): start watches framework
...
git-svn-id: trunk@44616 -
2014-04-05 23:35:41 +00:00
martin
be059632cf
LazDebuggerFp (pure): renamed package / moved location
...
git-svn-id: trunk@44614 -
2014-04-05 23:22:56 +00:00