Parse the horrible debug lines defined by Mathieu. Still need to had error handling