Commit Graph

1537 Commits

Author SHA1 Message Date
Martin
b2c9e115f8 Debugger: Watches, do not evaluate watches that are collapsed. 2022-06-18 12:18:41 +02:00
Martin
2c0a47c295 Debugger: Watches, added Data-Address 2022-06-16 14:54:37 +02:00
Martin
02d88b37e8 Debugger: Watches, fixed displaying "len" prefix for arrays 2022-06-16 14:54:08 +02:00
Martin
e685106a2f Debugger: Watches, drag nested watches to un-nested. Create a new non-nested watch for the item. 2022-06-16 13:33:02 +02:00
Martin
f5984e214f Debugger: Watches, fix drag/drop new index 2022-06-16 12:33:08 +02:00
Martin
770127ba3a Debugger: Watches, "copy name" to take expression from sub-watches 2022-06-14 22:36:01 +02:00
Martin
d1ca85c248 Debugger: Watches, change how sub-watches(nested) are retrieved. 2022-06-14 22:36:01 +02:00
Martin
5b403633c6 Debugger: Watches dialog, allow re-ordering watches via drag and drop 2022-06-13 21:14:23 +02:00
Martin
71dd61cf02 Debugger: Inspect, fix incorrect nil check 2022-06-13 21:14:22 +02:00
Martin
83f94025e0 IDE: Debugger-dialogs, small optimization - do not trigger begin/end updates during destruction 2022-06-13 15:45:25 +02:00
Martin
75d3e86bb4 Debugger: Watches, fix double freeing of array nav frames 2022-06-13 15:44:27 +02:00
Martin
8c9d81c77f Debugger: Watches, fix "not showing" the last array element / fixed page size calculation / ensure to trigger evaluation, when node is expanded. 2022-06-13 15:43:42 +02:00
Martin
b814c37698 Debugger: Watches-Win, expand arrays to view entries 2022-06-12 22:14:18 +02:00
Martin
6deb576cda Debugger: Inspect-Win, context menu, "copy value" 2022-06-12 22:14:13 +02:00
Martin
626207d7ff Debugger: Inspect-Win, move array navigation to frame / add images 2022-06-12 22:14:13 +02:00
Martin
90453ce72b Debugger: Inspect-Win, implement paging for large arrays 2022-06-12 22:14:12 +02:00
Martin
0b051af509 IDE, FpDebug: evaluate more sub-items for Inspect Dialog. 2022-06-12 22:14:12 +02:00
Martin
f65d3b93ee Debugger: FpDebug, LazDebuggerIntf, Inspect-Win, basic distinction for proc/func/ref types. 2022-06-12 22:14:12 +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
363d0ac778 Debugger: Inspect-Win, power button 2022-06-12 22:14:11 +02:00
Martin
788c6b3eaa Debugger: Inspect-Win, update when thread/stack changes 2022-06-12 22:14:11 +02:00
Martin
18f0e7a5d3 Debugger, IDE: fix accessing uninitialized objects in debugger-dialogs 2022-06-09 17:46:25 +02:00
Martin
1bc575aeff Debugger: Inspect-Win, fix wheel scrolling 2022-06-09 17:46:24 +02:00
Martin
2a954dfb14 Debugger, Watches: Update for new LazDebuggerIntf 2022-06-09 17:46:24 +02:00
Martin
e7b23f98d0 LazDebuggerIntf, FpDebug: add array and structure types 2022-06-09 17:46:23 +02:00
Martin
43e385a90b IdeDebugger: Fix nil pointer access in "Fix Display-Format related conversion of numeric watches." 28ac5176a9 2022-05-17 15:20:59 +02:00
Martin
29b33ff629 Debugger: Watch-Dialog, fix "inspect/detail pane" for new WatchResult 2022-05-16 23:10:14 +02:00
Martin
1c70c5f1f8 Debugger: Watches, display "<disabled>" instead of last known value, if watch is disabled. 2022-04-22 12:04:02 +02:00
Martin
67921e73b6 Debugger: Inspect Window, fix some update issues. 2022-04-01 15:02:48 +02:00
Martin
76d9771c34 Debugger: More LazDebuggerIntf. Add/Improve numeric, pointer, float and string watches 2022-03-24 00:39:04 +01:00
Martin
8d3d08ae4c Debugger: Moved dsState to new unit 2022-03-24 00:39:03 +01:00
Pascal Riekenberg
e7da596402 Fixed AV when clicking "Delete all" in "Watches" 2022-02-28 10:32:23 +01:00
Sergey Larin
b2abbfa570 The Power button is activated in the Registers window.
The Power button is apparently previously deactivated by accident.
See f6896bbbb2
2022-02-19 19:36:20 +03:00
Martin
4ef4408529 Asm-Dialog: fix for 3.2.2 / Issue #39645 2022-02-11 02:10:54 +01:00
Martin
deea0b1e74 IDE, Debugger: Add "copy address" to assembler window 2022-02-10 23:30:28 +01:00
Martin
f895353287 Debugger: Fix Snapshots. 2022-02-01 17:18:20 +01:00
Martin
8e3c816593 Debugger, LazDebuggerIntf: Introduce SetNumValue and SetTypeName 2022-02-01 17:18:20 +01:00
Martin
947030b575 Debugger: fix watches to compile (without added defines) 2022-01-25 22:02:14 +01:00
Martin
601246dc25 Debugger, IDE: Add basic child watch support for structured values 2022-01-25 21:07:09 +01:00
Martin
fa2ec38d6a Debugger: Ide, Watches reduce notifications in Begin/EndUpdate 2022-01-25 21:06:19 +01:00
Martin
867d12b46d Debugger: Change Watches window to use VirtualTreeView 2022-01-25 21:06:19 +01:00
Martin
82d1e129a0 Debugger: move some units to IdeDebugger package 2022-01-10 14:08:38 +01:00
Martin
7642aaff78 Debugger: Change TWatchesMonitor/Supplier to use new Interface. 2022-01-10 14:08:37 +01:00
Martin
6f2adbbcb2 Debugger: Move TWatchValue to IdeDebugger 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
aa45837b87 IdeDebugger: New Package IdeDebugger. Move some classes from DebuggerIntf 2022-01-10 14:08:36 +01:00
Martin
7f9e1893d2 Rename TDBGEvaluateFlag to TWatcheEvaluateFlag 2022-01-10 14:08:35 +01:00
Martin
2b5f264ede IDE, Debugger-Intf: Clean-up, Move Locals list from DbgIntf to IDE 2022-01-09 01:13:55 +01:00
Martin
717ec4887d IDE, Debugger-Intf: Clean-up, Move Watches list from DbgIntf to IDE 2022-01-09 01:13:55 +01:00
Martin
baa12a8519 IDE: Fixed saving address Breakpoints in Project session 2021-12-08 17:31:20 +01: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
Martin
9e41ef446f Debugger: Fix "use instance class" button, in watches properties. 2021-11-27 23:04:27 +01:00
Juha
87927fa1ed Debugger: Improve layout of Console In/Output window. align splitter right. Issue #39452, patch by bald zhang. 2021-11-04 12:48:25 +02:00
Martin
edb26c9d33 IDE, Debugger: Fix History. Make sure callstack entries are requested.
Currently TDebugManager.DebuggerChangeState triggers 2 consecutive calls do DoDebuggerIdle, so Count may not be available and smrCallStack got set incorrectly.
2021-09-26 01:50:53 +02:00
Martin
05b1e7d170 Debugger: Asm Window, display offset for symbols without line-info / display symbol, if there was no data for previous line 2021-09-14 19:56:43 +02:00
Martin
b3d33a5195 Debugger: Add text-hint to assembler-dialog's address input field. Issue #39200 2021-08-01 21:43:15 +02:00
martin
76da38eb3a Debugger: Remove linefeeds for locals dialog. Issue #0039212
git-svn-id: trunk@65489 -
2021-07-22 00:29:28 +00: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
c942b091f8 InspectDlg: add button "add watch"
git-svn-id: trunk@65146 -
2021-05-28 17:35:20 +00:00
martin
30d807f741 InspectDlg: add error page / make forward/backward mouse buttons work
git-svn-id: trunk@65145 -
2021-05-28 17:21:55 +00:00
martin
65fe745451 Debugger, InspectDlg: fix showing strings under fpdebug / fix missing update, when dlg is re-opened with same expression.
git-svn-id: trunk@65118 -
2021-05-19 13:43:20 +00:00
maxim
6714c721d6 Debugger: wrap text in warning label on debugger class options page
git-svn-id: trunk@65003 -
2021-04-15 21:34:41 +00:00
martin
4177f7a5e0 IDE: Debugger Backend Options, prevent accidental class change, instead of using new backend.
git-svn-id: trunk@64996 -
2021-04-14 18:22:47 +00:00
martin
f2db095c73 Debugger: fix missing inherited call / for TRefCountedObject
git-svn-id: trunk@64885 -
2021-03-28 20:26:19 +00:00
wp
f69e733322 IDE: Fix icon in registersdlg not being scaled. Issue #37975.
git-svn-id: trunk@64713 -
2021-03-01 15:46:02 +00:00
mattias
f0061abfac IDE: less hints
git-svn-id: trunk@64564 -
2021-02-13 12:39:19 +00:00
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +00:00
juha
f76b3198f9 IDE: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64504 -
2021-02-08 19:09:20 +00:00
juha
20c5ac47c0 IDE: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64440 -
2021-01-29 19:59:04 +00:00
juha
2ba0ae90c4 IDE: Formatting and cleanup.
git-svn-id: trunk@64438 -
2021-01-29 19:58:57 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
3feac99f06 Designer, editor: Formatting.
git-svn-id: trunk@64302 -
2020-12-29 22:56:31 +00:00
mattias
5fe35be313 IDE: less hints
git-svn-id: trunk@64291 -
2020-12-28 16:59:41 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
4321fbf6e5 LazUtils: move procedure ReplaceSubstring from LazUTF8 to LazStringUtils.
git-svn-id: trunk@64081 -
2020-10-29 15:45:34 +00:00
martin
8f0ae93c99 Debugger: Fix DbgThread.TopFrame after copy
git-svn-id: trunk@64015 -
2020-10-15 18:37:34 +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
martin
54c7239f4f Debugger, RegisterDialog: replace Listview with Grid. Listview cuts item to 260 chars length max. Issue #37797
git-svn-id: trunk@63914 -
2020-09-23 21:11:50 +00:00
martin
8b307ca09c IDE, Debugger: fix crash in attach dialog
git-svn-id: trunk@63836 -
2020-08-26 19:15:03 +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
juha
7ed8696762 IDE: Tools/Options + startup configuration. Improve "make" location, expand paths before openfile dialogs etc. Issue #37386, patch from BrunoK.
git-svn-id: trunk@63654 -
2020-07-25 22:51:59 +00:00
martin
5e1702e798 IDE, Debugger: prevent empty watches from being added.
git-svn-id: trunk@63650 -
2020-07-24 22:39:08 +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
martin
c56749876a Debugger, IDE: Apply workaround for FPC issue #36775 (Internal Err). Lazarus Issue #37348 Patch from Sergey Larin
git-svn-id: trunk@63556 -
2020-07-14 13:14:42 +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
ac5700b816 IDE: Debugger Feedback dialog, add scrollbars. Issue #0031653
git-svn-id: trunk@63310 -
2020-06-06 01:37:38 +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
martin
a6dade4123 Debugger: Fix wrong index for linefeed detection, issue #0037167 / fix for r63132 #69cd1abf4a
git-svn-id: trunk@63279 -
2020-06-02 14:23:35 +00:00
martin
69cd1abf4a Debugger: Prevent console output from adding linefeeds. Issue #0036898
git-svn-id: trunk@63132 -
2020-05-10 15:57:42 +00:00
martin
f9c46caca4 Debugger, Exception Dlg: ensure break button focused by default
git-svn-id: trunk@63019 -
2020-04-19 12:41:55 +00:00
ondrej
2356d3b3d6 IDE debugger options: fix select button style
git-svn-id: trunk@62995 -
2020-04-16 07:06:55 +00:00
ondrej
fa95a279f6 IDE: Locals Dialog: support special chars in extracting raw strings (fpDebug)
git-svn-id: trunk@62994 -
2020-04-16 06:27:33 +00:00
ondrej
f5c6dd57a4 IDE: Locals Dialog: support fpDebug for extracting values
git-svn-id: trunk@62993 -
2020-04-16 06:16:03 +00:00
ondrej
608c82904f IDE: Locals Dialog: evaluate all: avoid searching items by caption
git-svn-id: trunk@62986 -
2020-04-15 10:54:21 +00:00
ondrej
cb317b9eb7 IDE: Locals Dialog: add shortcuts to "copy value" and "copy raw value" menu items
git-svn-id: trunk@62985 -
2020-04-15 10:47:54 +00:00
ondrej
e52c398bbc IDE: Locals Dialog: add evaluate all menu item
git-svn-id: trunk@62983 -
2020-04-15 10:44:35 +00:00
ondrej
8050fccc64 IDE: Locals Dialog: evaluate on copy to clipboard
git-svn-id: trunk@62982 -
2020-04-15 10:14:07 +00:00
mattias
6756799c39 IDE: less hints
git-svn-id: trunk@62603 -
2020-01-31 14:10:12 +00:00