Commit Graph

61745 Commits

Author SHA1 Message Date
Joost van der Sluis
de0974f29e FpDebug: Removed TDbgInstance.AddrOffset and other old attempts to relocate libraries properly 2021-12-08 00:43:17 +01:00
Martin
2ad53a8a51 IDE, project: save selected debugger to session, not lpi 2021-12-08 00:42:53 +01:00
Joost van der Sluis
f073c52428 FpDebug: Search for line-information not only within the executable, but also in the loaded libraries 2021-12-07 23:31:41 +01:00
Martin
9877946d86 FpDebug: reduced debugln 2021-12-07 23:21:42 +01:00
Martin
499026c519 FpDebug: Win64 SEH finally sub-routines, find the symbol for the procedure actually owning the finally block 2021-12-07 22:56:11 +01:00
Martin
54d2e1f159 FpDebug: "Run To" command to find the next line with code. (Step over to, does not yet) 2021-12-07 20:35:49 +01:00
Martin
df98551a5f FpDebug: Implement finding "address for line" before/after the requested line, if there is no entry for the request. 2021-12-07 20:35:49 +01:00
Martin
a691278256 LazDebuggerFp: Fix handling of internal SEH breakpoints. Do not remove breakpoints from outer frames, they may still be needed. 2021-12-07 19:59:30 +01:00
Martin
7534833eb6 FpDebug: Fixed passing dangling pointer. (Currently not used by LazDebuggerFp when doing deExitProcess) 2021-12-07 15:41:58 +01:00
Martin
4f94496f20 LazDebuggerFp: clear flags for set/unset internal breaks 2021-12-07 15:41:29 +01:00
Maxim Ganetsky
92260fbdea IDE: it is no longer needed to manually call translation callback for LCL package 2021-12-07 17:21:48 +03:00
Maxim Ganetsky
0c9041f474 IDE: it is no longer needed to manually call translation callbacks for 'static base' packages 2021-12-07 17:08:47 +03:00
Martin
ba63a18843 LazDebuggerFp: Fix removing temp break from "FBreakPoints[bplSehW64Except]". "Rdx" was a copy and paste error, once hit the address is "PC". 2021-12-07 12:50:08 +01:00
dsiders
70646c0d65 Docs: LazControls. Adds files needed to build CHM and HTML help for the package.
* lazcontrols-project.xml - the fpdoc project file for the LazControls package.
* lazcontrols.css - modified version of the fpdoc.css file.
* make-docs.bat - script to build CHM and HTML help formats on Windows.
* make-docs.sh - bash script to build CHM and HTML help formats on  UNIX-like environments.
2021-12-06 23:26:10 +00:00
dsiders
06d44e3815 Docs: LazControls. Updates topic content and See Also links. 2021-12-06 18:12:56 +00:00
mattias
6f8cfba2f9 IDE: translate required packages before calling Register 2021-12-06 17:37:15 +01:00
Martin
480b0fd02d LazDebuggerFp: Fixed step-out over finally. Do not stop in finally block. 2021-12-06 17:23:28 +01:00
Martin
28d1437b17 LazDebuggerFp: Added Comments for handling FpcSpecific data 2021-12-06 17:23:28 +01:00
Martin
9519a967ca SourceEditor: Fix to show bookmark pop-up menu using key-shortcut (without toolbar). Fixes regression from issue #35883 2021-12-06 11:42:34 +01:00
Martin
07e3817870 FpDebug: fix mem leak. Libraries were not freed on Unload. 2021-12-06 00:40:25 +01:00
Martin
1b1dd8f5fa LazDebuggerFp: Fixed race condition / double free. By the time TFpDebugExceptionStepping.Destroy is called, the debug process should be gone, and should have deleted all its breakpoint, including those in DoDbgStopped. Also this is usually called in the Process-Exit event. 2021-12-05 22:44:05 +01:00
Martin
7e06003d9d FpDebug: Fix race condition. After FQueue.RemoveThread(Self) the Queue (if waiting in TerminateAllThreads) can destroy itself. So it must no longer be accessed. 2021-12-05 22:44:04 +01:00
Martin
b3e07ba2b5 FpDebug: fix for logging 2021-12-05 22:44:04 +01:00
Joost van der Sluis
957f76456c FpDebug: Detect Dwarf-5 debug headers and skip unsupported sections 2021-12-05 18:26:09 +01:00
Joost van der Sluis
bc4718efae FpDebug: Ability to pass multiple libraries to OnLibrary(Un)LoadedEvent and detection of loading of libraries on Linux 2021-12-05 01:46:45 +01:00
Martin
47177f39ca Codetools: Testcase, add a few options for upcoming tests 2021-12-04 14:20:45 +01:00
mattias
de1209eefb codetools: started test for nested alias class 2021-12-04 08:43:25 +01:00
mattias
8f307159a6 codetools: fixed tests when no pas2js found 2021-12-03 12:05:40 +01:00
wp_xyz
2b2368cb83 IDE: Use radiobuttons in project buildmode menu (rather than checkboxes). Issue #39497, patch by Alexey Torgashin 2021-12-03 10:24:16 +01:00
Martin
217459a76f LazDebuggerFp: fixed a nil deref, DefaultContext needs CurrentThread 2021-12-01 20:39:53 +01:00
Martin
d5d01deed4 LazDebuggerTestBase: file forgotten in fcd147a0bf / remove design time from package 2021-12-01 19:58:07 +01:00
Martin
d8188bb780 FpDebug: Show "class var" if in current context (no class/instance-name prefix). 2021-12-01 19:55:39 +01:00
dsiders
aaee8f2881 Docs: LCL/forms. Updates topic content for TCustomFrame and TFrame. 2021-11-30 02:08:39 +00:00
dsiders
ae5437c873 Revert "Docs: LCL/forms. Adds topic for TCustomFrame.CreateParams added in 20c1e10a. Updates topic for TCustomFrame.CalculatePreferredSize."
This reverts commit 9c982571d9.
2021-11-29 21:34:55 +00:00
Ondrej Pokorny
8438ed9d98 Revert "LCL: Add TCustomFrame.CreateParams. Somehow fixes issue #25124."
This reverts commit 20c1e10aca.
2021-11-29 22:05:19 +01:00
dsiders
9c982571d9 Docs: LCL/forms. Adds topic for TCustomFrame.CreateParams added in 20c1e10a. Updates topic for TCustomFrame.CalculatePreferredSize. 2021-11-29 17:23:30 +00:00
Martin
5ec6966dc7 Debugger, Callstack: Do not display 0x0000 for frames not yet evaluated (leave blank instead). 2021-11-29 12:21:55 +01:00
Juha
28984a7cdf IDE: Revert experimental exceptions. 2021-11-29 11:27:42 +02:00
Juha
20c1e10aca LCL: Add TCustomFrame.CreateParams. Somehow fixes issue #25124. 2021-11-29 11:26:58 +02:00
wp_xyz
171f18dd75 LazControls/SpinEditExBase: Clearer defines for issue #39490 workaround. 2021-11-28 22:05:16 +01:00
Martin
a365f46170 FpDebug/FPD: Add FpDbgDwarfFreePascal - This activates the FPC specific dwarf interpretation. 2021-11-28 10:53:43 +01:00
Martin
b03c9ccbb7 Merge branch 'fpd1' into 'main'
Fix compilation of fpdebug\app\fpd

See merge request freepascal.org/lazarus/lazarus!49
2021-11-28 10:49:11 +01:00
dsiders
15e62fda4d Docs: LazControls/spinex. Adds topics for overloaded SameValue() methods in TCustomFloatSpinEditEx and TCustomSpinEditEx.
* Depends on 182cc8b8e6, 7f45938388, 5523c58bc9 0e5fdc884a, c301731931.
2021-11-28 04:45:51 +00:00
Juha
889f82bb4d IDE: DebugLn in TProject.UnitWithComponentClassName. For debugging issue #39488. 2021-11-28 00:22:27 +02:00
Juha
05382f4ddf IDE: Show Frame's contents in designer also when its component package is installed in palette. Issue #39488. 2021-11-28 00:22:27 +02:00
Juha
1c6662a681 IDE: Rename FindComponentClass -> SearchComponentClass to differentiate from other functions with the same name. 2021-11-28 00:22:27 +02:00
Juha
ba91c73a64 IdeIntf: Refactor and simplify TSimpleWindowLayoutList.ApplyAndShow. 2021-11-28 00:22:27 +02:00
Juha
0a679e84b2 Packager: Add a check for DefineTemplates. Crashed when an old package with the same name was replaced. 2021-11-28 00:22:27 +02:00
Martin
9e41ef446f Debugger: Fix "use instance class" button, in watches properties. 2021-11-27 23:04:27 +01:00
Martin
79d6afe4b6 JitClass: Add configurabel JitProperty class. Add FindPropertyRecursive. 2021-11-27 23:03:31 +01:00