debug message added considering expression