Hello Community,
I worked through the DSS wiki pages and the examples delivered with CCS v4. Thanks for this helpful tutorials.
My first script works very well. But is there a way to get access to the values of variables in the running application by DSS? For instance, I would like to access a variable, say X, to read and write its value per DSS. But I don't want to work with a fixed address of this variable in the DSS script. In this case, I have to alter the script over and over again if the DSP application is changing. I'm searching for a method like this was proposed for setting up breakpoints.
// Set a breakpoint at "main"
var main = debugSession.symbol.getAddress("main")
var bp1 = debugSession.breakpoint.add(main)
Is there a way to access (read/write) variables in this manner? Usually, the Debug server don't know the name of variables!? Therefore it's maybe necessary to parse the map file to get the relation between variable name and address?
Thanks