AnsweredAssumed Answered

How do variables with same name watch in Expressiоn Window?

Question asked by bookevg on Sep 14, 2011
Latest reply on Sep 16, 2011 by bookevg

How do variables with same name watch in Expressiоn Window?

I have two files which has variables with same name. How can I watch these variables in Expressiоn Window?

For example:

file1.cpp - start

...

typedef struct {
int           A;
int           B;
} T_file1;

T_file1 ABC;

...

void some_function_file1(void)

{

...

ABC.A = 0x1234;

...

}

...

file2.cpp - start

...

typedef struct {
float FG;
double JG;
} T_file2;

T_file2 ABC;

...

void some_function_file2(void)

{

...

ABC.A = 0x1234;

...

}

...

I want to watch the variable ABC of   file1.cpp and the variable ABC of   file2.cpp

How can I do it?

Outcomes