Debug for InitRefPicList

See RBCommons code revie #659