Data Component window showing a lot of VARXXXXX

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Component window showing a lot of VARXXXXX

Jump to solution
748 Views
eddv
Contributor I

Hi,

I´m using latest version of CW for HCS12, and programming in ASM, and I having a big trouble: my 'Data Component window', on debug, is showing a lot of (about hundreds of)  vars named as 'VAR03861, VAR03862, VAR03863........, VAR0927,VAR0928).

Its not my var, and I dont know why they is there, and worst: I dont know how to delete then.

Please, any help are welcome!

Thanks a lot!

 

PS:

Looking deep, I found that, for example, the first junk VAR, VAR03861 is pointing to the first line whit 'DC.B' at a table of strings, located at page  E3. The second var is pointing to the second line with 'DC.B' , and go on...

 

 

The table is the follow:

 

 

....

tabStrLEIT:
        DC.B    _nCharSTR_LEIT+2    ; 2 bytes de text
*                '123456789ABCDEF0123'
        DC.B     '- reservado -  ',$00,$00 ; $0000
        DC.B     'Adaptacao      ',$00,$00 ; $0001

...

Labels (1)
Tags (1)
0 Kudos
1 Solution
98 Views
CrasyCat
Specialist III

Hello

 

In order to ask for an extension in the current tool  I would recommend you to submit a service request  through our on-line support web page.

Click here to submit a service request.

In order to assist you with any other issue you are facing please post a new question with description of what you are trying to do or what is not working.

 

CrasyCat

View solution in original post

0 Kudos
5 Replies
98 Views
rocco
Senior Contributor II

Hi Eddy,

 

About ten years ago, I asked the same question. I was told "It's the way it is. Get over it."

 

The FAE said that there was nothing that could be done. They were real variables, with names assigned by the assembler (or maybe it was the linker). They were created for every string and table entry in my code, of which there are plenty.

 

But that was ten years ago - maybe things have changed and there is now a way to have them visually removed? They really are annoying, as they get in the way of the variables that I really want to see.

0 Kudos
98 Views
CrasyCat
Specialist III

Hello

 

The assembler creates some dummy labels starting with prefix VAR for each DC or DS directive, which is not explicitly associated with a  label name.

 

There is no way to prevent the assembler from doing so.

 

CrasyCat

0 Kudos
98 Views
eddv
Contributor I

Hi CrasyCat, thanks by your information, but, for a software that is used to make software, this limitation is a shame, don't you agree? Do you know how can I contact the rigth person at the Metrowerks, the CW is too much poor as a software tool...  If I need do fill a vector in RAM, with some specific data bytes, I cant too... I'm very desapointed with the enviroment, it have a lot of complex functions, but some simple and usefull, and simple do add to pack, they dont implement.

But, by the way, thank you!!

 

0 Kudos
99 Views
CrasyCat
Specialist III

Hello

 

In order to ask for an extension in the current tool  I would recommend you to submit a service request  through our on-line support web page.

Click here to submit a service request.

In order to assist you with any other issue you are facing please post a new question with description of what you are trying to do or what is not working.

 

CrasyCat

View solution in original post

0 Kudos
98 Views
rocco
Senior Contributor II

Hi CrasyCat,

 

But might there be a way to filter them from the debugger screen? There are hundreds of them.

0 Kudos