function dbg(argin)

% master lists and properties: unchanging during runtime
global plotcolors master_variables master_datasets num_vars master_archives
global master_getxxx master_resolutions available_resolutions num_sets
global master_georange master_zrange master_timerange master_dataprops
global master_rangemin master_rangemax switchon switchoff timetoggle
global dods_colors small_logo logo_map aspect aspectstring avhrrpal palettefile
global master_guiserver guiserver datacolor num_args color_limits

% figure and menu handles and variables that change
global datasets ranges var brs_old_var dset brs_old_dset count num_rang
global AXES range_boxes axes_vals worldmap thandle tstring lhandle
global browse_fig display_fig save_fig scroll_fig image_string
global ui_help ui_prop ui_data ui_res ui_stride gui_buttons fontsize
global ui_prefs ui_plots varplaces global_data_list dodsdir
global dset_stride num_urls archive getxxx display_choices
global prefs VERSION fixit temp_xrange check_level lyr range_day
global display_menu prev_num_urls variables datasets rangemin rangemax
global dirsep

global dslots vslots dslide vslide dnum_slots vnum_slots num_slots
global datasets variables nsets nvars scr_size height scroll_buttons

if nargin == 1
  eval(argin)
end

return
