Comments (3)
Hi Marc-Andre,
If -var-update didn't report the change, it would send an empty changelist (^done,changelist=[]
). In your example it reports that "var0"/"var1.public.field" has changed. And the value in the Linux case seems to be correct if Eclipse stepped over the line obj.field = 4;
. Which value do you expect to see at that moment?
from lldb-mi.
Sorry, I didn't note that the second example is using GDB. Anyway, lldb-mi's result implies that the requested variable has changed.
The problem is that at https://github.com/lldb-tools/lldb-mi/blob/master/src/MICmnLLDBDebugSessionInfoVarObj.cpp#L276 GetValue is called with default argument const bool vbExpandAggregates = false
.
from lldb-mi.
@anthony-kolesov Thanks a lot for fixing this! I think this was the main blocker to make lldb-mi really useable in Eclipse so this is a great step.
from lldb-mi.
Related Issues (20)
- [Docs] Building on macOS HOT 2
- lldb-mi hangs on M1 macOS when creating variable HOT 14
- `-break-insert` response doesn't respect `target.source-map`
- `breakpoint-hit` event doesn't respect `target.source-map` for remote target
- Feature Request: add support for '@' parameter in the command "var-create"
- Build issue on Linux (Ubuntu 20) HOT 8
- Version: GNU gdb (GDB) 7.4
- Hang on startup: MinGW interop failure with MIEngine due to line ending issues
- lldb-mi exits launching my application with SIGKILL HOT 2
- lldb-mi hangs and starts consuming more and more memory when stopping at certain breakpoints in vscode-cpptools HOT 4
- Build failure on Ubuntu 20 LTS. HOT 13
- Feature request: may you please move this project back to llvm project? HOT 1
- build failed on ubuntu20 HOT 1
- lldb-mi prints extra characters, carriage return, etc. HOT 1
- Error while building this package HOT 4
- Windows breakpoint not working HOT 4
- lldb-mi hangs on MacOS HOT 2
- error build in alt linux
- Incorrect fullname under windows when lldb-mi startup path and source path are not in the same partition
- ModuleNotFoundError: No module named 'lldb'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lldb-mi.