cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging OO - What a pain!!!!!

Former Member
0 Kudos

Howdy,

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...

Accepted Solutions (1)

Accepted Solutions (1)

Peter_Inotai
Active Contributor
0 Kudos

Hi Steve,

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.

Regards,

Peter

Former Member
0 Kudos

That helps alot.

Anyhow is there like a tutrial on debugging OO?

As we use 4.6B and double-clicking the weird number has produced a screen that I've never seen before. And I've attended the SAP Objects course!!!

Peter_Inotai
Active Contributor
0 Kudos

You can find a tutorial in the Marketplace, it's called 'Essential ABAP Objects - TechEd 2002'.

In page 27 you can find some details.

Or check the online help:

http://help.sap.com/sapdocu/netweaver/nw/nw04/helpdata/EN/c6/617cfae68c11d2b2ab080009b43351/frameset...

Peter

Answers (1)

Answers (1)

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

Double click the weired number ...