The use process is to call the Xtib :: SETTHREADNAME (SzthreadName) function in the thread callback function, set the breakpoint at this function, type (char *) in the Watch window (DW (@ TIB 0x14)) and DW ( @ TIB 0x24) You can get the current thread name and thread ID. As shown below: