Über Stack Frames haben wir schon gesprochen.
We've already talked about stack frames.
So viel zur Wiederholung über Stack Frames.
So much for the recap on stack frames.
Gebe einen Backtrace des Stack Frames aus.
Print a backtrace of the stack frames
Die grundlegende Idee eines Frame Pointers ist, ein Register zu haben, das die Basisadresse des aktuellen Stack Frames enthält.
The basic idea behind a frame pointer is to have one register that holds the address to the base of your current stack frame.
Das Kommando:bt oder:backtrace zeigt eine Liste der Stack Frames.
The:bt ("backtrace") command shows a list of stack frames.
Ab PHP 5.4.0 kann dieser Parameter benutzt werden, um die Anzahl an zurückgegebenen Stack Frames zu limitieren.
As of 5.4.0, this parameter can be used to limit the number of stack frames printed.
Das Problem ist, dass man die Adresse von etwas aus der Funktion zurückgibt, was eigentlich nur innerhalb des Stack Frames genau dieser Funktion existiert.
The problem is that you return the address of something that lives in the stack frame of the function foo().
Bei (2) wird dann die „Größe" des Stack Frames verändert und dadurch Platz gemacht für unsere Variablen.
The code at (2) alters the "size" of the stack frame and thus makes room for our variables.
Klicken Sie auf Stack Frames, um zum Quellcode zu gelangen und mit der Fehlerbehebung anzufangen.
Click stack frames to go to source and start debugging. Alerts