byte eventKind = JDWPConstants.EventKind.SINGLE_STEP;
byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
int modsSize = classRegexp.length + 1;
EventMod[] mods = new EventMod[modsSize];
for (int i = 0; i < classRegexp.length; i++) {
mods[i] = new EventMod();
mods[i].classPattern = classRegexp[i];
mods[i].modKind = EventMod.ModKind.ClassExclude;
}
int index = modsSize - 1;
mods[index] = new EventMod();
mods[index].modKind = EventMod.ModKind.Step;
mods[index].thread = threadID;
mods[index].size = stepSize;
mods[index].depth = stepDepth;