[fpc-devel] debug information for Variant type
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Dec 1 12:58:29 CET 2009
On 01 Dec 2009, at 11:53, Paul Ishenin wrote:
> Jonas Maebe wrote:
>
>> DWARF does, but GDB doesn't support it yet.
>
> We only need to disctinct Variant and TVarData. So when user want to
> watch Variable variable we will perform TVarData() cast and show the
> value ourself. When TVarData is used we will show as TVarData (iow,
> as record).
Would it be enough if the type name were changed to "variant"? It
would not be 100% safe (since "variant" is not a reserved word, anyone
can declare a variable/type/... with the name "variant"), but I don't
immediately see another solution.
Jonas
More information about the fpc-devel
mailing list