165 <td>Public method to return the main script we are currently running.</td> |
165 <td>Public method to return the main script we are currently running.</td> |
166 </tr><tr> |
166 </tr><tr> |
167 <td><a href="#DebugClientBase.handleJsonCommand">handleJsonCommand</a></td> |
167 <td><a href="#DebugClientBase.handleJsonCommand">handleJsonCommand</a></td> |
168 <td>Public method to handle a command serialized as a JSON string.</td> |
168 <td>Public method to handle a command serialized as a JSON string.</td> |
169 </tr><tr> |
169 </tr><tr> |
170 <td><a href="#DebugClientBase.handleLine">handleLine</a></td> |
|
171 <td>Public method to handle the receipt of a complete line.</td> |
|
172 </tr><tr> |
|
173 <td><a href="#DebugClientBase.input">input</a></td> |
170 <td><a href="#DebugClientBase.input">input</a></td> |
174 <td>Public method to implement input() (Python 2) using the event loop.</td> |
171 <td>Public method to implement input() (Python 2) using the event loop.</td> |
175 </tr><tr> |
172 </tr><tr> |
176 <td><a href="#DebugClientBase.main">main</a></td> |
173 <td><a href="#DebugClientBase.main">main</a></td> |
177 <td>Public method implementing the main method.</td> |
174 <td>Public method implementing the main method.</td> |
628 </p><dl> |
625 </p><dl> |
629 <dt><i>jsonStr</i> (str)</dt> |
626 <dt><i>jsonStr</i> (str)</dt> |
630 <dd> |
627 <dd> |
631 string containing the command received from the IDE |
628 string containing the command received from the IDE |
632 </dd> |
629 </dd> |
633 </dl><a NAME="DebugClientBase.handleLine" ID="DebugClientBase.handleLine"></a> |
|
634 <h4>DebugClientBase.handleLine</h4> |
|
635 <b>handleLine</b>(<i>line</i>) |
|
636 <p> |
|
637 Public method to handle the receipt of a complete line. |
|
638 </p><p> |
|
639 It first looks for a valid protocol token at the start of the line. |
|
640 Thereafter it trys to execute the lines accumulated so far. |
|
641 </p><dl> |
|
642 <dt><i>line</i></dt> |
|
643 <dd> |
|
644 the received line |
|
645 </dd> |
|
646 </dl><a NAME="DebugClientBase.input" ID="DebugClientBase.input"></a> |
630 </dl><a NAME="DebugClientBase.input" ID="DebugClientBase.input"></a> |
647 <h4>DebugClientBase.input</h4> |
631 <h4>DebugClientBase.input</h4> |
648 <b>input</b>(<i>prompt</i>) |
632 <b>input</b>(<i>prompt</i>) |
649 <p> |
633 <p> |
650 Public method to implement input() (Python 2) using the event loop. |
634 Public method to implement input() (Python 2) using the event loop. |