def tracemalloc(self, *arg): """ Trace the malloc and free and detect some error """ (option, ) = normalize_argv(arg, 1) if option == "on": try: angelheap.trace_malloc() except: print("Can't create Breakpoint") else: angelheap.dis_trace_malloc()
def tracemalloc(self,*arg): """ Trace the malloc and free and detect some error """ (option,) = normalize_argv(arg,1) if option == "on": try : angelheap.trace_malloc() except : print("Can't create Breakpoint") else : angelheap.dis_trace_malloc()