Commit Graph

212 Commits

Author SHA1 Message Date
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
martin
3dc25d4870 FpDebug: array / tests
git-svn-id: trunk@44556 -
2014-03-30 17:05:48 +00:00
martin
759c840e8a FpDebug: array / tests
git-svn-id: trunk@44554 -
2014-03-30 14:25:23 +00:00
joost
89248a3340 * Add ability to debug OS/X application-folders
git-svn-id: trunk@44552 -
2014-03-29 19:42:36 +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
martin
69670fab2a FpDebug: fix array typecasts / tests
git-svn-id: trunk@44546 -
2014-03-29 02:35:57 +00:00
martin
406a3736b2 FpDebug: fix struct members / array with multi dimension / tests
git-svn-id: trunk@44542 -
2014-03-28 20:15:42 +00:00
martin
b9283584dc FpDebug: fix array with struct / tests
git-svn-id: trunk@44531 -
2014-03-28 00:21:26 +00:00
martin
0f0ea7602d FpDebug: fix nil array / tests
git-svn-id: trunk@44527 -
2014-03-26 23:31:59 +00:00
martin
202388270c FpDebug: fix array index for static array
git-svn-id: trunk@44506 -
2014-03-24 13:36:10 +00:00
martin
7dff9e1f43 FpDebug: fix data address with "Ref" / tests
git-svn-id: trunk@44501 -
2014-03-23 21:22:15 +00:00
joost
3f36dd3c53 FpDbg: Implemented single-stepping on Darwin
git-svn-id: trunk@44500 -
2014-03-23 20:54:32 +00:00
martin
95834abad6 FpDebug: Spelling
git-svn-id: trunk@44496 -
2014-03-23 15:35:37 +00:00
joost
fa16dcdf52 FpDbg: Use dSYM bundle on Darwin to read Dwarf debug-info for executable
git-svn-id: trunk@44495 -
2014-03-23 15:05:31 +00:00
joost
d43aefb1a6 FpDbg: Fixed AV when the debugged application has been terminated
git-svn-id: trunk@44494 -
2014-03-23 14:07:28 +00:00
joost
203ab1fcd3 FpDbg: Show message when a breakpoint has been reached
git-svn-id: trunk@44493 -
2014-03-23 14:03:29 +00:00
joost
327140d6b8 FpDbg: Disasemble on non-Windows systems
git-svn-id: trunk@44492 -
2014-03-23 13:49:11 +00:00
joost
4613232478 FpDbg: Fixed problem with uninitialized variable
git-svn-id: trunk@44491 -
2014-03-23 13:41:15 +00:00
joost
434c770d67 FpDbg: Show correct value of eip after hitting a breakpoint
git-svn-id: trunk@44450 -
2014-03-16 22:11:19 +00:00
joost
042680da83 FpDbg: Basic breakpoint-handling on Darwin
git-svn-id: trunk@44448 -
2014-03-16 21:24:27 +00:00
martin
c1846572a1 FPDebug: mem leak
git-svn-id: trunk@44447 -
2014-03-16 18:42:28 +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
3c32f95e8f FpDbg: Removed unused unit from uses-section.
git-svn-id: trunk@44444 -
2014-03-16 12:45:20 +00:00
joost
935b4665cc FpDbg: Use generic way to get value of instruction pointer register
git-svn-id: trunk@44443 -
2014-03-16 11:26:47 +00:00
joost
459a825fc2 FpDbg: Read register-information on Darwin
git-svn-id: trunk@44442 -
2014-03-16 11:24:51 +00:00
joost
46c815a029 FpDbg: Added basic writememory command
git-svn-id: trunk@44441 -
2014-03-16 10:52:52 +00:00
joost
3ba842927f FpDbg: Show proper process- and thread-id on application start.
git-svn-id: trunk@44440 -
2014-03-16 10:46:10 +00:00
joost
5363754ee0 FpDbg: Missing part of r44438 #618ce88805.
git-svn-id: trunk@44439 -
2014-03-16 10:43:30 +00:00
joost
618ce88805 FpDbg: Placed some Windows-specific code between ifdef's to fix compilation on non-Windows systems.
git-svn-id: trunk@44438 -
2014-03-16 10:35:38 +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
e417930ab0 FpDbg: Removed unused windows from uses to fix compilation on non--Windows.
git-svn-id: trunk@44425 -
2014-03-13 21:42:27 +00:00
joost
ade43d3625 FpDbg: Removed unused windows from uses and added some units to fix compilation on Windows.
git-svn-id: trunk@44424 -
2014-03-13 21:34:27 +00:00
joost
c20f74439d * Implemented basic debug-support for Darwin
git-svn-id: trunk@44413 -
2014-03-12 21:35:06 +00:00
martin
e3b1d7060b FPDebug: fix finding parentclass data address
git-svn-id: trunk@44408 -
2014-03-11 22:16:38 +00:00
martin
635f14467e FPDebug: fix crash
git-svn-id: trunk@44406 -
2014-03-11 14:56:09 +00:00
martin
1b3ac9cf89 FPDebug: re-added address cache for members
git-svn-id: trunk@44402 -
2014-03-11 04:54:05 +00:00
martin
91b0b4fb35 FPDebug: fix crash in accessing member by name
git-svn-id: trunk@44391 -
2014-03-10 00:38:52 +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
2947aab047 FpDbg: Fixed compilation by adding FpdMemoryTools to uses
git-svn-id: trunk@44386 -
2014-03-09 11:07:52 +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
martin
32f60ff178 FPDebug: refactor (use value-object for data address of members)
git-svn-id: trunk@44382 -
2014-03-08 22:07:32 +00:00
joost
d23eff7453 * Removed bogus default-values for records. Those do not compile on fpc 2.7.1
git-svn-id: trunk@44351 -
2014-03-05 11:15:52 +00:00
joost
84c8a874db * Fixed compilation on non-Windows operation systems
git-svn-id: trunk@44350 -
2014-03-05 10:53:07 +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
zeljko
7767d83380 fpdebug: make fpdebug compileable for non mswindows targets.
git-svn-id: trunk@44314 -
2014-03-02 10:17:52 +00:00
martin
09f97f2afd FPDebug: refactor
git-svn-id: trunk@44312 -
2014-03-02 02:14:44 +00:00
martin
f2745c8af3 FPDebug: disable wrong caching / refactor
git-svn-id: trunk@44310 -
2014-03-01 19:38:20 +00:00