KiCad PCB EDA Suite
Loading...
Searching...
No Matches
APP_MONITOR::ASSERT_CACHE_KEY Struct Reference

This struct represents a key being used for the std::set that deduplicates asserts during this running session. More...

#include <app_monitor.h>

Public Attributes

wxString file
 
int line
 
wxString func
 
wxString cond
 

Detailed Description

This struct represents a key being used for the std::set that deduplicates asserts during this running session.

The elements are meant to make the assert sufficiently unique but at the same time avoid unnecessary noise. One notable issue was we used to use msg as a key but asserts with args in loops would defeat it and cause noise

Definition at line 89 of file app_monitor.h.

Member Data Documentation

◆ cond

wxString APP_MONITOR::ASSERT_CACHE_KEY::cond

Definition at line 94 of file app_monitor.h.

Referenced by APP_MONITOR::operator<().

◆ file

wxString APP_MONITOR::ASSERT_CACHE_KEY::file

Definition at line 91 of file app_monitor.h.

Referenced by APP_MONITOR::operator<().

◆ func

wxString APP_MONITOR::ASSERT_CACHE_KEY::func

Definition at line 93 of file app_monitor.h.

Referenced by APP_MONITOR::operator<().

◆ line

int APP_MONITOR::ASSERT_CACHE_KEY::line

Definition at line 92 of file app_monitor.h.

Referenced by APP_MONITOR::operator<().


The documentation for this struct was generated from the following file: