From: Lucas Bajolet Date: Wed, 4 Jun 2014 20:02:17 +0000 (-0400) Subject: debugger: Less noise when printing all available variables in the prompt. X-Git-Tag: v0.6.6~48^2 X-Git-Url: http://nitlanguage.org debugger: Less noise when printing all available variables in the prompt. Signed-off-by: Lucas Bajolet --- diff --git a/src/debugger.nit b/src/debugger.nit index 63c09b6..697f86b 100644 --- a/src/debugger.nit +++ b/src/debugger.nit @@ -647,13 +647,12 @@ class Debugger var keys = map_of_instances.iterator - print "Variables collection : \n" + var self_var = seek_variable("self", frame) + print "self: {self_var.to_s}" for instance in map_of_instances.keys do - print "Variable {instance.to_s}, Instance {map_of_instances[instance].to_s}" + print "{instance.to_s}: {map_of_instances[instance].to_s}" end - - print "\nEnd of current instruction \n" else if parts_of_command[1] == "stack" then print self.stack_trace else if parts_of_command[1].chars.has('[') and parts_of_command[1].chars.has(']') then