Prettified the debug output
This commit is contained in:
parent
53929b5dfe
commit
4c43e9290f
2 changed files with 10 additions and 2 deletions
|
@ -669,7 +669,7 @@ impl JVM {
|
|||
|
||||
//println!("{} locals: {:?}", " ".repeat(frame_index), frame.locals);
|
||||
println!("{} stack: {:?}", " ".repeat(frame_index), frame.operand_stack);
|
||||
println!("{}{:25}.{:15}:{:<10}{instruction:?}\n", " ".repeat(frame_index), class.get_classname().unwrap(), method.name, frame.instruction_pointer);
|
||||
println!("{}{}.{}:{:<10}{instruction:?}\n", " ".repeat(frame_index), class.get_classname().unwrap(), method.name, frame.instruction_pointer);
|
||||
|
||||
match instruction {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue