(not so OT) How to set a breakpoint in ddbg specifying an absolute path that contains whitespaces?

Jascha Wetzel "[firstname]" at mainia.de
Wed May 9 01:58:49 PDT 2007


try
break "C:/hi bye/main.d:8"

Ary Manzana wrote:
> Today I downloaded my own plugin at work to show it to some coworkers,
> and found out that the debuggers doesn't work if the absolute path to
> the files contains whitespaces.
> 
> In Ddbg the fix is to use double quotes
> -> bp "C:/hi bye/main.d":8
> 
> In Gdb, however:
> (gdb) break "C:/hi bye/main.d":8
> No source file named C:/hi bye/main.d":8
> 
> Single quotes doesn't work either.
> 
> Does anyone know how to do that? I could specify the relative path, but
> if I have several source paths it's easier just to use the abosulte one.



More information about the Digitalmars-d mailing list