Can't get ddbg to work in Code::Blocks

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Fri Mar 30 06:56:30 PDT 2007


Patrick Byrne wrote:
> Jascha Wetzel wrote:
>  > this is not the ddbg output.
>  > note that there are two tabs, one called "Debugger" and one called
>  > "Debugger (debug)". the former holds short infos from CB that are
>  > independent of the debugger, the latter is the tab that holds the ddbg
>  > output and what codeblocks sends to ddbg as input.
> 
> I see no 'Debugger (debug)' tab. I presume you mean the 'Code::Blocks 
> Debug' tab, which has lots of stuff on it.

There should also be a "Debugger (debug)" tab after you turn the 
mentioned option on.
In some screen resolutions not all tabs may fit on the screen though. In 
that case, you should use the two small triangles to the right of the 
tabs to scroll them.

[snip]
> ....which flashes up a DOS box, presumably with the 'hello world' 
> output, though it doesn't wait for a key press as it should.

Are you sure it should wait? Code::Blocks by default runs console apps 
through a wrapper that asks for a key press, but since you're running 
the program without it that won't happen unless the program explicitly 
asks for one itself.


More information about the Digitalmars-d-debugger mailing list