Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/File Handling    [ Add a report in this area ]  
Report #:  2724   Status: Reported
Forward slash in unit path names affects DCU placement and invalidfates breakpoints
Project:  Delphi Build #:  4.453
Version:    7.0 Submitted By:   Andrew Cruickshank
Report Type:  Minor failure / Design problem Date Reported:  10/23/2002 3:06:39 PM
Severity:    Commonly encountered problem Last Updated: 5/2/2003 12:58:35 PM
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
5.00 out of 5
Total Votes: None
Moving code between Kylix and Delphi my project file Uses
clause has pathnames with forward slashes. I set the output
path to a specified directory so all DCUs are generated there.

Under Windows DCUs not in the current project directory
with '/' path seperators are generated in their source directories
and not the specified output directory.

Breakpoints set in these units are displayed as invalid.

It is possible to step into these units when debugging and
the compiled code runs normally.

Changing the path separators in the project source back
to back slashes removes the problem  for each unit to which
this action is applied.

This problem also appears to affect Delphi 6 (6.240) Update 2.
Steps to Reproduce:


Server Response from: ETNACODE01