Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316786 - C/C++ Attach to Application: Failed to execute MI command
Summary: C/C++ Attach to Application: Failed to execute MI command
Status: RESOLVED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 7.0   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 12:44 EDT by Greg Watson CLA
Modified: 2010-11-13 15:25 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2010-06-14 12:44:16 EDT
When I debug a running application, I get the following error appearing in the debug view when viewing variables (these are pointers to structs, but I don't know if that is relevant):

Failed to execute MI command:
-var-update 1 var2
Error message from debugger back end:
Variable object not found
Comment 1 Marc Khouzam CLA 2010-06-14 13:42:31 EDT
Are you using DSF or CDI?
Can you attach the gdb traces?
Comment 2 Greg Watson CLA 2010-06-14 14:32:26 EDT
It was DSF, but I can't reproduce any more. I'll reopen if I see it again.
Comment 3 Marc-André Laperle CLA 2010-11-13 15:25:40 EST
FYI, Apple's gdb doesn't handle the 1 and 2 parameters, only --all-values and --simple-values. Both CDI and DSF have fixes for this in CDT >= 6.0.2 (bug 250037).