Remove the Jump command from hphpd.
Hphpd's Jump command has been fundamentally broken for a long time. It was originally implemented to run the byte code in a modified way which didn't make state changes, and wait for the destination offset to be reached. We lost the ability to do that long ago, and the implementation of this command has atrophied since. As it stands now, if you're lucky it might act like "run until", which is the opposite of what it is documented to do. I've removed the command entirely. Fixing it is a very large effort which we might consider some time in the future.
Esse commit está contido em:
@@ -102,7 +102,6 @@ bool DebuggerCommand::Receive(DebuggerThriftBuffer &thrift,
|
||||
case KindOfFrame : cmd = DebuggerCommandPtr(new CmdFrame ()); break;
|
||||
case KindOfGlobal : cmd = DebuggerCommandPtr(new CmdGlobal ()); break;
|
||||
case KindOfInfo : cmd = DebuggerCommandPtr(new CmdInfo ()); break;
|
||||
case KindOfJump : cmd = DebuggerCommandPtr(new CmdJump ()); break;
|
||||
case KindOfConstant : cmd = DebuggerCommandPtr(new CmdConstant ()); break;
|
||||
case KindOfList : cmd = DebuggerCommandPtr(new CmdList ()); break;
|
||||
case KindOfMachine : cmd = DebuggerCommandPtr(new CmdMachine ()); break;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário