Is there a way to call a subroutine/function on the target and pass parameters to it and view the value that it returns? This is trivial in other debuggers (such as gdb) that I have used in the past, but I can find no way to do this with DSS or GEL. I am using CCS Version: 5.1.0.09000 on an MSP430, if that matters.
I need this functionality for scripted tests, where I will be testing the API of a function against a number of test vectors passed in as parameters, and viewing the result passed back by the return statement in the function. I envision something along the lines of:
debugSession.expression.evaluate('GEL_call("API_under_test(123,456)")');
Is there some way to do this with either GEL or javascripting to the DSS?