debug in program files

Milke Wey no.spam at example.com
Wed Mar 19 15:41:01 PDT 2008


On Wed, 2008-03-19 at 18:30 -0400, Tower Ty wrote:
> I notice a lot of the program files have a debug section or function 
> Without writing a separate program is there a way to run the debug portion from the command line . ie  dmd  -switch somedfile ?

dmd -debug somefile

or you can use -debug=level or -debug=ident for debugs whitch have a
level or an ident. see dmd --help

-- 
Mike Wey



More information about the Digitalmars-d-learn mailing list