Commit Graph

79 Commits

Author SHA1 Message Date
joost
c20f70ce0c DebuggerIntf: In r49328 #ec422cddc6 the nestedprocvars modeswitch is used. Bug report #28306 shows that this does not work on win32-fpc 2.6.4. Probably a compiler bug. This patch avoids the use of nestedprocvars with fpc versions 2.x.x
git-svn-id: trunk@49396 -
2015-06-21 18:10:51 +00:00
joost
744810b288 FpDebugServer: Added registers command
git-svn-id: trunk@49379 -
2015-06-21 10:11:52 +00:00
joost
6d32f521e9 FpDebugServer: Added locals command
git-svn-id: trunk@49370 -
2015-06-19 20:23:19 +00:00
joost
dc5207067c FpDebugServer: Option to specify LinesBefore added to disassemble command
git-svn-id: trunk@49350 -
2015-06-16 15:08:18 +00:00
joost
a8ae389b6f FpDebugServer: Added disassemble command
git-svn-id: trunk@49287 -
2015-06-07 13:13:58 +00:00
joost
d5bcf79820 FpDebugServer: Fixed possible AV on commands that are executed without a process being running
git-svn-id: trunk@49269 -
2015-06-04 19:26:47 +00:00
joost
f504e38ee7 FpDebugServer: Added setconsoletty command.
git-svn-id: trunk@49268 -
2015-06-04 19:20:35 +00:00
joost
c88aaffaa0 FpDebugServer: Add console-message to json-event-messages.
git-svn-id: trunk@49267 -
2015-06-04 19:11:49 +00:00
joost
5960d41722 FpDebugServer: Re-direct console output
git-svn-id: trunk@49264 -
2015-06-04 17:47:09 +00:00
joost
cfa932781f FpDebugServer: Show function-parameters in callstack
git-svn-id: trunk@49237 -
2015-06-01 20:06:07 +00:00
joost
50fb4a0145 FpDebugServer: Clear the cached call-stack immediately after retrieval
git-svn-id: trunk@49225 -
2015-05-31 09:54:56 +00:00
joost
bda023911d FpDebugServer: Resolved some warnings
git-svn-id: trunk@49213 -
2015-05-29 17:45:22 +00:00
joost
a48ce84628 FpDebugServer: TFpDebugThreadStackTraceCommand added
git-svn-id: trunk@49212 -
2015-05-29 17:40:23 +00:00
joost
56ac4902c2 FpDebugServer: Fixed AV when a script contains an invalid command
git-svn-id: trunk@49178 -
2015-05-26 15:36:23 +00:00
joost
8d4b6344c0 FpDebugServer: Added basic "evaluate" command
git-svn-id: trunk@49166 -
2015-05-25 15:22:59 +00:00
joost
172dbb56d6 FpDebugServer: Added option to run all debug-commands in a (script) file
git-svn-id: trunk@49164 -
2015-05-25 08:37:43 +00:00
joost
3be8873d05 FpDebugServer: Replaced TThreadList in combination with a sleep with a TLazThreadedQueue to improve performance
git-svn-id: trunk@49153 -
2015-05-23 20:11:42 +00:00
joost
8b2acf39c1 FpDebugServer: Added --interactive option to return an easy parseable output with the tcp-port number.
git-svn-id: trunk@49134 -
2015-05-22 19:54:47 +00:00
joost
71acdc189d FpDebugServer: Added TFpDebugThreadQuitDebugServerCommand to quit application
git-svn-id: trunk@49061 -
2015-05-17 11:15:46 +00:00
joost
48e5ae3ac0 FpDebugServer:
- Added port and autoport options to specify which (range of) tcp/ip-ports to bind to
 - Send a ListenerMessage with the actual port the tcp-ip connection is listening to
 - Added TFpDebugThreadCommand.PreExecute to execute command outside of the debug-loop
 - Changed default tcp/ip port to 9159

git-svn-id: trunk@49060 -
2015-05-17 11:09:50 +00:00
joost
c789c208a0 FpDebugServer: Fixed mem-leak after GetPropList
git-svn-id: trunk@49058 -
2015-05-17 10:29:57 +00:00
joost
d01741250f FpDebugServer: Added options to enable/disable console- and tcp-operation
git-svn-id: trunk@49034 -
2015-05-15 19:04:16 +00:00
joost
46c90d4df2 FpDebugServer: Moved handling of the console to a separate thread.
git-svn-id: trunk@49032 -
2015-05-15 17:35:45 +00:00
joost
1c9d6064f2 FPDServer: Command added to remove breakpoint
git-svn-id: trunk@49017 -
2015-05-14 08:50:35 +00:00
joost
001be758a5 FPDServer: Stand-alone debugger that can be controlled from the console or remote through tcp/ip
git-svn-id: trunk@48991 -
2015-05-12 06:25:21 +00:00
joost
a479c66ebe fpdebug: Pass parameters to the debuggee in the console-version
git-svn-id: trunk@47519 -
2015-01-25 17:37:34 +00:00
joost
d28ad93b73 fpDebug: Revert of files accidentally committed in r46119 #afc3882ca7
git-svn-id: trunk@46120 -
2014-09-03 14:44:07 +00:00
joost
afc3882ca7 FpDebug: Disabled range-checking to fix range-check error. The fix in r46105 #bbf07c5bd6 leads to a datastructure which is too large for 32 bit
git-svn-id: trunk@46119 -
2014-09-03 14:39:44 +00:00
joost
f1bdd969f5 FpDebugger (pure, console): Fixed mem-leak on showing line-info
git-svn-id: trunk@46103 -
2014-09-01 16:38:41 +00:00
joost
3dd28b3d12 FpDebugger (pure): Select the right 32/64-bit assembler when cross-debugging
git-svn-id: trunk@45833 -
2014-07-11 19:58:35 +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
91d19d2124 FpDebug: Revert of accidentally committed files in r45775 #0fac0512c8
git-svn-id: trunk@45776 -
2014-07-04 19:20:17 +00:00
joost
0fac0512c8 FpDebug (pure): Fix for format-parameters in error-message
git-svn-id: trunk@45775 -
2014-07-04 19:13:35 +00:00
joost
147a8bf840 FpDebugger (console): Show registers
git-svn-id: trunk@45650 -
2014-06-24 20:03:28 +00:00
joost
eaef9905a5 FpDebugger (console): Several improvements on the output of the console-debugger
git-svn-id: trunk@45424 -
2014-06-09 09:35:28 +00:00
joost
f746dc6a42 FpDebugger (console): Use 'Debug' and 'Error' prefixes for dllError and dllDebug messages.
git-svn-id: trunk@45410 -
2014-06-08 22:33:32 +00:00
joost
2692d96325 FpDebug: Fixed AV in console-debugger due to an uninitialized variable
git-svn-id: trunk@45291 -
2014-06-01 18:29:42 +00:00
joost
d72d8c2db8 FpDebug: Partly revert of accidentally committed r45286 #0275eec89b. The part that hasn't been reverted is the removal of the dependency on LCLbase.
git-svn-id: trunk@45287 -
2014-06-01 16:41:11 +00:00
joost
0275eec89b git-svn-id: trunk@45286 - 2014-06-01 16:28:56 +00:00
joost
62bcb922cd FpDebugger (pure): x86_64-debugging on Win64. (Win32-win64 cross-debugging not possible on Windows. Win64-win32 is still not implemented)
git-svn-id: trunk@45284 -
2014-06-01 16:27:35 +00:00
joost
f31423f2de FpDebug: Search in symbol-table when setting breakpoints in console-debugger
git-svn-id: trunk@45161 -
2014-05-24 19:38:00 +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
4b1ac8df58 FpDebug: Implemented simple 'evaluation' command for command-line debugger example.
git-svn-id: trunk@44968 -
2014-05-07 16:17:48 +00:00
joost
c700bfe172 LazDebuggerFp (pure): Implemented basic callstack
git-svn-id: trunk@44906 -
2014-05-04 12:08:50 +00:00
joost
580048e97c FpDebug: Do not continue the process after an invalid command
git-svn-id: trunk@44863 -
2014-04-30 20:59:12 +00:00
joost
e7779bd476 LazDebuggerFp (pure): Implemented step-into
git-svn-id: trunk@44862 -
2014-04-30 20:44:22 +00:00
joost
36e6e3a257 LazDebuggerFp (pure): Implemented step-out
git-svn-id: trunk@44804 -
2014-04-24 16:06:50 +00:00
joost
f677379864 FpDebug: Added step-over and next commands to console-example (fpd)
git-svn-id: trunk@44798 -
2014-04-23 19:55:05 +00:00
joost
48c19eb556 FpDebug: Fixed compilation of the example console-debugger on Windows
git-svn-id: trunk@44794 -
2014-04-23 18:37:34 +00:00
joost
0a5d5ee491 FpDebug: Re-wrote the example console-debugger to let it use the new TDbgcontroller
git-svn-id: trunk@44792 -
2014-04-23 08:53:41 +00:00