These problems are likely related.
One problem is that when a breakpoint is set within this unit, it
causes an access violation when it is loaded. When no breakpoints are
set, no access violations.
Another problem is that the friendly blue dots don't start until line
5693, right in the middle of a procedure. The blue dots are correctly
aligned throughout the rest of the unit. I have massaged the CR/LFs
to know for sure that there are not lone CR or LF characters.
Yet another problem is that when trying to use Sleuth LineProfiler
(I'm sure you can see that a problem with this unit would be
speed...), it throws access violations. I don't know enough about how
Sleuth hooks the map file and what not, but I would guess this is
exactly the same problem as the break points causing access
violations.
Is there a limit to the stack/table size of an object or something
like that? Any ideas on what to do short of rewriting this stuff?
Have done full rebuilds, cleaned out the dcus, played with
optimization switch...
System Info:
Delphi 5 Pro with all updates
Windows XP Pro SP2
1GB RAM
Jim