I've come across some SAP OO code to debug and it is a terrible thing to do.
Wheven ever I click on what I think's a variable I get some weird number (probably an instance refernece) .
Anyhow the whole process of debugging OO code is a pain and I was wondering if anyone had any good tips on how to approach this...
Yes, indeed...everything is a pain, if you have not familiar with the thing you're doing:-)
I would highly recommed some searching in SDN or SAP Marketplace with keyword 'Horst Keller'.
There are some excellent presentations and very good picture about instance and instance reference. There is a good docs about 'What's new in ABAP in WAS' or something, the ABAP OO debugger is explained there.
'I get some weird number (probably an instance refernece)'
Yes it's the reference to the instance. (e.g.: 63<CL_GUI_CUSTOM_CONTAINER> )
You can double click on it...and voila you can see all the details for your instance.