Lines Matching defs:command
261 // Converts a text command to a JSON request.
273 // entered as a command. Converting that to a JSON request is trivial.
279 // Check for a simple carriage return to repeat the last command:
285 cmd_line = repeat_cmd_line; // use command to repeat.
289 if (!is_running) { // Only save the command if in debugger mode.
290 repeat_cmd_line = cmd_line; // save last command.
296 // Find the command.
315 // Switch on command.
467 // Return undefined to indicate command handled internally (no JSON).
475 // Return undefined to indicate command handled internally (no JSON).
480 throw new Error('Unknown command "' + cmd + '"');
489 function RequestPacket(command) {
492 this.command = command;
501 if (this.command) {
502 json += ',"command":' + JSON.stringify(this.command);
518 DebugRequest.prototype.createRequest = function(command) {
519 return new RequestPacket(command);
523 // Create a JSON request for the evaluation command.
551 // Create a JSON request for the references/instances command.
567 // Create a JSON request for the continue command.
574 // Create a JSON request for the step command.
576 // Requesting a step is through the continue command with additional
583 // Only process args if the command is 'step' which is indicated by type being
593 // Check if we have a gdb stype step command. If so, the 1st arg would
595 // parsing for the legacy v8 step command.
598 // No step count at arg 1. Process as legacy d8 step command:
648 // Create a JSON request for the backtrace command.
650 // Build a backtrace request from the text command.
695 // Create a JSON request for the frame command.
697 // Build a frame request from the text command.
708 // Create a JSON request for the scopes command.
710 // Build a scopes request from the text command.
716 // Create a JSON request for the scope command.
718 // Build a scope request from the text command.
729 // Create a JSON request for the print command.
731 // Build an evaluate request from the text command.
739 // Create a JSON request for the dir command.
741 // Build an evaluate request from the text command.
749 // Create a JSON request for the references command.
751 // Build an evaluate request from the text command.
760 // Create a JSON request for the instances command.
762 // Build an evaluate request from the text command.
772 // Create a JSON request for the list command.
807 // Create a JSON request for the source command.
809 // Build a evaluate request from the text command.
837 // Create a JSON request for the scripts command.
839 // Build a evaluate request from the text command.
879 // Create a JSON request for the break command.
881 // Build a evaluate request from the text command.
953 // Create a JSON request for the clear command.
955 // Build a evaluate request from the text command.
970 // Create a JSON request for the change breakpoint command.
972 function(args, command) {
981 if ((command == 'enable' || command == 'disable') &&
1016 // If we matched one of the command formats, then excType will be non-null:
1018 // Build a evaluate request from the text command.
1023 request.arguments.enabled = (command == 'enable');
1029 // Build a evaluate request from the text command.
1045 switch(command) {
1069 // Create a JSON request for the disconnect command.
1077 // Create a JSON request for the info command.
1081 // Build a evaluate request from the text command.
1085 // Build a evaluate request from the text command.
1089 // Build a evaluate request from the text command.
1142 // Create a JSON request for the threads command.
1144 // Build a threads request from the text command.
1150 // Handle the trace command.
1169 // Handle the help command.
1178 print(' e.g. d[elete] - you get the same command if you type d or delete.');
1228 // hidden command: trace debug json - toggles tracing of debug json packets
1349 switch (response.command()) {
1665 'Response for unknown command \'' + response.command() + '\'' +
1739 ProtocolPackage.prototype.command = function() {
1740 return this.packet_.command;