EmbDev.net

Forum: ARM programming with GCC/GNU tools mi_cmd_var_create: unable to create variable object


von Harold R. (hlritter)


Rate this post
useful
not useful
Can anyone tell me what causes this error and how to get rid of it.

mi_cmd_var_create: unable to create variable object

I get this when I attempt to debug my application. I run OpenOCD, launch
the debugger and come up at main(). Then any attempt to run to a break
point or step my code results in the error and I am unable to debug.

Thanks!
Harold

von Harold R. (hlritter)


Rate this post
useful
not useful
I have solved this one. If you have variables in your watch window that
you later eliminate from your code then attempt to debug again this
error is generated. The fix is to also delete the variable from the
watch list. At least this is how it works in Eclipse Europa.

Harold Ritter



Harold Ritter wrote:
>
> Can anyone tell me what causes this error and how to get rid of it.
>
> mi_cmd_var_create: unable to create variable object
>
> I get this when I attempt to debug my application. I run OpenOCD, launch
> the debugger and come up at main(). Then any attempt to run to a break
> point or step my code results in the error and I am unable to debug.
>
> Thanks!
> Harold

von Dan Wheeler (Guest)


Rate this post
useful
not useful
Confirmed.  Thank you.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.