I recently updated from FPC 2.6 to 3.04. I could never get breakpoints to work.
All I ever got on any line under any conditions was a can't set breakpoint message.
I had debug on and everything setup like I always have but no luck. It also crashed
when an integer overflowed even with all the checking turned off. I have code where
overflow is required and expected (like checksums). I didn't believe this would be the
problem so I tried to attribute to something else, But it wasn't near as I could tell.
There were many other troublesome behaviors as well. Without breakpoints it was
very tedious to diagnose.I have updated several times over many years without
this level of incompatibility.
I abandoned 3 and went back to 2.6. Breakpoints worked as usual. But I have trouble
with watches. (this is not new). If I watch a simple integer it works. But when I use
something like THISLINE^.LINENO which points at an integer it may work or may not.
When you first do it it will work sometimes but then later without any changes it will report
Syntax Error near... Re-entering, deleting, restarting, rebooting doesn't usually fix it.
Of course there is no syntax error, and the same entry worked a few minutes ago.
Any ideas?
JY