Error Message when on Debug

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error Message when on Debug

540 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lmoreira on Fri Sep 03 00:08:50 MST 2010
Hi,
I am getting this message on the variables window, when I try to debug my program:

MAINCLKSEL_Val <mi_cmd_var_create: unable to create variable object>   

Hi did not change the MAINCLKSEL variable at all, and I was using this program Yesterday and it was fine.

Any ideas welcomed.
Best Regards
                    Luis
0 Kudos
Reply
2 Replies

532 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lmoreira on Wed Sep 08 23:38:57 MST 2010
Hi,
Indeed removing the variable out of the global variable watch solved the problem. I am not sure how I manage to see the variable before and not after, but the program is working fine now. It just made me lose a lot of time as it kind of lead me into a completely different route as I thought this was the problem with the program.
Never mind, at least I will not have this problem again.
Thanks for the reply.
Best Regards
                     Luis
0 Kudos
Reply

532 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Sep 03 08:51:20 MST 2010
Curious. Did you change **any** code, add any extra files, rename any files, etc between being able to see your global, and seeing this error?

Anyway, with regards to removing the error - have you tried either deleting the specific "problem" global from the Variable View context sensitive menu, or if that doesn't work, then deleting all globals from the view (though I realise that this will mean adding all other globals back again afterwards)?

Regards,
CodeRedSupport
0 Kudos
Reply