mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-29 11:25:52 +00:00
Added: Debugger - Remove watch
Added: Debugger - List of watches Added: Debugger - Show flag of watch type (read/write) Fixed: Debugger - Threading issues with multiple SWFs Fixed: Debugger - Reading variables on 64bit flash players (like in browsers) Enhanced debug game test SWFs
This commit is contained in:
@@ -441,9 +441,13 @@ public class Main {
|
||||
}
|
||||
|
||||
public static synchronized boolean addWatch(DebuggerSession session, Variable v, long v_id, boolean watchRead, boolean watchWrite) {
|
||||
DebuggerCommands.Watch w = session.addWatch(v, v_id, watchRead, watchWrite);
|
||||
DebuggerCommands.Watch w = session.addWatch(v.name, v_id, watchRead, watchWrite);
|
||||
return w != null;
|
||||
}
|
||||
|
||||
public static synchronized boolean removeWatch(DebuggerSession session, Variable v, long v_id) {
|
||||
return session.removeWatch(v.name, v_id);
|
||||
}
|
||||
|
||||
public static void runPlayer(String title, final String exePath, String file, String flashVars) {
|
||||
if (!new File(file).exists()) {
|
||||
@@ -1137,7 +1141,7 @@ public class Main {
|
||||
}
|
||||
|
||||
public static void updateSession() {
|
||||
DebuggerSession session = getCurrentDebugSession();
|
||||
/*DebuggerSession session = getCurrentDebugSession();
|
||||
for (DebuggerHandler.FrameChangeListener l : getDebugHandler().getFrameChangeListeners()) {
|
||||
l.frameChanged(session);
|
||||
}
|
||||
@@ -1145,6 +1149,7 @@ public class Main {
|
||||
if (getDebugHandler().getNumberOfPausedSessions() > 0) {
|
||||
mainFrame.getPanel().showDebugStackFrame();
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
public static void ensureMainFrame() {
|
||||
@@ -3197,7 +3202,7 @@ public class Main {
|
||||
|
||||
@Override
|
||||
public void disconnected(DebuggerSession session) {
|
||||
Main.updateSession();
|
||||
//Main.updateSession();
|
||||
if (Main.mainFrame != null) {
|
||||
Main.mainFrame.getMenu().updateComponents();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user