How to debug in Visual studio?
Patrick Byrne
pbyrne at frontier.co.uk
Fri Mar 30 04:47:56 PDT 2007
Jascha Wetzel wrote:
>> [1] That said, ddbg works beautifully with Code::Blocks. A pity, then,
>> that Code::Blocks is incapable of passing arguments to the D compiler at
>> the moment, which makes it totally useless... -_-
I am trying to get dmd/ddbg/cblocks working at the moment. It seems to
compile and link ok, and if I run my program from the command line it works:
hello world
args.length = 1
args[0] = 'C:\d\hworld\bin\Debug\hworld.exe'
....but when I try to step in (having set up ddbg_gdb.exe as the
debugger), it just terminates, with this in the output window:
Building to ensure sources are up-to-date
Build succeeded
Selecting target: Debug
Adding source dir: c:\d\hworld\
Adding source dir: c:\d\hworld\
Adding file: bin\Debug\hworld.exe
Starting debugger: done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Program exited
Debugger finished with status 0
...can someone please shed light on why the debugger is not playing ball?
Thanks
-P
PS Code::Blocks looks like a worthy replacement for Visual Studio, if
only I could get the debugger working.....
More information about the Digitalmars-d
mailing list