Package org.apache.harmony.jpda.tests.framework.jdwp

Examples of org.apache.harmony.jpda.tests.framework.jdwp.EventMod


    public ReplyPacket setMonitorContendedEnterForClassMatch(String classRegexp) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[] { new EventMod() };
        mods[0].classPattern = classRegexp;
        mods[0].modKind = EventMod.ModKind.ClassMatch;
        Event event = new Event(eventKind, suspendPolicy, mods);

        // Set event
View Full Code Here


     */
    public ReplyPacket setMonitorContendedEnteredForClassOnly(long referenceTypeID) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[] { new EventMod() };
        mods[0].clazz = referenceTypeID;
        mods[0].modKind = EventMod.ModKind.ClassOnly;
        Event event = new Event(eventKind, suspendPolicy, mods);

        // Set event
View Full Code Here

    public ReplyPacket setMonitorContendedEnteredForClassMatch(String classRegexp) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[] { new EventMod() };
        mods[0].classPattern = classRegexp;
        mods[0].modKind = EventMod.ModKind.ClassMatch;
        Event event = new Event(eventKind, suspendPolicy, mods);

        // Set event
View Full Code Here

     */
    public ReplyPacket setMonitorWaitForClassOnly(long referenceTypeID) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.MONITOR_WAIT;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[] { new EventMod() };
        mods[0].clazz = referenceTypeID;
        mods[0].modKind = EventMod.ModKind.ClassOnly;
        Event event = new Event(eventKind, suspendPolicy, mods);

        // Set event
View Full Code Here

     */
    public ReplyPacket setMonitorWaitForClassMatch(String classRegexp) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.MONITOR_WAIT;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[] { new EventMod() };
        mods[0].classPattern = classRegexp;
        mods[0].modKind = EventMod.ModKind.ClassMatch;
        Event event = new Event(eventKind, suspendPolicy, mods);

        // Set event
View Full Code Here

     */
    public ReplyPacket setMonitorWaitForClassExclude (String classRegexp) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.MONITOR_WAIT;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[] { new EventMod() };
        mods[0].classPattern = classRegexp;
        mods[0].modKind = EventMod.ModKind.ClassExclude;
        Event event = new Event(eventKind, suspendPolicy, mods);

        // Set event
View Full Code Here

     */
    public ReplyPacket setMonitorWaitedForClassOnly(long referenceTypeID) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.MONITOR_WAITED;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[] { new EventMod() };
        mods[0].clazz = referenceTypeID;
        mods[0].modKind = EventMod.ModKind.ClassOnly;
        Event event = new Event(eventKind, suspendPolicy, mods);

        // Set event
View Full Code Here

     */
    public ReplyPacket setMonitorWaitedForClassMatch(String classRegexp) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.MONITOR_WAITED;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[] { new EventMod() };
        mods[0].classPattern = classRegexp;
        mods[0].modKind = EventMod.ModKind.ClassMatch;
        Event event = new Event(eventKind, suspendPolicy, mods);

        // Set event
View Full Code Here

     */
    public ReplyPacket setMonitorWaitedForClassExclude (String classRegexp) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.MONITOR_WAITED;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[] { new EventMod() };
        mods[0].classPattern = classRegexp;
        mods[0].modKind = EventMod.ModKind.ClassExclude;
        Event event = new Event(eventKind, suspendPolicy, mods);

        // Set event
View Full Code Here

            boolean uncaught) {
        // Prepare corresponding event
        byte eventKind = JDWPConstants.EventKind.EXCEPTION;
        byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
        EventMod[] mods = new EventMod[1];
        mods[0] = new EventMod();
        mods[0].modKind = EventMod.ModKind.ExceptionOnly;
        mods[0].caught = caught;
        mods[0].uncaught = uncaught;
        mods[0].exceptionOrNull = exceptionID;
        Event event = new Event(eventKind, suspendPolicy, mods);
View Full Code Here

TOP

Related Classes of org.apache.harmony.jpda.tests.framework.jdwp.EventMod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.