Community
Participate
Working Groups
Build Identifier: This is a feature enhancement for the debugger experience. It would be *very* nice to be able to pin values inline in the editor like visual c++ 2010 can do. It works like this: You have a variable in the editor. You hover in the editor over the variable when debugging, so it appears every value inside that variable. You can now open and see the contents of each internal variable. At the right side of the variable there is an icon that says: "pin this value", that puts the value inline in the editor. You would see something like this (in source code): myvector; [pinned value] myvector[0] = 7 mystruct = something(); mystruct.x.z = "hello"; This way you don't need to inspect by hand every time you try to debug, making the experience better and more productive. Thanks in advance. Reproducible: Always
Where 'inline' is the value shown? I mean, is it shown on lines where the variable is assigned, or is it always shown on one line that is currently visible, or...
(In reply to comment #1) > Where 'inline' is the value shown? I mean, is it shown on lines where the > variable is assigned, or is it always shown on one line that is currently > visible, or... Looking at the visual c++ 2010 feature you can get the exact idea I'm thinking of :-).
(In reply to comment #2) > (In reply to comment #1) > > Where 'inline' is the value shown? I mean, is it shown on lines where the > > variable is assigned, or is it always shown on one line that is currently > > visible, or... > > Looking at the visual c++ 2010 feature you can get the exact idea I'm thinking > of :-). I'm on Linux. Maybe you can add a screenshot?
Created attachment 265377 [details] Debuging Inlineed Variable Values
This would be a great idea, it is immensely useful and speeds up debugging. Attached is the screenshot from IntelliJ (https://www.jetbrains.com/help/idea/2016.2/inline-debugging.html)
I agree, this is definitely something we should look into. I assume we'd only show basic types not structs. And in the screenshot, what is the "(slot x)" thing?