EmbDev.net

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


Author: Harold Ritter (hlritter)
Posted on:

Rate this post
0 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

Author: Harold Ritter (hlritter)
Posted on:

Rate this post
0 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

Author: Dan Wheeler (Guest)
Posted on:

Rate this post
0 useful
not useful
Confirmed.  Thank you.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.