Hi Davo,
I can definitely see how the time I've spent on installing and getting my head round the debugger instead of manual breakpoints and dumping variables I have been using.
However in this case it was me not getting my context correct. I was using context_course instead of context_module. No wonder the debugger wasn't actually showing me a lot.
Anyway many thanks again for your kind support.
Best Regards
Dave