Home | History | Annotate | Download | only in cmdline

Lines Matching refs:JDWP

28 #include "jdwp/jdwp.h"
59 struct CmdlineType<JDWP::JdwpOptions> : CmdlineTypeParser<JDWP::JdwpOptions> {
61 * Handle one of the JDWP name/value pairs.
63 * JDWP options are:
78 VLOG(jdwp) << "ParseJdwpOptions: " << options;
91 JDWP::JdwpOptions jdwp_options;
97 "Can't parse JDWP option '" + jdwp_option + "' in '" + options + "'");
104 // We fail to parse this JDWP option.
109 if (jdwp_options.transport == JDWP::kJdwpTransportUnknown) {
110 return Result::Failure(s + "Must specify JDWP transport: " + options);
113 return Result::Failure(s + "Must specify JDWP host and port when server=n: " + options);
120 JDWP::JdwpOptions* jdwp_options) {
123 jdwp_options->transport = JDWP::kJdwpTransportSocket;
125 jdwp_options->transport = JDWP::kJdwpTransportAndroidAdb;
127 return Result::Failure("JDWP transport not supported: " + value);
135 return Result::Failure("JDWP option 'server' must be 'y' or 'n'");
143 return Result::Failure("JDWP option 'suspend' must be 'y' or 'n'");
157 return Result::Failure("JDWP address missing port: " + value);
162 return Result::Failure("JDWP address has junk in port field: " + value);
167 LOG(INFO) << "Ignoring JDWP option '" << name << "'='" << value << "'";
169 LOG(INFO) << "Ignoring unrecognized JDWP option '" << name << "'='" << value << "'";
592 } else if (verbose_options[j] == "jdwp") {
593 log_verbosity.jdwp = true;