blob: 72b6aeaf28a9fcfd617e612a66f3d7e41ec918d7 [file] [log] [blame]
/*
* Copyright (c) 2015, the Dart project authors.
*
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
package org.dartlang.vm.service.element;
// This is a generated file.
/**
* Adding new values to {@link EventKind} is considered a backwards compatible change. Clients
* should ignore unrecognized events.
*/
@SuppressWarnings({"WeakerAccess", "unused"})
public enum EventKind {
/**
* A breakpoint has been added for an isolate.
*/
BreakpointAdded,
/**
* A breakpoint has been removed.
*/
BreakpointRemoved,
/**
* An unresolved breakpoint has been resolved for an isolate.
*/
BreakpointResolved,
/**
* A breakpoint has been updated.
*/
BreakpointUpdated,
/**
* Event from dart:developer.postEvent.
*/
Extension,
/**
* A garbage collection event.
*/
GC,
/**
* Notification from dart:developer.inspect.
*/
Inspect,
/**
* Notification that an isolate has exited.
*/
IsolateExit,
/**
* Notification that an isolate has been reloaded.
*/
IsolateReload,
/**
* Notification that an isolate is ready to run.
*/
IsolateRunnable,
/**
* Notification that a new isolate has started.
*/
IsolateStart,
/**
* Notification that isolate identifying information has changed. Currently used to notify of
* changes to the isolate debugging name via setName.
*/
IsolateUpdate,
/**
* Event from dart:developer.log.
*/
Logging,
/**
* Indicates an isolate is not yet runnable. Only appears in an Isolate's pauseEvent. Never sent
* over a stream.
*/
None,
/**
* An isolate has paused at a breakpoint or due to stepping.
*/
PauseBreakpoint,
/**
* An isolate has paused due to an exception.
*/
PauseException,
/**
* An isolate has paused at exit, before terminating.
*/
PauseExit,
/**
* An isolate has paused due to interruption via pause.
*/
PauseInterrupted,
/**
* An isolate has paused after a service request.
*/
PausePostRequest,
/**
* An isolate has paused at start, before executing code.
*/
PauseStart,
/**
* An isolate has started or resumed execution.
*/
Resume,
/**
* Notification that an extension RPC was registered on an isolate.
*/
ServiceExtensionAdded,
/**
* Notification that a Service has been registered into the Service Protocol from another client.
*/
ServiceRegistered,
/**
* Notification that a Service has been removed from the Service Protocol from another client.
*/
ServiceUnregistered,
/**
* A block of timeline events has been completed.
*
* This service event is not sent for individual timeline events. It is subject to buffering, so
* the most recent timeline events may never be included in any TimelineEvents event if no
* timeline events occur later to complete the block.
*/
TimelineEvents,
/**
* The set of active timeline streams was changed via `setVMTimelineFlags`.
*/
TimelineStreamSubscriptionsUpdate,
/**
* Notification that a VM flag has been changed via the service protocol.
*/
VMFlagUpdate,
/**
* Notification that VM identifying information has changed. Currently used to notify of changes
* to the VM debugging name via setVMName.
*/
VMUpdate,
/**
* Notification of bytes written, for example, to stdout/stderr.
*/
WriteEvent,
/**
* Represents a value returned by the VM but unknown to this client.
*/
Unknown
}