Topic : Getting a value using scripting

Forum : Ride IDE

Original Post
Post Information Post
July 24, 2020 - 1:32pm
Arthur Pauvin

Hello,

I am trying to use a debugging script that gets values of variables during the execution of a program. I have tried using the functions Debug.ScriptGetVal* but they only return 0xff...ff.

It works with Debug.ScriptSaveMemoryToFile, but it is a nuisance as I have to load the values back from the file. And even then, it does not output the correct values systematically. It seems to work better when I use a timeout (done by using objShell.Run("timeout"))

I have based my script on the template script  "sample 1.js" in the Ride installation folder, is there anything I am missing ? Is it supposed to work or are these functionalities in beta testing ?

Thanks for your help