This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UV4 debugger: how to 'SAVE' to variable filename?

Is there any way to call the debugger 'SAVE' function with anything but a fixed filename? I'd like to use it in a loop of a debugger function like this:

FUNC void SaveFlash()
{
  for (i=0; i<10; i++) {
    ... code to fill rawFlashBuf with data ...
    exec("save c:\foo.bar rawFlashBuf,rawFlashBuf+511");
                  ^^^^^^^
                  generate something like foo0,bar, foo1.bar, foo2,bar, etc
  }
}

The other alternative is to use 'LOG' and 'd' but I don't like the output as well.

Thanks,
Andrew

P.S. I run into this again and again, UV4 is almost a great debugger, especially with the ULINK Pro, but turns into a horribly awful debugger because of the last 5% I can't get done... I wish Keil would get it over with and make a decent Eclipse plugin.

0