Thanks,
@Erel,I had those two lines code,The board is UNO,I think the log function should call the serial print in debug mode,but the BXR IDE only have release mode,No any message output in log window.
Bye the way,which bootloader should be the best choice in B4R?I had installed the optiboot in my target.