troubleshooting Question

Delphi 7 Debugger out of step with source code?????

Avatar of steinonline
steinonline asked on
DelphiMicrosoft Development
18 Comments1 Solution1933 ViewsLast Modified:
Experts I am having a really strange issue suddenly.  When I run my application in the delphi environment, the debugger stops on a random line of code with no breakpoint set.  Additionally, the blue compiler dots in the left gutter are displayed on lines with no code at all.  Outside the environment the compiled program is completely haywire.  I have never seen anything like this before.  Also I am running Windows XP as a virtual machine on an Apple computer.  Any thoughts on what could be the problem, and what I can do to solve this issue would be greatly appreciated.  I have removed the "bad" unit from my program, copied and pasted the source code into a new unit, saved that unit then added it back to my program.  Now the same thing is happening only in that unit, and on a totally different line of code.  It is like no matter what, execution goes to this spot.  I am baffled, and have a deadline that is going to come and go if I can't get a handle on what's going on here.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 18 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros