Martin
0bfb65de03
LazDebuggerFp: Cleanup compiler hints
...
(cherry picked from commit a1c6e559e1
)
2021-12-16 09:54:08 +01:00
Martin
777aac6151
FpDebug: PascalParser, Fix parsing float on localized PC.
...
(cherry picked from commit a4b23e0b2a
)
2021-12-16 09:54:07 +01:00
Martin
87bbace028
FpDebug: Fix stepping does not stop at next line (seen on Win7 only / Maybe issue #39383 ).
...
When checking if a step-in/over returned from going over a called proc (using the hidden-break), do not trust the BasePointer.
(cherry picked from commit 5c22ff5ad2
)
2021-12-10 00:31:19 +01:00
Martin
499add13ab
FpDebug: PascalParser, fixed parsing float. In Pascal the comma is a list-separator. It can not be decimal-point. So using the locale "DecimalSeparor" will get wrong results.
2021-12-09 19:34:57 +01:00
Martin
fe2160cd1b
LazDebuggerFp: Fix Stepping and threads / Ensure loop exits with correct EventType
...
(cherry picked from commit e618b09804
)
2021-12-09 18:59:02 +01:00
Martin
7d1223ef96
FpDebug: reduced debugln
...
(cherry picked from commit 9877946d86
)
2021-12-09 18:49:11 +01:00
Martin
9979693585
FpDebug: Fixed passing dangling pointer. (Currently not used by LazDebuggerFp when doing deExitProcess)
...
(cherry picked from commit 7534833eb6
)
2021-12-09 18:49:11 +01:00
Martin
b834fe113e
FpDebug: Fix race condition. After FQueue.RemoveThread(Self) the Queue (if waiting in TerminateAllThreads) can destroy itself. So it must no longer be accessed.
...
(cherry picked from commit 7e06003d9d
)
2021-12-05 22:47:17 +01:00
Martin
11ccb9ed06
FpDebug: fix for logging
...
(cherry picked from commit b3e07ba2b5
)
2021-12-05 22:46:34 +01:00
Martin
340f6f1502
FpDebug: Show "class var" if in current context (no class/instance-name prefix).
...
(cherry picked from commit d8188bb780
)
2021-12-01 22:00:09 +01:00
Martin
eba951e985
FpDebug: Dwarf location-parser, allow to deref a register-location. See merge-request !28
...
(cherry picked from commit 0a7f1b1da9
)
2021-11-28 12:06:25 +01:00
Martin
05a6267205
FpDebug: refactor external debug info / Enable for Linux and Windows
...
(cherry picked from commit 1c87dc96eb
)
2021-11-28 12:04:20 +01:00
martin
36f418134e
FpDebug: Start external dbg file support for Win
...
git-svn-id: trunk@65390 -
(cherry picked from commit 686e81d6e3
)
2021-11-28 12:02:28 +01:00
Martin
22a136c663
FpDebug/FPD: Add FpDbgDwarfFreePascal - This activates the FPC specific dwarf interpretation.
...
(cherry picked from commit a365f46170
)
2021-11-28 10:57:03 +01:00
Martin
98905fa395
Merge branch 'fpd1' into 'main'
...
Fix compilation of fpdebug\app\fpd
See merge request freepascal.org/lazarus/lazarus!49
(cherry picked from commit b03c9ccbb7
)
2021-11-28 10:56:25 +01:00
Maxim Ganetsky
cbc6b141e2
Translations: French translation update by Gilles Vasseur, issue #39487
...
(cherry picked from commit 738e48c6b7
)
2021-11-26 03:58:45 +03:00
Sergey Larin
60f2d501c0
FpDebug: Fixed incorrect new length of FLocation array in TFpInternalBreakpoint.RemoveAddress
...
fix c1611124b4
(cherry picked from commit 16218b91f9
)
2021-10-21 15:47:09 +02:00
Martin
22fa14ce16
Merge branch 'strrec-cpu64-align-fpdbg' into 'main'
...
FpDebug takes into account that FPC 3.3.1 changed offset of the CodePage field in TAnsiRec
See merge request freepascal.org/lazarus/lazarus!25
(cherry picked from commit dd31014237
)
2021-10-17 15:19:30 +02:00
Martin
3c8bd7451d
Revert "Disable PEEPHOLE opt in fpc 3.2.0 to fpc 3.2.3 => there is a bug that can cause crashed in fpdebug/lazutils"
...
This reverts commit 6d1185d76b
.
2021-10-16 13:42:24 +02:00
Martin
6d1185d76b
Disable PEEPHOLE opt in fpc 3.2.0 to fpc 3.2.3 => there is a bug that can cause crashed in fpdebug/lazutils
2021-10-16 11:44:22 +02:00
Martin
cff1d53e40
FpDebug: more asserts for correct thread usage
...
(cherry picked from commit 6fc5c2fcdd
)
2021-10-13 21:50:18 +02:00
Martin
ca16e51245
FpDebug: Fixed mem leak.
...
(cherry picked from commit 0a2bc87781
)
2021-09-26 16:03:00 +02:00
Martin
38855733be
FpDebug: Add asserts
...
(cherry picked from commit f47220cc47
)
2021-09-26 02:12:18 +02:00
Maxim Ganetsky
eb65959aed
FPDebug: fixed compilation on Windows with FPC trunk, patch by Rika, closes issue #39349
...
(cherry picked from commit 91f499b984
)
2021-09-02 01:27:59 +03:00
martin
232bb28979
Merged revision(s) 65488 #e61ab5d73d from trunk:
...
FpDebug: remove double line break from formatted watches.
........
git-svn-id: branches/fixes_2_2@65492 -
2021-07-22 09:24:22 +00:00
martin
3864f9f3b6
Merged revision(s) 65475 #b5bf7de6f9 from trunk:
...
FpDebug, Windows: Forward OutputDebugString to IDE.
........
git-svn-id: branches/fixes_2_2@65476 -
2021-07-19 18:19:35 +00:00
maxim
0a415d125a
Merged revision(s) 65372 #0711ae584c from trunk:
...
Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #39152
........
git-svn-id: branches/fixes_2_2@65373 -
2021-07-04 21:58:21 +00:00
martin
fcf96d907a
Merged revision(s) 65291 #0244c95a33 from trunk:
...
FpDebug: Dynamically load DebugBreakProcess
........
git-svn-id: branches/fixes_2_2@65292 -
2021-06-22 15:15:28 +00:00
mattias
0c34da7703
set fixes version to 2.2.0RC1
...
git-svn-id: branches/fixes_2_2@65240 -
2021-06-15 13:51:24 +00:00
martin
a9bdfda626
FpDebug: version 1.0
...
git-svn-id: trunk@65231 -
2021-06-14 17:00:52 +00:00
martin
caa6a14163
FpDebug: "waitable section" / Protect some code from being entered twice
...
git-svn-id: trunk@65229 -
2021-06-14 08:12:49 +00:00
martin
6661f86edd
Debugger: allow to force lazloggerbase via define
...
git-svn-id: trunk@65227 -
2021-06-14 07:30:45 +00:00
martin
3deb9a41fe
FpDebug: Improve target-mem read/write on Linux / Allow bigger writes
...
git-svn-id: trunk@65225 -
2021-06-14 07:30:37 +00:00
martin
699930263c
DwarfViewer: fix compile
...
git-svn-id: trunk@65224 -
2021-06-14 07:30:35 +00:00
martin
e94b71c589
FpDebug: Allow multiple threads to call TFpThreadWorkerItem.WaitForFinish
...
git-svn-id: trunk@65187 -
2021-06-08 20:58:38 +00:00
martin
a3a0dd7e08
FpDebug: fix WITH_REFCOUNT_DEBUG for unitname.var
...
git-svn-id: trunk@65185 -
2021-06-08 19:32:26 +00:00
martin
48701f5d93
FpDebug: Improve encapsulation
...
git-svn-id: trunk@65183 -
2021-06-08 19:32:22 +00:00
martin
3644f4a2e2
FpDebug: Fix race condition. FScope accesses FScopeList which is changed by thread (dyn array re-alloc by SetLength)
...
git-svn-id: trunk@65172 -
2021-06-04 01:11:22 +00:00
martin
51ac1efe7a
FpDebug: change locking order. Avoid potential dead lock.
...
git-svn-id: trunk@65171 -
2021-06-04 01:11:20 +00:00
martin
561099dc46
FpDebug: Allow watches with unit prefix: unit1.MyValue
...
git-svn-id: trunk@65168 -
2021-06-03 16:42:41 +00:00
martin
a1b4044047
FpDebug: Fix mem-leak
...
git-svn-id: trunk@65167 -
2021-06-03 16:42:38 +00:00
martin
e828efa600
FpDebug: less compile hints
...
git-svn-id: trunk@65161 -
2021-06-01 13:55:10 +00:00
martin
0473f430ec
FpDebug: Less compile warnings
...
git-svn-id: trunk@65160 -
2021-05-31 14:24:55 +00:00
martin
a822d5c8f7
Reduce duplicate code
...
git-svn-id: trunk@65159 -
2021-05-31 14:24:53 +00:00
martin
ba0a0bdf67
FpDebug: Improve callback for function calling
...
git-svn-id: trunk@65156 -
2021-05-30 20:27:26 +00:00
martin
574b3a8178
LazDebuggerFp, FpDebug: Modify watches/values in target
...
git-svn-id: trunk@65154 -
2021-05-30 19:01:08 +00:00
martin
ce0d1a0bc8
LazDebuggerFp, FpDebug: Beta, Allow function calls in watches
...
git-svn-id: trunk@65151 -
2021-05-29 22:51:09 +00:00
martin
4d4db524ac
FpDebug: evaluate "pointer - pointer" return int (with pointermath)
...
git-svn-id: trunk@65150 -
2021-05-29 22:51:06 +00:00
martin
5191e4d8a2
FpDebug: Added some safety checks
...
git-svn-id: trunk@65144 -
2021-05-28 16:19:23 +00:00
maxim
076aee3ac9
LazDebuggerFpGdbmi: i18n-ed menu caption, regenerated translations and updated Russian translation
...
git-svn-id: trunk@65135 -
2021-05-25 21:42:56 +00:00