dwelling, or room used as a sleeping apartment in any building, with intent to break and carry away any part thereof, or any fixture or other thing attached to or connected thereto or to commit any criminal offense, shall, if any person is in any part of such dwelling or sleeping apartment at the time of such breaking and entering, or entering without breaking, be guilty of burglary in the first d