Commit Graph

116 Commits

Author SHA1 Message Date
martin
bba050e333 FpDebug: Disable assert, until fixed
git-svn-id: trunk@59727 -
2018-12-04 17:12:05 +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
c54639d227 FpDebug: Allow to specify poNewConsole on windows
git-svn-id: trunk@59488 -
2018-11-07 23:13:11 +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
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
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
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
934d3bae21 fpdebug: fixed typo
git-svn-id: trunk@52909 -
2016-09-04 12:18:22 +00:00
martin
0edc9138ee fpdebugger: fix another Free instead of ReleaseRef
git-svn-id: trunk@51580 -
2016-02-10 18:42:51 +00:00
mattias
03c19a6402 fpdebug: fixed TDbgWinProcess.Continue if aThread invalid return false
git-svn-id: trunk@50885 -
2015-12-17 22:08:19 +00:00
mattias
3a33b42792 fpdebug: fixed mem leak
git-svn-id: trunk@50878 -
2015-12-17 21:57:07 +00:00
mattias
e7ce75b682 fpdebug: using Windows W functions
git-svn-id: trunk@50617 -
2015-12-04 19:02:39 +00:00
joost
cfa932781f FpDebugServer: Show function-parameters in callstack
git-svn-id: trunk@49237 -
2015-06-01 20:06:07 +00:00
joost
8d4b6344c0 FpDebugServer: Added basic "evaluate" command
git-svn-id: trunk@49166 -
2015-05-25 15:22:59 +00:00
martin
2c1cc645e3 fpdebug: added params to stack
git-svn-id: trunk@49123 -
2015-05-20 21:00:18 +00:00
martin
aa537ca865 fpdebug: mem leak
git-svn-id: trunk@49087 -
2015-05-18 20:11:46 +00:00
martin
ecf6e6a2a9 fpdebug: fix ebp register for stackframes
git-svn-id: trunk@49028 -
2015-05-15 15:03:04 +00:00
martin
44de4b4034 fpdebug: prevent crash if breakpoint at address already exists (can happen if line info is not read correct / generics?)
git-svn-id: trunk@49000 -
2015-05-12 20:02:18 +00:00
joost
8f9d2106db FpDebug: Re-structured the reading of debug-information from multiple files.
git-svn-id: trunk@48638 -
2015-04-05 20:08:17 +00:00
joost
0923ac9836 FpDebug: - Ability to disable usage of a pseudo-tty
- Ability to supply tty to bind standard input/output to

git-svn-id: trunk@48450 -
2015-03-22 01:08:00 +00:00
joost
f4818c2bfd FpDebug: Do not stop on lines with unknown line info (linenr=0)
git-svn-id: trunk@47222 -
2014-12-19 10:42:19 +00:00
joost
2725568fae FpDebug: Give a warning when the UUID of the dSym-bundle and the debuggee do not match
git-svn-id: trunk@46149 -
2014-09-07 11:25:34 +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
25ff00e44c FpDebugger (pure): Solved mem-leaks by releasing references to symbols found by FindSymbol
git-svn-id: trunk@46132 -
2014-09-05 16:49:36 +00:00
joost
851695cec4 FpDebugger (native): Fix for setting a breakpoint on the current execution-point
git-svn-id: trunk@46122 -
2014-09-03 20:16:53 +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
ddfbd6ade9 FpDebugger (pure): Fixed mem-leak bij freeing debug-threads
git-svn-id: trunk@46102 -
2014-09-01 16:26:08 +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
c43ebefc0f FpDebugger (pure): - Fixed problem with the recognition of a software breakpoint when a hardware breakpoint has been triggered on the same location
- Ability to check if and which hardware brakpoint has been triggered

git-svn-id: trunk@46006 -
2014-08-03 20:09:46 +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
113cc6e509 FpDebugger (pure): Show warning when there is no Dwarf-debug information available
git-svn-id: trunk@45843 -
2014-07-12 15:40:00 +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
8f433367c7 FpDebugger (pure): Use a TFPGObjectList to free the items. Fixes several mem-leaks
git-svn-id: trunk@45779 -
2014-07-04 20:11:51 +00:00
joost
982f401425 FpDebugger (pure): Cleanup unused variables
git-svn-id: trunk@45778 -
2014-07-04 20:00:08 +00:00
joost
64a67e7166 FpDebugger (pure): Fix for getting the frame- and instruction-pointer from the callstack on architectures other then i386
git-svn-id: trunk@45777 -
2014-07-04 19:26:26 +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
5f0402b4c2 FpDebug (pure): Added Linux-support
git-svn-id: trunk@45732 -
2014-06-29 20:55:54 +00:00
joost
4171928dd9 LazDebuggerFp (pure): Improved handling of step-over/into-line, when a library is loaded, a breakpoint is hit or when stepping out of a procedure.
git-svn-id: trunk@45595 -
2014-06-21 19:10:03 +00:00
joost
843f23eafd LazDebuggerFp (pure): Rewrote/refactored ResolveDebugEvent. As much as possible code moved from the os-specific classes to the general classes. Now TDbgProcess and TDbgThread only handle single-stepping and the handling of breakpoints and exceptions. Other commands (like step-line, step-into-line etc) are implemented as childs of TDbgControllerCmd. All specific handling is done in those classes.
git-svn-id: trunk@45590 -
2014-06-20 15:22:45 +00:00
joost
22e7389619 FpDebugger (pure): Refactored creation of new TDbgThreads
git-svn-id: trunk@45407 -
2014-06-08 18:59:06 +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
51c0c59b2b FpDebug (pure): Changes for cross-debugging
git-svn-id: trunk@45315 -
2014-06-03 06:15:08 +00:00
joost
f81a1f3ea6 LazDebuggerFp (pure): Read macho-64 binaries
git-svn-id: trunk@45173 -
2014-05-25 16:38:40 +00:00
joost
61775433a1 FpDebugger (pure): Pause on fpc software-breakpoints
git-svn-id: trunk@45146 -
2014-05-22 07:41:01 +00:00
joost
69a51cde62 FpDebug: Read the symbol-table on OS/X
git-svn-id: trunk@45038 -
2014-05-14 20:21:22 +00:00
martin
87080f5081 FpDebugger (pure): function name in stack
git-svn-id: trunk@44989 -
2014-05-10 02:01:14 +00:00