Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Failed to execute MI command: -data-evaluate-expression
Failed to execute MI command: -data-evaluate-expression [message #1851848] Tue, 19 April 2022 23:33
Gleb Plekhotko is currently offline Gleb PlekhotkoFriend
Messages: 5
Registered: April 2022
Junior Member
Hello, everyone!
I hope somebody could give me a hand in resolving the following issue.

I have a C project which is managed by a Ceedling build system. I have "integrated" it into Eclipse simply by replacing build commands in the "C/C++ Build" project's properties. It works perfectly.

Debugging also works fine, but there are two nasty issues:

1) I have a variable and I want to peek its raw representation in the memory. So I execute "View memory" command in the "Variables" view. In general, it works fine, but in the "Debug" some "Thread #2" becomes active. I can return back to the "Thread #1" which really contains code under debug, but what is that? And why does switch over occurs? (See screenshots "viewMemory.png" and "debug.png")

2) When I highlight a nested structure member in the "Variables" view I get the following message: "Failed to execute MI command: -data-evaluate-expression (testPayload).id Error message from debugger back end: There is no member named id.". Why does it happen? (See "highlight.png")

These are not critical issues, but I'm still curious about the root cause of both.

Thanks in advance for any clues!
  • Attachment: viewMemory.png
    (Size: 15.63KB, Downloaded 124 times)
  • Attachment: debug.png
    (Size: 12.91KB, Downloaded 117 times)
  • Attachment: highlight.png
    (Size: 23.22KB, Downloaded 119 times)
Previous Topic:Library Dependency Errors in Eclipse Version: 2021-09 (4.21.0) Build id: 20210910-1417
Next Topic:arduino / sloeber: how to use #define via configuration?
Goto Forum:

Current Time: Mon May 27 22:21:41 GMT 2024

Powered by FUDForum. Page generated in 0.03286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top