Only read from input data from debug message when WRITING.
Only read from input data from debug message when WRITING.

Fixes submitted auto-crash-dump "report_2014.05.07_16.39.37_408"

Anteru/renderdoc,moradin/renderdoc,googlestadia/renderdoc,victor-moya/renderdoc,cgmb/renderdoc,TurtleRockStudios/renderdoc_public,adrianbu/renderdoc,TurtleRockStudios/renderdoc_public,adrianbu/renderdoc,michaelrgb/renderdoc,Lssikkes/renderdoc,Velro/renderdoc,Yours3lf/renderdoc,adrianbu/renderdoc,Velro/renderdoc,Yours3lf/renderdoc,baldurk/renderdoc,victor-moya/renderdoc,etnlGD/renderdoc,baldurk/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,Anteru/renderdoc,Lssikkes/renderdoc,cgmb/renderdoc,Lssikkes/renderdoc,Anteru/renderdoc,moradin/renderdoc,googlestadia/renderdoc,etnlGD/renderdoc,baldurk/renderdoc,Velro/renderdoc,cgmb/renderdoc,michaelrgb/renderdoc,victor-moya/renderdoc,Lssikkes/renderdoc,michaelrgb/renderdoc,TurtleRockStudios/renderdoc_public,Zorro666/renderdoc,googlestadia/renderdoc,TurtleRockStudios/renderdoc_public,Zorro666/renderdoc,moradin/renderdoc,adrianbu/renderdoc,cgmb/renderdoc,etnlGD/renderdoc,Velro/renderdoc,Anteru/renderdoc,Yours3lf/renderdoc,googlestadia/renderdoc,victor-moya/renderdoc,moradin/renderdoc,cgmb/renderdoc,googlestadia/renderdoc,michaelrgb/renderdoc,etnlGD/renderdoc,baldurk/renderdoc,Velro/renderdoc,TurtleRockStudios/renderdoc_public,Anteru/renderdoc,etnlGD/renderdoc,Anteru/renderdoc,Velro/renderdoc,moradin/renderdoc,moradin/renderdoc,adrianbu/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,victor-moya/renderdoc,Zorro666/renderdoc,Yours3lf/renderdoc,googlestadia/renderdoc,victor-moya/renderdoc,Yours3lf/renderdoc,Lssikkes/renderdoc,michaelrgb/renderdoc,Lssikkes/renderdoc,baldurk/renderdoc,adrianbu/renderdoc,etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,Yours3lf/renderdoc,Anteru/renderdoc