/[freeride]/freeride/plugins/rubyide_tools_debugger/debugger.rb
ViewVC logotype

Diff of /freeride/plugins/rubyide_tools_debugger/debugger.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by ljulliar, Sat Mar 1 21:04:53 2003 UTC revision 1.9 by ljulliar, Mon Mar 3 22:35:03 2003 UTC
# Line 459  class Debugger < Component Line 459  class Debugger < Component
459      @paused = true      @paused = true
460      update_thread_list()      update_thread_list()
461      update_frame_list()      update_frame_list()
462        update_local_variables()
463        update_global_variables()
464    
465      # The pipe approach doesn't work on Windows, so use the      # The pipe approach doesn't work on Windows, so use the
466      # more portable Thread approach and suspend the Drb sub thread      # more portable Thread approach and suspend the Drb sub thread
# Line 506  class Debugger < Component Line 508  class Debugger < Component
508      # stdout.print( *args )      # stdout.print( *args )
509    end    end
510    
511    def global_vars(gv)    ##
512      puts "gv = #{gv}"    # Update the local variable list and ask the renderer to reflect this in the UI
513      #
514      def update_local_variables()
515        lv_info = @debuggee.fr_local_variables()
516        @actions['update_local_var_list'].invoke(lv_info)    
517      end
518    
519      ##
520      # Update the global variable list and ask the renderer to reflect this in the UI
521      #
522      def update_global_variables()
523        gv_info = @debuggee.fr_global_variables()
524        @actions['update_global_var_list'].invoke(gv_info)    
525    end    end
526    
527    def show_thread_list()    def show_thread_list()
# Line 567  class Debugger < Component Line 581  class Debugger < Component
581    
582        # first time we are stopping in this file? Then keep track of it        # first time we are stopping in this file? Then keep track of it
583        add_loaded_file(@file) unless check_loaded_file(@file)        add_loaded_file(@file) unless check_loaded_file(@file)
584    
585          # update the local variables view
586          update_local_variables()
587      end      end
588    end    end
589    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26