Toolwire interview question

What steps are needed to write a bug?