Discussion Locked

Debugging Delphi 5

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to debug a dll. The operating system is windows xp.
All the debugging options are set but I just can't debug the code.
can anyone help me?

5 replies

by jeng

A couple of ideas:

- Make sure the DLL source has been compiled with debug options.

- Use breakpoints in DLL source. Then you can step through the DLL code.

by bojidar alexandrov

If you dynamicaly link the dll then breakpoints don't apper to work till dll is loaded but then they became red again and actualy stops at them.
Try to do step into when procedure from dll is called.
Be sure that you set all debug options and re-BUILD the source!
I'm not sure but check that user that you use with Windows has right to attach to process, by default it is only administrators. Login as admin and try again.

regards
Bojidar Alexandrov

by helge_lorenzen

did u set the right host-application?
u have to define the hostapplication for
the dll u want to debug.
Best op ist to start that exe using the IDE.

This discussion is closed to new replies.