globalCounter = False
class SecondWindow(wx.Frame):
def __init__(self, .............
def resetCount(self):
global globalCounter
globalCounter = True #This variable is modified to True if SecondWindow() instance is created
#this method is not called and debugger don't stop at this line breakpoint