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 |
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() |
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 |
|
|