Sorry Wings...
We always get it right from the very first try !
Debug in RAM instead of flash, it is much, much faster.
Also, using the simulator could be a possibility. I never used it on S08 though, so dunno how it is.
You can have Two PRM files. One for debug putting code in RAM, and one for execution putting code in flash.
By using
#pragma, you can put only specific functions in RAM and don't reload the flash. You debug the functions, then remove the #pragma so they go back to where they belong... CODE_SEG DEFAULT.
Cheers,
Alban.