|
Oh hell, sounds like I'm in deep do-do.
Integrated debugging is checked on, and I compared all boxes on compiler, linker and debugger, with our other Delphi developer, and mine are the same as hers. She can do debugging fine, but she is on NT. I also had no problems until moving on to XP (yesterday).
I was working on my project, on NT, the day before yesterday. Yesterday I went on to XP. Today I re-loaded the same project, and debugging won't work. Seems like it must be XP or my Delphi install, as I had to re-install Delphi 6 on my new machine.
I have deleted all DCUs, etc. with no luck. I've compared dof, cfg & dsk files between the project I've been mucking around with, and one that hasn't been touched since I went on to XP. Both sets of files looked consistently the same sort of thing.
All our dlls run from the server. There is a menu.exe on the server, which is used to run the dlls. My dll resides in x:\dev_mnu - at least this is a short name (good, considering Myles advice). The menu.exe resides in the same directory as the dll. The menu, project name and directory name, all have no spaces in them.
Any more ideas out there? Thanks for the suggestions already made.
Cheers Dave
-----Original Message-----
We've had issues with debugging DLLs on XP and W2K as well.
Stacey is correct in saying that all debug options should be checked first and foremost.
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.
If you're still having problems, drop me a line, and I'll see if we had to do anything else.
HTH,
Conor
|
- [DUG]: Getting breakpoints working properly Dave . Jollie
- Re: [DUG]: Getting breakpoints working properly Robert Martin
- RE: [DUG]: Getting breakpoints working properly Stacey Verner
- RE: [DUG]: Getting breakpoints working properly Conor Boyd
- RE: [DUG]: Getting breakpoints working properly Conor Boyd
- RE: [DUG]: Getting breakpoints working properly Myles Penlington
- RE: [DUG]: Getting breakpoints working properly Conor Boyd
- RE: [DUG]: Getting breakpoints working properly Dave . Jollie
- RE: [DUG]: Getting breakpoints working properly Conor Boyd
- RE: [DUG]: Getting breakpoints working properly Dave . Jollie
- RE: [DUG]: Getting breakpoints working properly Conor Boyd
