Commit b04ecc25 authored by Stefan Marr's avatar Stefan Marr

Fixed print_stack_trace in Frame

Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
parent 72925e0e
......@@ -169,10 +169,10 @@ class Frame(Array):
def print_stack_trace(self, nilObject):
# Print a stack trace starting in this frame
from som.vm.universe import std_print
from som.vm.universe import std_print, std_println
std_print(self.get_method().get_holder().get_name().get_string())
std_print(self.get_bytecode_index() + "@"
+ self.get_method().get_signature().get_string())
std_println(" %d @ %s" % (self.get_bytecode_index(),
self.get_method().get_signature().get_string()))
if self.has_previous_frame(nilObject):
self.get_previous_frame().print_stack_trace(nilObject)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment