Anyone with debug problems in Delphi Tokyo?
Anyone with debug problems in Delphi Tokyo?
In my case it doesn't align the debug lines with the editor lines correctly.
The selected/highlighted line is not the one that is being executed.
In my case it doesn't align the debug lines with the editor lines correctly.
The selected/highlighted line is not the one that is being executed.
Out of date dcus or nonstandard line ends
ReplyDeleteI have not seen this myself, but have you ensured that there is only one version of the file in your search path (including the one specified in the project)? If the compiler is picking up a different file version, for some reason, that could be the cause. At least it has been for me in the past.
ReplyDeleteI just had this in XE8 where the version control system converted some CRLF sequences in odd ones, causing compiler errors to be a few lines off.
ReplyDeleteline ends, it's not the problem because it works fine in Berlin.
ReplyDeleteWill see the dcus, but from third party. I always delete all my dcus before building.
This might be related to my previous circular reference error.
Thank you all.
You think it's inconceivable that Tokyo and Berlin differ in some way??
ReplyDeleteI had a similar problem in C++Builder Seattle. I solved it by locating all of the .obj files (Debug/Release) for the problematic source file and deleted them. Re-compiled - problem solved.
ReplyDeleteDavid Heffernan I do not expect them to be different in this case.
ReplyDeleteDebugging while having the wrong line focused is just useless.
Luis Madaleno I'd rather concentrate on facts. If expectations and hope are what matter, forget it.
ReplyDeleteDavid Heffernan You're right, but the first reaction to a new IDE is expecting it to behave normally like its predecessor.
ReplyDeleteOnly after you will search for facts. But we're talking about a very basic feature.
Off course it can be my fault, I just can't find any evidence of that.
Long standng issue with delphi, not just tokyo. As others have mentioned, the two most common culrpits are mixed line endings and multiple copies of a unit on the search path. Sadly, Delphi doesn't provide any path information when it gets a compilation error, or provide a "bill of materials" that would help diagnose the latter.
ReplyDeleteVincent Parrett never had this issue before.
ReplyDeleteLine ending was the problem. Tokyo and Berlin differ in this case.
ReplyDeleteLuis Madaleno I guess there's a lesson here in making assumptions.
ReplyDeleteDavid Heffernan definitely! ;)
ReplyDeleteShould have checked those line endings in the first place just like you said.
And thank you, by the way.