Right now, what's the most important for the success and adoption of D?

Jascha Wetzel firstname at mainia.de
Sun Sep 30 04:06:30 PDT 2007


Sean Kelly wrote:
> I tried ddbg for the first time yesterday and all in all it's pretty 
> nice.  However, it would be helpful if the pretty printing facilities 
> were improved.  From the console, I had trouble figuring out how to 
> print any variables by name, and inside Code::Blocks I couldn't figure 
> out a way to pretty print info about class instances (structs and basic 
> types weren't a problem though).

On the command line
= varname
= object.member
print the values,
t varname
t object.member
print the types of these expressions.
lsv
prints the values of all local variables.
The docs give more examples for expressions including casts, array 
access/slicing, dereferencing, etc.

Is that what you were looking for? If so, how would you expect the help 
text to describe these commands in an obvious way?

Last time i checked, Code::Blocks had a few problems with parsing the 
value output of structs, objects and arrays (everything with nesting 
curly braces). weird things tend to happen there...
If in doubt, you need to use the command line.



More information about the Digitalmars-d mailing list