Comments (7)
It should be possible to just use the object instance name, without specyfing template parameters - have you tried that? A simplified example that I could try would be helpful as well.
from stmviewer.
I mean if you have an object instance for example GFSM<Devices<ESC_FOC_01, Config, Mcu::Stm::Stm32G431> > test;
you should be able to use test.mDebug
.
from stmviewer.
I think I was able to reproduce it, thanks. For now it its not possible, however I will look for an easy solution if there is one. If you want to quickly show some data, you can consider copying it's value to a global variable. I'm aware its ugly but maybe this is something that will make your work faster.
from stmviewer.
This might be also helpful. Basically use gdb's autocomplete (so that you get all the types right) and then copy and paste the full name. Just tried it and it works fine:
BTW: I'll be working on a window that lists all variables and lets you pick the ones you want, but this is not a simple and quick task ;)
from stmviewer.
In the above example GFSM<Devices<ESC_FOC_01, Config, Mcu::Stm::Stm32G431> >
is the instantiated template and mDebug
is a static member inside of that template-class. Do you mean, the name mDebug
will suffice?
from stmviewer.
I mean if you have an object instance for example
GFSM<Devices<ESC_FOC_01, Config, Mcu::Stm::Stm32G431> > test;
you should be able to usetest.mDebug
.
Ok, now I understand.
No, there is no instance of that template-class: all its members are static.
Would it be passible to get a drop-down-list of all objects with static storage for the menu from the .elf
-file using de-mangled names? This would be very helpful. If you need an example, I will provide one.
from stmviewer.
Well, that would be possible, but I think, I stick to the way copying the name from the .elf
file.
Maybe another way would be to generate the STMViewer-config-file via some script parsing the .elf
.
from stmviewer.
Related Issues (20)
- How can I change GUI font size, too small on my screen. HOT 8
- ITM port configuration issue HOT 1
- Compiling STMViewer on ArchLinux HOT 11
- High speed plotting HOT 5
- Any reason not to run on macos? HOT 8
- Support for J-Link Debug Probes HOT 3
- Trace View supports jlink RTT HOT 6
- Can't update variable address HOT 2
- Problem with using Var Viewer with .elf compiled by platformIO stm32duino framework. HOT 4
- Problem Updating Variable HOT 6
- Make cmake detect the installed version of spdlog HOT 1
- Adding a variable on the running plot has a time lag
- Unlimited data points enhancement HOT 4
- Installation on Windows HOT 2
- Importing variable HOT 1
- Multi debug HOT 1
- Quick Start not clear HOT 11
- Display (parts of) arrays HOT 9
- Custumization capabilities HOT 2
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 stmviewer.