Commit Graph

201 Commits

Author SHA1 Message Date
Martin
5132363518 FpDebug: Improve operations on sets. Allow set of char/num. 2024-10-19 09:29:24 +02:00
Martin
df69b2230f FpDebug: Pascalparser, keep symbol for repeated eval 2024-10-19 09:29:24 +02:00
Martin
2c5dd45f28 FpDebug: fix :flatten intrinsic, if first value is array. Don't add a data address without adding an item. 2024-10-09 09:39:58 +02:00
Martin
4de7b7574a FpDebug: fix crash with cached flatten data. Prevent caching any array slice, as it needs access to the expression. 2024-10-09 08:49:19 +02:00
Martin
2305e43d94 Revert "FpDebug: fix crash with cached flatten data. Prevent caching any array slice, as it needs access to the expression."
This reverts commit ed37058d3a.
2024-10-09 08:45:52 +02:00
Martin
ed37058d3a FpDebug: fix crash with cached flatten data. Prevent caching any array slice, as it needs access to the expression. 2024-10-09 00:46:27 +02:00
Martin
ca83c7dbca FpDebug: fix crash with cached flatten data. Values must not refer to expression (as expression is not part of the cache) 2024-10-09 00:46:27 +02:00
Martin
7e274a48e7 FpDebug: PascalParser, missing nil check 2024-10-08 11:48:31 +02:00
Martin
8f683d316c FpDebug: fix :flatten intrinsic, if first value is array. Don't add a data address without adding an item. 2024-10-08 10:43:54 +02:00
Martin
386bd90d76 FpDebug: fix :TryN intrinsic for pointer types 2024-10-07 21:58:49 +02:00
Martin
d0a3a004df FpDebug: implement 80 bit extended float (soft fpu) for cross debugging a win-32bit target from a 64bit IDE 2024-09-27 21:34:55 +02:00
Martin
59f3382161 FpDebug: Improve calling methods in watches, search SymbolTable for mangled method name to get address. 2024-08-11 21:34:40 +02:00
Martin
6123662232 FPDebug: small optimizations in dwarf search for name. Also skip enum-value names when looking for procedures or class-names. 2024-08-10 21:33:25 +02:00
Martin
68d14314b2 FpDebug: allow comparing (equal) pointer = number. 2024-08-02 22:43:29 +02:00
Martin
8af587ec77 FpDebug: array-slice intrinsic, add mapping terminator "!" 2024-08-02 22:08:16 +02:00
Martin
d61c5aaa38 FpDebug: array-slice intrinsic, fix order for nested slices 2024-07-31 22:56:16 +02:00
Martin
0c87fe9174 FpDebug: add intrinsic :obj() 2024-07-31 22:55:30 +02:00
Martin
658e54abc6 FpDebug: Pascal-parser, add mapping to flatten intrinsic. (new separator ":") 2024-07-31 22:11:26 +02:00
Martin
0b109f4e2d FpDebug: fixes for flatten-intrinsic 2024-07-28 21:39:07 +02:00
Martin
1c61ed510e FpDebug: flatten intrinsic, fix a nil pointer, fix array expand 2024-07-26 21:06:43 +02:00
Martin
d7d77c934e FpDebug: flatten intrinsic, add optional info about depth/fields for each element 2024-07-26 20:13:40 +02:00
Martin
a5486f6a71 FpDebug: new intrinsic i2o => show object that implements an interface. 2024-07-25 21:15:24 +02:00
Martin
da812e6d12 FpDebug: flatten intrinsic, fixes for use with slices (no cache) 2024-07-24 22:07:08 +02:00
Martin
9c975dcca8 FpDebug: flatten intrinsic, improve cache. Some values may be computed, the "key" string" does not account for that. 2024-07-24 22:07:08 +02:00
Martin
25c65cfd8b FpDebug: flatten intrinsic, option to handle arrays 2024-07-24 22:07:08 +02:00
Martin
c238c026d1 FpDebug: Change slice-operator. Add "disable" for terms that handle the slice themself (substring) 2024-07-24 22:07:08 +02:00
Martin
f6c415d958 FpDebug: FIX, Array-slices [n..m], check if they are in active part of condition. If not, don't create multiple results. 2024-07-24 19:24:24 +02:00
Martin
64b2dbfaea FpDebug: Array-slices [n..m], check if they are in active part of condition. If not, don't create multiple results. 2024-07-24 13:04:39 +02:00
Martin
c4deaeadcf FpDebug: Conditionals (?IF or Try/N) must flag variant returns in slices 2024-07-24 13:04:38 +02:00
Martin
cbfd80ce39 FpDebug: Add "switch" trinary-operator ... ? ... : ... 2024-07-23 19:40:32 +02:00
Martin
9a1ba57dc4 FpDebug: PascalParser, fix error checking for sub-expressions in brackets 2024-07-23 18:57:04 +02:00
Martin
8bb9d6eece FpDebug: PascalParser, optimize check for finding left-side of operator / clarify description 2024-07-23 18:56:26 +02:00
Martin
bafbb1e6fa FpDebug: fix "override" for GetFullText 2024-07-23 14:20:47 +02:00
Martin
7352ac6ad6 FpDebug: fixes for intrinsic Try/TryN, an invalid address is an error 2024-07-23 14:19:41 +02:00
Martin
f76614452c FpDebug: more intrinsics: Try, TryN, Ord, Log, Pi, Ln, Sqrt, Sin,Cos,Tan (includes part of issue #40839 ) 2024-07-22 23:44:38 +02:00
Martin
e98a5d2b44 FpDebug: Add cache for flatten intrinsic. / Ensure the same TFpDbgSimpleLocationContext object is used for each watch (on the Parser-expression), so it can act as key. 2024-07-22 13:55:55 +02:00
Martin
b61aabee0b FpDebug: add intrinsic :flatten() to walk object chains. 2024-07-22 13:43:43 +02:00
Martin
836e23ff27 FpDebug: fix new registers as watch result / get text, instead of read-int / add unique reg-nums 2024-07-11 12:21:40 +02:00
Martin
71b46c3d5f FpDebug: fix PascalParser, handle coma in sub-expression 2024-06-21 14:11:28 +02:00
Martin
50102fef2b FpDebug: PascalParser, change wrongly named "Context" to "Scope" 2024-05-25 12:51:25 +02:00
Martin
ccdcbb7bcf FpDebug: PascalParser, treat skInterface like skClass 2024-05-23 23:52:22 +02:00
ccrause
c327f03044 Move IsReadableLoc and IsReadableMem to MemModel. 2024-01-14 19:29:13 +01:00
Martin
5a1d892e69 FpDebug: prevent div-by-zero in the debugger (in the IDE) while evaluating watches. 2023-12-30 20:04:08 +01:00
Martin
5c6662f3e7 FpDebug: Add comparing enum-values in watches "enum1 >= enum2" 2023-12-30 20:03:06 +01:00
Martin
53474705c4 FpDebug: check error in expressions, when new dbg-values are created. 2023-12-02 16:33:37 +01:00
Martin
8208144cdf FpDebug: test ".." intrinsic operator / Fix error checking 2023-12-02 01:10:39 +01:00
Martin
81596aa0bf FpDebug: Fix ".." intrinsic, reset error from previous elements (deref nil sets error on Expression, rather than value) 2023-09-03 18:32:06 +02:00
Martin
0cd1374f3c FpDebug: Fix "=" and "<>" work with booleans 2023-07-23 21:06:15 +02:00
Martin
92b6ded394 Fix Compile / missing semicolon 2023-06-18 16:50:21 +02:00
Martin
aa389e7e47 FpDebug: fix constant char 'a' as array index. Amend Precedence for [n..m] 2023-06-18 16:03:12 +02:00