Re: breakpoints not working
From: Brad White (bwhite)
Date: 11/26/03
- Next message: Iosif Karaioannoglou: "Using run-time packages in IDE"
- Previous message: cOOl: "Re: Active row in DBGrid?"
- In reply to: mark wheeler: "Re: breakpoints not working"
- Next in thread: Jonas Wik: "Re: breakpoints not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Nov 2003 15:20:03 -0600
"mark wheeler" <mark-wheeler@tiscali.co.uk> wrote in message
news:3fc4de69$1@newsgroups.borland.com...
>
> "Joanna Carter \(TeamB\)" <joannac@btinternetXX.com> wrote:
> >mark wheeler wrote:
> >
> >| I cant get breakpoints to work. I have a large app written in Delphi
> >| 5 Enterprise. The main form works fine, I can compile, set a
> >| breakpoint and the debugger stops at the breakpoint line. However,
> >| If I then open another form and try to add a breakpoint, it doesnt
> >| work, the breakpoint seems to be set (the line changes colour to red)
>
> Ive deleted all dcu files but still get the same problem. The weird thing
is, If I scroll about 3/4 of the way down the pas file, the blue dots
miraculously appear !
>
Mark,
Generally this is caused by having a file open in the IDE
that is a copy of the one in the project.
Look at the title bar of the editor when you have
the Main form open. It should just show the name
of the unit.
Now look at the title bar when you have the other
unit open. Does it show a path to the unit?
That means that you are looking at a copy that
is in a different directory than what the project is in.
Or, it could be there reverse. you could be looking
at the one in the current directory while the project
is including one from another directory.
This happens frequently when you try to copy a
project from on dir to another.
Close the offending file and open it from the project manager,
not from the menu. That way you can be sure that you
are looking at the same on Delphi is compiling.
-- HTH, Brad White
- Next message: Iosif Karaioannoglou: "Using run-time packages in IDE"
- Previous message: cOOl: "Re: Active row in DBGrid?"
- In reply to: mark wheeler: "Re: breakpoints not working"
- Next in thread: Jonas Wik: "Re: breakpoints not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|