Exemple #1
0
 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()
Exemple #2
0
 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()