Remote Debugging Protocol: Difference between revisions

m
→‎Source Locations: Fix cut-and-paste-o.
(→‎Packets: Refine no-such-actor response.)
m (→‎Source Locations: Fix cut-and-paste-o.)
Line 289: Line 289:
   { "function":<i>location</i>, "id":<i>id</i>, "line":<i>line</i>, "column":<i>column</i> }
   { "function":<i>location</i>, "id":<i>id</i>, "line":<i>line</i>, "column":<i>column</i> }


This refers to line <i>line</i>, column <i>column</i> of the source code passed to the call to the <tt>Function</tt> constructor at <i>location</i>. To distinguish the different texts passed to eval, each is assigned a unique integer, <i>id</i>.
This refers to line <i>line</i>, column <i>column</i> of the source code passed to the call to the <tt>Function</tt> constructor at <i>location</i>. To distinguish the different texts passed to the <tt>Function</tt> constructor, each is assigned a unique integer, <i>id</i>.


As indicated, locations can be nested. A location like this one:
As indicated, locations can be nested. A location like this one:
Confirmed users
497

edits