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.

Comments

  1. Out of date dcus or nonstandard line ends

    ReplyDelete
  2. I 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.

    ReplyDelete
  3. I 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.

    ReplyDelete
  4. line ends, it's not the problem because it works fine in Berlin.
    Will 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.

    ReplyDelete
  5. You think it's inconceivable that Tokyo and Berlin differ in some way??

    ReplyDelete
  6. I 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.

    ReplyDelete
  7. David Heffernan I do not expect them to be different in this case.
    Debugging while having the wrong line focused is just useless.

    ReplyDelete
  8. Luis Madaleno I'd rather concentrate on facts. If expectations and hope are what matter, forget it.

    ReplyDelete
  9. David Heffernan You're right, but the first reaction to a new IDE is expecting it to behave normally like its predecessor.
    Only 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.

    ReplyDelete
  10. 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.

    ReplyDelete
  11. Vincent Parrett never had this issue before.

    ReplyDelete
  12. Line ending was the problem. Tokyo and Berlin differ in this case.

    ReplyDelete
  13. Luis Madaleno I guess there's a lesson here in making assumptions.

    ReplyDelete
  14. David Heffernan definitely! ;)
    Should have checked those line endings in the first place just like you said.
    And thank you, by the way.

    ReplyDelete

Post a Comment