The source code you are trying to debug is either 

1/not in the project as a known file.
2/not in the library path for delphi.

if it was an incorrect dcu build then it would still debug, but it would not sync 
properly.

-----Original Message-----
From: Mark Howard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 5 December 2002 3:56 p.m.
To: Multiple recipients of list delphi
Subject: Re: [DUG]: On Click event not happening


Hi

Further to this and my last post, I have just discovered that if I put a 
breakpoint on ANY code anywhere it gets disabled on run and does not 
capture the flow.

I must have inadvertently set some global switch that turns this facility 
off.  (This must be easier!)

Any suggestions.  (Embarrassed at not noticing this before my first post 
8-/)

Mark



On 5 Dec 2002 at 14:39, Mark Howard wrote:

> Hi all
> 
> I have a form with a TButton on it with a ButtonClick event defined.
> 
> I can put a breakpoint on the first meaningfull line of the
> ButtonClick procedure and it looks to be a 'good' breakpoint ie a
> bright red dot in left margin.
> 
> BUT when I run the app (from the IDE) the red dot get's a cross in it
> (so the compiler knows it's not going to use that line) AND when I
> click on the Button - something other than the ButtonClick event
> happens.
> 
> Any ideas on how to track down what is happening here?
> 
> TIA
> 
> Mark
> ----------------------------------------------------------------------
> -----
>     New Zealand Delphi Users group - Delphi List -
>     [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> 


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to