First time here? Check out the FAQ!

Revision history  [back]

Object as param. introspection

Hi, example: I have a method that takes two objects as constructor param (class0.__init__ (class1.obj1, class2.obj2)

Before debugging class0.method1 the editor finds one (ex: typing class1.obj1. will popup a list of possibilities).

However the second object (class2.ob2) will only be "known" when debugging the method.

What I do for now is clear a local var in class0.method1 which instantiate a bogus object for class1 or class2 then change it to point to the actual object before running. Works but tedious.

What should I be looking for to fix this ?

Regards, Philippe

Object as param. introspection

Hi, example: I have a method that takes two objects as constructor param (class0.__init__ (class1.obj1, class2.obj2)

Before debugging class0.method1 the editor finds one (ex: typing class1.obj1. will popup a list of possibilities).

However the second object (class2.ob2) will only be "known" when debugging the method.

What I do for now is clear a local var in class0.method1 which instantiate a bogus object for class1 or class2 then change it to point to the actual object before running. Works but tedious.

What should I be looking for to fix this ?

Regards, Philippe