OK - I figured out what was going on :-)
Basically my program uses PROGDIR: to locate it's assets on KS2.0 and greater, and this must not be set up when running via uaedbg, so due to my lack of error handling on loading data, I was passing garbage data to things like the music player, hence all the stuff reported above.
When I took out the PROGDIR: stuff, it then ran perfectly in the debugger.
Any chance uaedbg could set PROGDIR: somehow ?
|