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
martin
3a712955ca
FpDebugger (pure): eval watches for selected stackframe
...
git-svn-id: trunk@44987 -
2014-05-10 00:44:49 +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
joost
c700bfe172
LazDebuggerFp (pure): Implemented basic callstack
...
git-svn-id: trunk@44906 -
2014-05-04 12:08:50 +00:00
joost
e7779bd476
LazDebuggerFp (pure): Implemented step-into
...
git-svn-id: trunk@44862 -
2014-04-30 20:44:22 +00:00
martin
1af2bd99a6
FpDebug: fix compile / range check for const
...
git-svn-id: trunk@44853 -
2014-04-30 13:18:53 +00:00
joost
36e6e3a257
LazDebuggerFp (pure): Implemented step-out
...
git-svn-id: trunk@44804 -
2014-04-24 16:06:50 +00:00
joost
056bfcfe4b
LazDebuggerFp (pure): When stepping(over) out of a procedure, continue until a new sourceline has been reached.
...
git-svn-id: trunk@44799 -
2014-04-23 21:00:42 +00:00
joost
a8ea2fde98
LazDebuggerFp (pure): Use the ProcessID to detect if a process is finished, because the Handle is not used on OS/X
...
git-svn-id: trunk@44790 -
2014-04-23 07:21:22 +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
87bfbf6372
LazDebuggerFp (pure): Removed unused FBreakList
...
git-svn-id: trunk@44770 -
2014-04-20 17:59:44 +00:00
joost
e1881c3f4c
LazDebuggerFp (pure): Implemented RunTo
...
git-svn-id: trunk@44768 -
2014-04-20 11:00:33 +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
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
ae35141581
LazDebuggerFp (pure): Implemented StepOverInstr
...
git-svn-id: trunk@44725 -
2014-04-14 16:39:35 +00:00
joost
8f5701ed19
LazDebuggerFp (pure): Hide software breakpoints (int3) on reading data
...
git-svn-id: trunk@44704 -
2014-04-12 16:24:46 +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
67f3dec675
LazDebuggerFp (pure): Removed obsolete TFPDState
...
git-svn-id: trunk@44673 -
2014-04-11 09:25:29 +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
499c7ed593
LazDebuggerFp (pure): Show register-values on OS/X
...
git-svn-id: trunk@44658 -
2014-04-09 08:25:46 +00:00
martin
15754fca9a
LazDebuggerFp (pure): add line info
...
git-svn-id: trunk@44646 -
2014-04-08 13:35:38 +00:00
martin
f3e4622b30
LazDebuggerFp (pure): do not crash with -gtt
...
git-svn-id: trunk@44634 -
2014-04-07 16:49:40 +00:00
joost
ae8c35b16e
FpDebug: Removed old, invalid assertion whose meaning is lost in time...
...
git-svn-id: trunk@44633 -
2014-04-07 16:40:09 +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
martin
5df27a9624
FpDebug: renamed dwarf classes, more unified names
...
git-svn-id: trunk@44624 -
2014-04-06 16:27:37 +00:00
joost
1c21a9a593
FpDebug: REmoved unused BaseAddr and StartAdd for threads.
...
git-svn-id: trunk@44622 -
2014-04-06 14:52:28 +00:00
joost
6a13624f76
* Use TProcess to start debuggee, since it handles stuff like stdin/out, environment variables and such
...
* Ability to kill debuggee
* Resolve location of dSym bundle of application-bundles properly
git-svn-id: trunk@44560 -
2014-03-30 20:28:32 +00:00
joost
2cb000b1be
* Added OnLog event to be able to log to something else then stdout
...
git-svn-id: trunk@44551 -
2014-03-29 19:27:11 +00:00
joost
3f36dd3c53
FpDbg: Implemented single-stepping on Darwin
...
git-svn-id: trunk@44500 -
2014-03-23 20:54:32 +00:00
joost
c8e074d4ef
FpDbg: Refactored handling of breakpoints, so that parts of the code could be used too on other platforms then Windows
...
FpDbg: Set the FMainThread variable after the main-thread is created, not before. This fixes the handling of breakpoints.
git-svn-id: trunk@44445 -
2014-03-16 12:50:45 +00:00
joost
6974915b8b
FpDbg: Moved Windows-specific code to terminate the process to fpdbgwinclasses.pas
...
git-svn-id: trunk@44437 -
2014-03-16 10:33:04 +00:00
joost
eba8717294
* Moved Windows-specific code to read the instruction-pointer and base stack pointer register values to fpdbgwinclasses.pas
...
git-svn-id: trunk@44436 -
2014-03-16 10:18:06 +00:00
joost
c20f74439d
* Implemented basic debug-support for Darwin
...
git-svn-id: trunk@44413 -
2014-03-12 21:35:06 +00:00
joost
607af213ac
FpDbg: Refactored code to get module-name, to avoid double code for processes and libraries.
...
git-svn-id: trunk@44387 -
2014-03-09 12:00:55 +00:00
joost
4b3ae8e4bd
* Moved more Windows-specific code from fpdloop to fpdbgwinclasses.
...
git-svn-id: trunk@44385 -
2014-03-09 10:22:34 +00:00
joost
d8b00dc8d0
* Fixed an exception on writing a message that setting a breakpoint failed.
...
git-svn-id: trunk@44384 -
2014-03-09 10:01:32 +00:00
joost
1d789ef144
* Re factorization to move windows-specific code from fpdcommand.pas to fpdbgwinclasses.pas
...
git-svn-id: trunk@44349 -
2014-03-05 10:13:31 +00:00
martin
483139f4fb
FPDebug: refactor, renamed some classes
...
git-svn-id: trunk@44330 -
2014-03-02 21:58:15 +00:00