Lines Matching full:-
9 target supporting the example TCP transport (``examples/debug-trans-socket``)
40 $ make -f Makefile.dukdebug
54 $ ./duk --debugger mandel.js
58 $ ../../duk --debugger test-dev-mandel2-func.js
83 -----------------
102 - ``./build/dukluv`` on Linux
104 - ``.\build\Debug\dukluv.exe`` on Windows
112 # Manually: see "dukluv duk_debug_proxy.js --help" for help
118 $ ../../duk --debugger test-dev-mandel2-func.js
131 …{"notify":"_TargetConnected","args":["1 10499 v1.4.0-140-gc9a6c7c duk command built from Duktape r…
132 {"notify":"Status","command":1,"args":[1,"test-dev-mandel2-func.js","global",58,0]}
134 {"reply":true,"args":[10499,"v1.4.0-140-gc9a6c7c","duk command built from Duktape repo",1]}
145 "dukluv" duk_debug_proxy.js --log-level 2 --metadata duk_debug_meta.json
146 2016-02-17T13:59:42.308Z INF Proxy: Read proxy metadata from duk_debug_meta.json
147 …2016-02-17T13:59:42.325Z INF Proxy: Listening for incoming JSON debug connection on 0.0.0.0:9093, …
148 2016-02-17T13:59:47.994Z INF Proxy: JSON proxy client connected
149 2016-02-17T13:59:47.994Z INF Proxy: Connecting to debug target at 127.0.0.1:9091
150 …2016-02-17T13:59:47.994Z INF Proxy: PROXY --> CLIENT: {"notify":"_TargetConnecting","args":["127.0…
151 2016-02-17T13:59:47.994Z INF Proxy: Connected to debug target at 127.0.0.1:9091
152 …2016-02-17T13:59:48.003Z INF Proxy: PROXY --> CLIENT: {"notify":"_TargetConnected","args":["1 1049…
153 …-02-17T13:59:48.003Z INF Proxy: Target handshake: {"line":"1 10499 v1.4.0-140-gc9a6c7c duk command…
154 2016-02-17T13:59:48.151Z INF Proxy: PROXY <-- TARGET: |04|
155 2016-02-17T13:59:48.152Z INF Proxy: PROXY <-- TARGET: |81|
156 2016-02-17T13:59:48.152Z INF Proxy: PROXY <-- TARGET: |81|
157 …2016-02-17T13:59:48.160Z INF Proxy: PROXY <-- TARGET: |78746573742d6465762d6d616e64656c322d66756e6…
158 2016-02-17T13:59:48.161Z INF Proxy: PROXY <-- TARGET: |66676c6f62616c|
159 2016-02-17T13:59:48.165Z INF Proxy: PROXY <-- TARGET: |ba|
160 2016-02-17T13:59:48.165Z INF Proxy: PROXY <-- TARGET: |80|
161 2016-02-17T13:59:48.165Z INF Proxy: PROXY <-- TARGET: |00|
162 …2016-02-17T13:59:48.165Z INF Proxy: PROXY --> CLIENT: {"notify":"Status","command":1,"args":[1,"te…
163 2016-02-17T13:59:51.289Z INF Proxy: PROXY <-- CLIENT: {"request":"BasicInfo"}
164 2016-02-17T13:59:51.289Z INF Proxy: PROXY --> TARGET: |01|
165 2016-02-17T13:59:51.289Z INF Proxy: PROXY --> TARGET: |90|
166 2016-02-17T13:59:51.289Z INF Proxy: PROXY --> TARGET: |00|
167 2016-02-17T13:59:51.291Z INF Proxy: PROXY <-- TARGET: |02|
168 2016-02-17T13:59:51.291Z INF Proxy: PROXY <-- TARGET: |e903|
169 2016-02-17T13:59:51.292Z INF Proxy: PROXY <-- TARGET: |7376312e342e302d3134302d6763396136633763|
170 …2016-02-17T13:59:51.293Z INF Proxy: PROXY <-- TARGET: |12002364756b20636f6d6d616e64206275696c74206…
171 2016-02-17T13:59:51.293Z INF Proxy: PROXY <-- TARGET: |81|
172 2016-02-17T13:59:51.293Z INF Proxy: PROXY <-- TARGET: |00|
173 …2016-02-17T13:59:51.293Z INF Proxy: PROXY --> CLIENT: {"reply":true,"args":[10499,"v1.4.0-140-gc9a…
174 …2016-02-17T14:00:06.105Z INF Proxy: PROXY <-- CLIENT: {"request":"Eval","args":["print('Hello worl…
175 2016-02-17T14:00:06.105Z INF Proxy: PROXY --> TARGET: |01|
176 2016-02-17T14:00:06.105Z INF Proxy: PROXY --> TARGET: |9e|
177 …2016-02-17T14:00:06.105Z INF Proxy: PROXY --> TARGET: |7b7072696e74282748656c6c6f20776f726c6421272…
178 2016-02-17T14:00:06.105Z INF Proxy: PROXY --> TARGET: |00|
179 2016-02-17T14:00:06.167Z INF Proxy: PROXY <-- TARGET: |04|
180 2016-02-17T14:00:06.167Z INF Proxy: PROXY <-- TARGET: |82|
181 2016-02-17T14:00:06.167Z INF Proxy: PROXY <-- TARGET: |6d48656c6c6f20776f726c64210a|
182 2016-02-17T14:00:06.168Z INF Proxy: PROXY <-- TARGET: |00|
183 …2016-02-17T14:00:06.168Z INF Proxy: PROXY --> CLIENT: {"notify":"Print","command":2,"args":["Hello…
184 2016-02-17T14:00:06.171Z INF Proxy: PROXY <-- TARGET: |02|
185 2016-02-17T14:00:06.171Z INF Proxy: PROXY <-- TARGET: |80|
186 2016-02-17T14:00:06.173Z INF Proxy: PROXY <-- TARGET: |1a405ec00000000000|
187 2016-02-17T14:00:06.173Z INF Proxy: PROXY <-- TARGET: |00|
188 …2016-02-17T14:00:06.174Z INF Proxy: PROXY --> CLIENT: {"reply":true,"args":[0,{"type":"number","da…
192 ------------------
194 A Node.js-based JSON debug proxy is also provided by ``duk_debug.js``::
202 $ ../../duk --debugger test-dev-mandel2-func.js
206 The ``-->`` (send) and ``<--`` (receiver) markers have been added for
213 …<-- {"notify":"_TargetConnected","args":["1 10199 v1.1.0-275-gbd4d610-dirty duk command built from…
214 <-- {"notify":"Status","command":1,"args":[1,"test-dev-mandel2-func.js","global",58,0]}
215 --> {"request":"BasicInfo"}
216 …<-- {"reply":true,"args":[10199,"v1.1.0-275-gbd4d610-dirty","duk command built from Duktape repo",…
217 --> {"request":"Eval", "args":[ "print(Math.PI)" ]}
218 <-- {"notify":"Print","command":2,"args":["3.141592653589793\n"]}
219 <-- {"reply":true,"args":[0,{"type":"undefined"}]}
220 --> {"request":"Resume"}
221 <-- {"reply":true,"args":[]}
222 <-- {"notify":"Status","command":1,"args":[0,"test-dev-mandel2-func.js","global",58,0]}
223 <-- {"notify":"Status","command":1,"args":[0,"test-dev-mandel2-func.js","global",58,0]}
224 …<-- {"notify":"Print","command":2,"args":[".......................................................…
225 …<-- {"notify":"Print","command":2,"args":[".......................................................…
226 …<-- {"notify":"Print","command":2,"args":[".......................................................…
228 <-- {"notify":"_Disconnecting"}
231 copy-pasting debug commands to the telnet session. This is useful even if
245 The search path can be set using the ``--source-dirs`` option given to
272 +-------------------+
274 +-------------------+
279 +-------------------+
281 +-------------------+
284 +----------||---- [example tcp transport] (port 9091)
287 | ||---- [debug protocol stream]
290 + - - | - - - - -|| - - +
292 : +-------------||-+ : [target]
294 : +-------------||-+ :
297 : +----------||-------- debug transport callbacks
301 : +----------------+ :
303 : +----------------+ :
304 + - - - - - - - - - - - +
313 Wi-Fi, serial, etc.
330 -------------
334 See ``doc/debugger.rst`` for details and ``examples/debug-trans-socket``
338 -----------------------------------------------------------
344 +--------------+ TCP +-------+ custom +--------+
345 | duk_debug.js | ------> | proxy | ---------> | target |
346 +--------------+ +-------+ +--------+
355 ---------------------------------------------------------------
370 * https://github.com/substack/stream-handbook
373 -----------------------------------------------