Commit Graph

57772 Commits

Author SHA1 Message Date
martin
48f15f849d FpDebug: Stepping commands, refactor HiddenBreakpoint:
- Move to base-class
- No need to check for other breakpoints (fpdebug can now handle several brk at same address)
- Stop step-out, if break failed to set

git-svn-id: trunk@61880 -
2019-09-14 14:33:09 +00:00
martin
1c5491c441 FpDebug: tests for step over
git-svn-id: trunk@61879 -
2019-09-14 14:33:07 +00:00
martin
c5fe550fbe FpDebug: Stepping commands, set Handled = Finished => so the loop will end if a step is done
git-svn-id: trunk@61878 -
2019-09-14 14:27:48 +00:00
martin
cc1055fbed FpDebug: Windows, fix stepping over (temp-removed) breakpoint.
- If another thread received a signal before the "step-finished signal" (e.g. thread created / pending sigs) then the temp-break was back in place and kept in place -> the break was hit again instead of stepping over it.
- If another thread exited (and the exit signal was received before the "step-finished signal" then no handling was done at all (no threads suspended / no temp remove breaks)

git-svn-id: trunk@61877 -
2019-09-14 14:27:47 +00:00
martin
fc1a436bed FpDebug: Linux, do not add any SigStop to deferred event list. (It going to be ignored as deInternalContinue anyway)
git-svn-id: trunk@61876 -
2019-09-14 14:27:45 +00:00
martin
4be5e94e3e FpDebug: Linux, do not modify running processes (in case of deInternalContinue, some processes may not be paused)
git-svn-id: trunk@61875 -
2019-09-14 14:27:44 +00:00
martin
c7fae55176 FpDebug: fix flag for breakpoint
git-svn-id: trunk@61874 -
2019-09-14 14:27:42 +00:00
martin
151412f007 FpDebug: improve stepping.
Refactor: Capture initial data before DoContinue
Fix/Improve: Only check and continue the thread that is stepped / Make HiddenBreakpoint hidden from the rest of the controller.

git-svn-id: trunk@61873 -
2019-09-14 14:27:41 +00:00
martin
f17b2727f4 FpDebug: re-arrange order of some classes
git-svn-id: trunk@61872 -
2019-09-14 14:27:39 +00:00
mattias
c1a8c22f07 codetools: sourcecloser: fixed cleaning up unit begin block
git-svn-id: trunk@61871 -
2019-09-13 19:23:20 +00:00
mattias
927af7729c codetools: omit end keyword of unit begin block
git-svn-id: trunk@61870 -
2019-09-13 19:22:42 +00:00
martin
85a2eb7321 FpDebug: fixed uninitialized var, could prevent debugger from stopping when app exits
git-svn-id: trunk@61869 -
2019-09-13 12:09:32 +00:00
balazs
55976aef82 Opkman: Remove flag pcfCompileDependenciesClean since it does not help with the "incompatible ppu" error.
git-svn-id: trunk@61868 -
2019-09-13 09:27:16 +00:00
martin
3fce95a1c2 FpDebug: Windows, debugln/dbgs include WOW64 names
git-svn-id: trunk@61867 -
2019-09-12 15:33:14 +00:00
martin
c9beb9dffe FpDebug: Windows, fixed Process.Continue with single step request
git-svn-id: trunk@61866 -
2019-09-12 15:33:12 +00:00
martin
cae3f56d05 FpDebug: fixed nil pointer crash when clearing breakpoints, after the debugged app exited.
git-svn-id: trunk@61865 -
2019-09-12 15:33:11 +00:00
martin
df6722dd5f FpDebug: Ensure that exit thread aborts any running command. (The command may change the event-enum-code in FPDEvent, and try to continue running)
git-svn-id: trunk@61864 -
2019-09-12 15:33:09 +00:00
martin
479abc2507 Put ecFindOverload into IFDEF, all the rest related to this command is also ifdefed
git-svn-id: trunk@61863 -
2019-09-11 14:23:15 +00:00
martin
25f44c7bb3 Put ecFindOverload into IFDEF, all the rest related to this command is also ifdefed
git-svn-id: trunk@61862 -
2019-09-11 14:19:55 +00:00
martin
10f69d1561 IDE, Keymap: Amend r61854 #83e546aa9f, if no breakpoint pre-exists, it will be created disabled. Issue #0036061
git-svn-id: trunk@61861 -
2019-09-11 12:49:37 +00:00
maxim
5fdbdc4c9a Opkman: regenerated translations and updated Russian translation
git-svn-id: trunk@61860 -
2019-09-10 23:21:27 +00:00
maxim
f2b6733b77 IDE: regenerated translations and updated Russian translation
git-svn-id: trunk@61859 -
2019-09-10 23:06:07 +00:00
martin
804da0aa30 LeakView: test for fix/improve pasting address only traces
git-svn-id: trunk@61857 -
2019-09-10 22:54:41 +00:00
martin
3d1601903e LeakView: fix/improve pasting address only traces
git-svn-id: trunk@61856 -
2019-09-10 22:54:39 +00:00
juha
b6ea318732 IDE: Show icons in the tree of key mapping options. Issue #35923. Patch from FTurtle.
git-svn-id: trunk@61855 -
2019-09-10 21:51:55 +00:00
martin
83e546aa9f IDE, Keymap: Add combo for enable/disable (toggle) breakpoint.
git-svn-id: trunk@61854 -
2019-09-10 18:52:48 +00:00
martin
63087a3084 FpDebug: Linux, ensure a breakpoint is reported once for each thread, if hit at the same time
git-svn-id: trunk@61853 -
2019-09-10 18:52:46 +00:00
martin
b93119b54e FpDebug: Test that each breakpoint is reported in each thread
git-svn-id: trunk@61852 -
2019-09-10 18:52:42 +00:00
martin
230c6983fb FpDebug: fix compile on linux
git-svn-id: trunk@61851 -
2019-09-10 13:33:39 +00:00
balazs
3049e3abb8 Opkman: Change warning message for untested packages.
git-svn-id: trunk@61850 -
2019-09-10 03:45:38 +00:00
martin
0b78b442ef FpDebug: Windows, Enabled test for WoW64
git-svn-id: trunk@61849 -
2019-09-10 01:40:51 +00:00
martin
1958b8edea FpDebug: Windows, Added WoW64
git-svn-id: trunk@61848 -
2019-09-10 01:40:49 +00:00
martin
a2978c370e FpDebug: Windows, remove unused code
git-svn-id: trunk@61847 -
2019-09-10 01:40:48 +00:00
martin
a3fb24b828 FpDebug: load some kernel functions dynamically, to avoid stopping the IDE from starting on pre-vista systems.
git-svn-id: trunk@61846 -
2019-09-09 21:13:57 +00:00
martin
304f6e7be9 FpDebug: Fix requesting process to pause, broken in r61840 #ece9967721
git-svn-id: trunk@61845 -
2019-09-08 23:33:01 +00:00
bart
a9d197d902 ShellCtrls: escape '[' in the mask in GetFilesInDir if a TMaskList is used (see comments).
git-svn-id: trunk@61844 -
2019-09-08 20:39:21 +00:00
bart
47072a2219 ShellCtrls: in GetFilesInDir remove trailing ';' from mask, so that a single mask ending in ';' does not need a TMaskList by default.
git-svn-id: trunk@61843 -
2019-09-08 20:35:57 +00:00
bart
b4fc5e71d5 ShellCtrls: publish property MaskCaseSensitivity of TShellListView (forgotten in r61825 #be4832ad66).
git-svn-id: trunk@61842 -
2019-09-08 20:16:40 +00:00
martin
623c18b832 FpDebug: comment out test for not yet implemented feature / clean up
git-svn-id: trunk@61841 -
2019-09-08 19:03:12 +00:00
martin
ece9967721 FpDebug: Keep the loop running, if internal stepping causes deBreakPoint without actually hitting a breakpoint. Required because now there can be several such singlesteps in one iteration of the loop.
git-svn-id: trunk@61840 -
2019-09-08 19:03:11 +00:00
martin
876682fc9d FpDebug: Handle hitting breakpoints, that have been removed while the event was waiting. Still need to re-execute the asm instruction that was hidden by int3
git-svn-id: trunk@61839 -
2019-09-08 19:03:09 +00:00
martin
2f812db331 FpDebug: Windows, suspend other threads while single stepping over a (temp-removed) breakpoints.
- Other threads could cause an event, before the thread does single-step. Then the breakpoint gets restored to early
- Other threads could run through the code, while the breakpoint is removed. They would not stop as they should.

git-svn-id: trunk@61838 -
2019-09-08 19:03:08 +00:00
martin
736f8b32fa LazDebuggerFp: fix debugln
git-svn-id: trunk@61837 -
2019-09-08 19:03:06 +00:00
martin
3254177a33 LazDebuggerFp: check correct thread (only top frame) when getting register values
git-svn-id: trunk@61836 -
2019-09-08 19:03:05 +00:00
martin
5b2858fe15 FpDebug: Test for breakpoints in threads
git-svn-id: trunk@61835 -
2019-09-08 19:03:03 +00:00
martin
966ecb9382 FpDebug: debugln for windows API events
git-svn-id: trunk@61834 -
2019-09-08 18:52:42 +00:00
martin
e6e7bf4355 FpDebug: Linux, improve "Stop all" loop
git-svn-id: trunk@61833 -
2019-09-08 18:52:41 +00:00
martin
595f8b9f3e FpDebug: Linux, refactor signal handling for signals that need to be postponed. Need to collect signals with no existing thread yet, as they will create that thread.
git-svn-id: trunk@61832 -
2019-09-08 18:52:39 +00:00
martin
aa85ec85ed FpDebug: Linux, removed unused code
git-svn-id: trunk@61831 -
2019-09-08 18:52:38 +00:00
martin
1ab353e555 FpDebug: Linux, reduce the amount of calls to temp-remove/restore breakpoints
git-svn-id: trunk@61830 -
2019-09-08 18:52:36 +00:00