[ddbg] Unable to find source files

Ary Manzana ary at esperanto.org.ar
Tue Aug 14 14:53:26 PDT 2007


Jascha Wetzel escribió:
> 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.

Will ddbg support it in the future? The easiest way from a "front-end to 
ddbg" point is to just configure the source paths, pass the absoulte 
filename, and let ddbg figure the relative path. Otherwise all 
front-ends will end up having this algorithm (duplicated) instead of 
having it in one place (the debugger).

Also from a command-line point this is useful: instead of having the 
user "calculate" the relative path, she could copy the absoulte path and 
let ddbg figure it out.


More information about the Digitalmars-d-debugger mailing list