We could print messages.
Assembling the below:
void err_msg_004(const char *fmt, ...);
err_doit(0, 0, fmt, ap);
--------------
Called: InvalidateRect( this->event->hWnd, NULL, TRUE)
WM_MESSG 004: 20 *(p_evt->uMsg):20 uMsg:20 p_evt->uMsg: 6551900 &uMsg: 6551900
WM_PAINT 002: 15 *(p_evt->uMsg):20 uMsg: 15
WM_MESSG 003: 15 *(p_evt->uMsg):20
wButtonController::Process: 20 / 15<-WM_PAINT wParam 1426134079 lParam 0 this->event->uMsg:6551900 *(this->event->uMsg)=20
wButtonController::WM_PAINT:
this->event->main_mode = 3
default:
Analyzer::parse: starts.
--------------
// // // // // void err_msg_004(const char *fmt, ...) { va_list ap; va_start(ap, fmt); err_doit(0, 0, fmt, ap); va_end(ap); }