Discussion:
AutoExp.dat question
(too old to reply)
Jack
2007-09-29 23:43:39 UTC
Permalink
Hi,
It has been great pleasure playing with Autoexp. But One thing I couldn't
resolve was the way how
tool-tips and watches { x=100 y=100 } displayed with multi-lines, is
autoexp.dat formattable in this sense?
Let's say a --- b = 100 d = 50
c = 20 e = 50

Thanks
Jack
Alex Blekhman
2007-09-30 09:40:50 UTC
Permalink
Post by Jack
It has been great pleasure playing with Autoexp. But One thing I couldn't
resolve was the way how
tool-tips and watches { x=100 y=100 } displayed with multi-lines, is
autoexp.dat formattable in this sense?
Let's say a --- b = 100 d = 50
c = 20 e = 50
I don't think so. Here's quote from AutoExp.dat:

"An AutoExpand rule is a line with the name of a type, an
equals sign, and text with replaceable parts in angle brackets."


Alex
Jack
2007-10-15 16:11:01 UTC
Permalink
My AutoExp.dat doesn't work for my own defined class members.
EXPR=expr=<type,s>

The watch doesn't expand while tooltips also doesn't as well
Please help, am i missing something i need to know?
Thanks
Jack
Alex Blekhman
2007-10-15 17:45:40 UTC
Permalink
Post by Jack
My AutoExp.dat doesn't work for my own defined class
members.
EXPR=expr=<type,s>
The watch doesn't expand while tooltips also doesn't as
well
Please help, am i missing something i need to know?
AutoExp.dat format is very simple. If it doesn't work for
you, then ensure that you spelled type names correctly and
class actually does contain this member.

Alex
Jack
2007-10-16 05:21:01 UTC
Permalink
I've got a unrecognized type

typedef enum
{
TYPE_A,
TYPE_B,
...
} NodeType;

typedef struct _expr
{
NodeType type;
...
} EXPR;

====================
with the above, i tried
_expr=type=<type,i>
EXPR=type=<type,i>
_expr*=type=<type,i>
_expr=type=<type,s>

None of the above works
Thanks
Jack
Jack
2007-10-16 05:27:03 UTC
Permalink
Don't worry, I was modifying the wrong file
Thanks Alex
Jack
Jack
2007-10-16 06:30:24 UTC
Permalink
Hello,
I found a limitation on autoexp.dat that there is a maximum length for each
displayed item that I am after.
Longer than this will cause gabbage in tooltips and watches.
Am i correct?
Thanks
JAck
Alex Blekhman
2007-10-16 09:51:19 UTC
Permalink
Post by Jack
Hello,
I found a limitation on autoexp.dat that there is a
maximum length for each displayed item that I am after.
Longer than this will cause gabbage in tooltips and
watches.
Am i correct?
Probably there is some limitation in debugger's auto
expander. However, I never encountered it personally.

Alex

Loading...