Board index » delphi » Delphi 2007 debugging with system.dcu

Delphi 2007 debugging with system.dcu


2007-04-01 04:18:16 AM
delphi181
Hello,
since 3 days I am using D2007. Its great, but when i use F7 in the
de{*word*81} it always steps through the system.dcu file. In the
debugging-options i switched "with dcu-files" off.
Know anybody what's wrong?
Thanks
Robert
 
 

Re:Delphi 2007 debugging with system.dcu

This is an error in the installer for the german Delphi 2007 version. See
Report No: 43269 (RAID: 248625) Status: Open
Release mode System.pas is compiled with debug symbols
qc.codegear.com/wc/qcmain.aspx
which contains a workaround.
--
Sebastian Modersohn
msohn.blogspot.com
 

Re:Delphi 2007 debugging with system.dcu

@echo off
set Delphi10=C:\Progra~1\Borland\Delphi10
del *.dcu
copy %Delphi10%\Source\Win32\Rtl\Sys\getmem.inc getmem.inc
copy %Delphi10%\Source\Win32\Rtl\Sys\SysInit.pas SysInit.pas
copy %Delphi10%\Source\Win32\Rtl\Sys\System.pas System.pas
%Delphi10%\Bin\dcc32.exe -q system -m -y -z -$D-
rename SysInit.dcu SysInit.opt.dcu
rename System.dcu System.opt.dcu
%Delphi10%\Bin\dcc32.exe -q system -m -y -z -$D+
rename SysInit.dcu SysInit.dbg.dcu
rename System.dcu System.dbg.dcu
del getmem.inc
del SysInit.pas
del System.pas
copy SysInit.opt.dcu %Delphi10%\Lib\SysInit.dcu
copy System.opt.dcu %Delphi10%\Lib\System.dcu
copy SysInit.dbg.dcu %Delphi10%\Lib\Debug\SysInit.dcu
copy System.dbg.dcu %Delphi10%\Lib\Debug\System.dcu
del *.dcu
pause