Work with debugger trace buffer. 
IDA memorizes various types of trace events in a circular buffer: instruction tracing, function call and return, breakpoint access ... 
◆ set_trace_size()
  
  
      
        
          | bool idaapi set_trace_size  | 
          ( | 
          int  | 
          size | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Specify the new size of the circular buffer. 
| Type | Synchronous function  | 
| Notification | none (synchronous function)  | 
- Parameters
 - 
  
    | size | if 0, buffer isn't circular and events are never removed. If the new size is smaller than the existing number of trace events, a corresponding number of trace events are removed.  | 
  
   
- Note
 - If you specify 0, all available memory can be quickly used !!! 
 
 
 
◆ clear_trace()
  
  
      
        
          | void idaapi clear_trace  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clear all events in the trace buffer. 
| Type | Synchronous function - available as request  | 
| Notification | none (synchronous function)  |