Please provide me some details about debug dcu path and where it is used.
+3
A:
'Debug DCU Path' is a Borland Delphi option found under Tools > Debugger Options
. It specifies the list of directories that, when the 'Debug DCUs' option is on, will be searched for debug versions of the Delphi Compiled Units used by your project.
chaos
2009-06-03 13:37:11
+3
A:
Write the following line ...
procedure TFormMain.Button1Click(Sender: TObject);
begin
ShowMessage('a');
end;
... and place a breakpoint (F5
) at the ShowMessage()
line.
After running the application, the debugger will stop at this line. Now press F7
.
With the Use debug .dcus setting and a valid Debug DCU path (something like $(BDS)\lib\Debug
, depends on your Delphi version) you will enter the ShowMessage
procedure in Dialog.pas
, without the setting you won't.
ulrichb
2009-06-03 15:11:05
It also provides additional details to profilers (AQTime at least).
Ryan VanIderstine
2009-06-03 18:11:57