build samples without debug info, fix try/catch processing