From e93cdae8865b91034af0b4ebe319bdc892c23b50 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Sat, 14 Mar 2015 03:24:54 +0200 Subject: [PATCH] Add transport torture note to debug doc --- doc/debugger.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/debugger.rst b/doc/debugger.rst index 4d7a56e4..8be1f4c8 100644 --- a/doc/debugger.rst +++ b/doc/debugger.rst @@ -516,6 +516,14 @@ Implementing on top of a packet-based transport This topic is covered in a separate section. +Development time transport torture option +----------------------------------------- + +The feature option DUK_OPT_DEBUGGER_TRANSPORT_TORTURE causes Duktape to do +all debug transport read/write operations in 1-byte steps, which is useful +to catch any incorrect assumptions about reading or writing chunks of a +certain size. + Debug stream format ===================