Dave Jollie had this problem at the start of March in a thread calling
"Getting breakpoints working properly".

We had this issue with D5, and there are a number of workarounds.

Dave reported that with D6, applying Delphi patches 1 & 2 solved his
problem.

WRT D5, some suggestions were:
"The simplest one suggested (not tested by me) is that the DPR and the DLL
should be in the same place."

"One workaround we've used seems to rely on the fact that Windows seems to
prefer your DLL to be in the Windows\System directory.  You can set the
Output directory of your project to put it there automatically. Once you've
run your DLL (and presumably your host app has opened), go back to Delphi
and hit Ctrl+Alt+M (I think).  This should open a window showing you which
modules are loaded.  Find yours, and see if the entry points for all your
functions are listed.  They should be if Delphi is correctly finding the
debug information for your DLL."

HTH,

Conor

-----Original Message-----
From: Phil Middlemiss [mailto:[EMAIL PROTECTED]
Sent: Monday, 24 March 2003 9:51 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Debugging DLL


The debugger will not allow me to debug my DLL code. I have made sure that
the search and debug paths for the project includes the source directory
(since the output directory is different) and debugging is working fine for
normal projects. I just can't seem to debug inside my DLL code, breakpoints
are ignored. The host application is in the same project group, but not
active when running the DLL.

One thing I noticed is that the blue dots are there after being compiled,
but gone when it's running (which is why I mentioned that I do have the
paths set).

Any ideas?

Phil.

---------------------------------------------------------------------------
    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