Wrong export of nested members of a class to IDC file (via GUI)

Issue #100 resolved
M. Gronle created an issue

Let us assume the following script (and execute it):

a = "test"

class Hallo:
    def __init__(self):
        self.b = "hallo"
        self.c = "xyz"

myClass = Hallo()

Now export the variable a and the members myClass.b and myClass.c to a IDC file via the Global Variables toolbox.

Load the IDC file again: Only a and c are contained in the file, b is missing.

A direct export via

saveIDC("C:/temp/classtest.idc", {"a":a, "b":myClass.b, "c":myClass.c})

is possible, though.

Comments (2)

  1. Log in to comment