Commit Graph

467 Commits

Author SHA1 Message Date
Martin
478b6dcf4b Debugger: fix asm-stepping bring source-edit to front (work around) Issue #40415 2023-08-06 08:58:58 +02:00
Martin
d3c5d91ce9 Debugger: Implement changing breakpoint location (line num in brk-property dialog).
- Update source editor marks
- Update FpDebug
2023-07-27 17:41:46 +02:00
Juha
cc4760393b Reserve "On..." prefix for events and name functions differently. 2023-07-25 11:07:57 +03:00
Juha
64391dbd96 LazBuild: Remove IdeDebugger dependency. Split debugger related parts of TProject to new unit ProjectDebugLink. 2023-07-25 11:07:47 +03:00
Martin
320cae4037 IDE: Fix advanced mouse opts for breakpoint toggling / enabling 2023-07-13 18:50:31 +02:00
Martin
a2d87ebd69 Ide, Debugger: Check if debugger action is available if requested by key-stroke (don't send step-over to a not yet running FpDebug) 2023-06-20 17:29:26 +02:00
Martin
76d90cf133 Ide: moved "Debug Inspect" to View > Debug Windows 2023-06-11 21:10:45 +02:00
Juha
eac9c6e5c6 IdeConfig: Remove LCL dependency from IdeConfig package. Add comments in uses sections, helps locate dependencies. 2023-06-11 20:34:36 +03:00
Martin
3c8ad48f60 Debugger: Allow project-local converters in watch-properties 2023-04-18 12:18:08 +02:00
Martin
35dba2ac2f IDE, Debug-Options: Add "RunWithoutDebug" checkbox. In release-mode the default of the "run" menu-item changes to "not using the debugger" 2023-03-24 11:41:27 +01:00
mattias
e0316329e4 IDE: clean up 2023-03-19 00:35:12 +01:00
Martin
a1b61028fa IDE: Run/Debug, search for LaunchApp and HostApp in Project-dir and %Path. issue #32331
- Search in %PATH was done by "run without debug", but not by debug.
- Checking for an exe relative to the project-dir was added for both.
- A plain file-name will be first checked in the project-dir, and after that in %PATH
2023-02-03 17:25:12 +01:00
Martin
66bc8c9281 IDE: Run/Debug, refactored getting the "working directory" for the project. Related to issue #32331
- "Debug" and "Run without Debug" now use the same steps to get the "working directory":
1: BuildMode.RunParams "working directory" set by user (New, this can now be relative to project dir)
2: Project Dir, if not virtual
3: Directory from Host-App (RunParams), or if (and only if) Host-App is empty from Project.exe
(If host app is in %PATH, then there is no "working directory")

1 and 2 are as before.
3 was used before for "debugging", but "run without debug" did use: "Launch-App", "Host-App", Project.exe
2023-02-03 17:25:12 +01:00
Martin
048aa12384 IDE: Move units to IdeDebugger package. 2023-01-26 18:26:31 +01:00
Martin
2a67f6ec76 Renamed LazarusCommonStrConst to IdeIntfStrConsts 2023-01-25 16:51:48 +01:00
Martin
574ccd903a IdeDebugger: Move units from Ide to IdeDebugger. (BreakPropertyDlgGroups, CallStack, DebuggerAttachDialog, DebuggerOutput, ExceptDlg, FeedbackDlg, HistoryDlg, LocalsDlg, PseudoTerminal, RegisterDlg, ThreadDlg, WatchesDlg) 2023-01-10 17:04:54 +01:00
Martin
739b542449 IDEIntf: rename some ResourceString to match the common naming scheme 2023-01-10 17:00:42 +01:00
Martin
2d2e5431aa IDE: moved some of the most common ResourceString to IdeIntf, so other IDE packages can use them (instead of duplicating them) 2023-01-10 17:00:41 +01:00
Martin
0d3a7504d7 IdeDebugger: Move unit DebuggerDlg from Ide to IdeDebugger. 2023-01-09 23:05:16 +01:00
Martin
e22f69d623 IdeDebugger: Move unit BaseDebugManager from Ide to IdeDebugger. 2023-01-09 23:05:15 +01:00
Martin
dccfe2257d IDE, Debugger: Updated "debugger error" msg. 2022-12-02 02:27:49 +01:00
Martin
b41163de42 Debugger: "Value Converter Conf" in "Project Options" 2022-08-28 21:00:28 +02:00
Martin
eea8b2cd21 IDE, Debugger, Project: Allow setting up project specific debugger backends 2022-08-28 21:00:28 +02:00
Martin
847436a56f Debugger: Inspect/Evaluate windows, when opened from watches or each-other transfer settings for eval-flags and converter 2022-08-05 17:33:29 +02:00
Martin
bca093c6ec Debugger: redesign Inspect and Evaluate-Modify windows 2022-08-01 18:41:17 +02:00
Martin
bf6baffcfe Debugger: Editor-Hint for debug-value, use Watch object to retrieve value via new API. Enables FpDebug-value-converter 2022-06-30 16:54:47 +02:00
Martin
e5e1ea1366 Debugger: fix Inspect-Win, update when user modifies value 2022-06-12 22:14:11 +02:00
Martin
54bca1219b Debugger: Inspect-Win, use Watch object to get data / Display arrays with FpDebug 2022-06-12 22:14:11 +02:00
Martin
8d3d08ae4c Debugger: Moved dsState to new unit 2022-03-24 00:39:03 +01:00
Martin
7642aaff78 Debugger: Change TWatchesMonitor/Supplier to use new Interface. 2022-01-10 14:08:37 +01:00
Martin
d1ac568e96 Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
Martin
7f9e1893d2 Rename TDBGEvaluateFlag to TWatcheEvaluateFlag 2022-01-10 14:08:35 +01:00
martin
a3bd018a86 Debugger, IDE: Watches, add "Allow function calls" option to IDE / Add "Auto set class from instance"
git-svn-id: trunk@65152 -
2021-05-29 22:51:13 +00:00
martin
7ab3261e30 Debugger: Notify if debugged app, exits with error code. Issue #37861
git-svn-id: trunk@63950 -
2020-10-04 14:24:46 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
martin
5ce498b490 IDE, Debugger: Allow "Add Watch" as button on the editor toolbar
git-svn-id: trunk@63653 -
2020-07-25 10:21:55 +00:00
martin
b208794e24 IDE, Debugger: reduce calls to Update when adding a watch.
git-svn-id: trunk@63649 -
2020-07-24 22:39:06 +00:00
mattias
a028a923fa IDE: debug launching application
git-svn-id: trunk@63588 -
2020-07-17 08:58:15 +00:00
martin
99302de6f6 IDE: enable (debug-)Stop button while building.
git-svn-id: trunk@63530 -
2020-07-08 13:28:34 +00:00
martin
26272363cd IDE, Debugger: fix r63306 #06b1a964b6 "Fix Run menu, to show correct available debugger commands" -- Do not init the debugger. => Review the entire calculation of available actions in the Run menu. Issue #0037183
git-svn-id: trunk@63317 -
2020-06-06 16:45:12 +00:00
martin
06b1a964b6 IDE: Fix Run menu, to show correct available debugger commands
git-svn-id: trunk@63306 -
2020-06-06 00:53:49 +00:00
martin
5bcddd28fb IDE, Debugger: Add real "Run-To"
git-svn-id: trunk@63303 -
2020-06-06 00:53:44 +00:00
martin
de80bde641 IDE: rename "run to cursor" to "step to cursor" - reflect what it really does
git-svn-id: trunk@63302 -
2020-06-06 00:53:39 +00:00
juha
4fe3c9d4be IDE: Simplify and reuse function GetCommand in DebugManager.
git-svn-id: trunk@62727 -
2020-03-09 21:28:53 +00:00
ondrej
922e731fd5 IDE: Project: LPI&LPS debugging info - write new lists. Issue #22752
git-svn-id: trunk@62247 -
2019-11-16 18:23:54 +00:00
martin
cf8b7f94fe IDE, Debugger: Set break/watchpoint after properties are confirmed. This used to set the watchpoint before the user confirmed, and then updated it.
git-svn-id: trunk@61964 -
2019-10-03 18:38:05 +00:00
martin
5e7fd9a4fa Debugger: Allow project to override selected debugger.
git-svn-id: trunk@61673 -
2019-08-06 15:38:36 +00:00
martin
358ce23913 Debugger-Config: Allow "named" configs for the debugger.
git-svn-id: trunk@61548 -
2019-07-08 23:01:18 +00:00
martin
67f6274cad LazDebuggerGdbmi: Improve "Reset Debugger". Ensure timeouts, if certain options lead to endless waiting.
git-svn-id: trunk@61068 -
2019-04-28 13:31:45 +00:00
mattias
8890612608 IDE: invalidate filestate cache after opendialog, because it can change files without switching to another application
git-svn-id: trunk@60619 -
2019-03-08 08:50:57 +00:00