[ddbg] Unable to find source files
Jascha Wetzel
"[firstname]" at mainia.de
Tue Aug 14 06:54:44 PDT 2007
Simen Haugen wrote:
> Yup, command line too.
>
> C:\projects\nsdata\bin\Debug>ddbg sps2nsd.exe
> Ddbg 0.10 beta - D Debugger
> Copyright (c) 2007 Jascha Wetzel
> see http://ddbg.mainia.de/doc.html for documentation
>
> Loading symbols from sps2nsd.exe
> ->bp c:\projects\nsdata\src\nsd\nsd.d:1361
> Soure file "c:\projects\nsdata\src\nsd\nsd.d" not found
> ->^C
>
> C:\projects\nsdata\bin\Debug>dir c:\projects\nsdata\src\nsd\nsd.d
> Volume in drive C is Partition_1
> Volume Serial Number is 047C-6206
>
> Directory of c:\projects\nsdata\src\nsd
>
> 14.08.2007 15:24 37 902 nsd.d
> 1 File(s) 37 902 bytes
> 0 Dir(s) 804 540 416 bytes free
ddbg doesn't support absolute filenames, atm.
use lsm to list the source modules as they are saved in the executable
and use these names (or substrings of them) to set the breakpoints.
in order to find the (relative) source module paths, you need to set the
search path.
assuming you compiled in c:\projects\nsdata\ and you're executing in
c:\projects\nsdata\bin\Debug the following should work:
sp ..\..
bp src\nsd\nsd.d:1361
or, as a shortcut:
bp nsd.d:1361
More information about the Digitalmars-d-debugger
mailing list