Ddbg 0.0.4 alpha release

Jascha Wetzel "[firstname]" at mainia.de
Sat Mar 10 12:03:01 PST 2007


setting single variables actually isn't that much work.
the current expression parser produces a memory chunk plus it's type.
so what's left is doing that twice (for lvalue and rvalue), checking
whether the types are identical and then copying one chunk over the other.
maybe i can get this into v0.0.5.

your example would become
set point.x = 5
set point.y = 77

torhu wrote:
> Jascha Wetzel wrote:
>> i can't possibly
>> think of anything else ddbg could ever need the curly brackets for. to
>> be sure we could also use something else:
>> §cast§
>> #cast#
>> :)
> 
> What if ddbg sometime in the future allows you to set the value of a
> struct by using a struct literal?
> 
> set point = { 5, 77 }
> 
> Might be a while until that feature materializes, but who knows. Setting
> variables during debugging comes in handy sometimes.



More information about the Digitalmars-d-announce mailing list