Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316786

Summary: C/C++ Attach to Application: Failed to execute MI command
Product: [Tools] CDT Reporter: Greg Watson <g.watson>
Component: cdt-debugAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: RESOLVED INVALID QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: malaperle, marc.khouzam, pawel.1.piech
Version: 7.0   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

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).