;; ================================================
;; Script: dbg-select-file.r
;; downloaded from: www.REBOL.org
;; on: 25-Jul-2026
;; at: 2:14:15.673133 UTC
;; owner: jlm [script library member who can update
;; this script]
;; ================================================
REBOL [
    File:   %dbg-select-file.r
    Date: 03-Jul-2026
    Title:  "GUI for dbg Rebol file"
    Version: 1
    Author: "JLM"
    Purpose: {
        GUI to debug Rebol File using dbg.
    }
    library: [
        level: 'beginner 
        platform: none 
        type: [package tool]
        domain: [debug testing] 
        tested-under: [view 2.7.8 on "Ubuntu 18.04"]
        support: none 
        license: none 
        see-also: none
    ]
]

dbg: do %dbg.r

forever [
   file: request-file/only/title/keep "Script to debug" "Load"
   unless none? file [ 
      change-dir pick split-path file 1
      dbg/debug/run file
   ]
   dbg/undebug
]
;; ======================================================
;; dbg-select-file.r is a package.
;; 
;; That means the script alone is not enough. There
;; are other files associated with it that you
;; will need to download using the package downloader.
;; 
;; To run the package downloader open a REBOL console
;; and:
;; do http://www.rebol.org/library/public/repack.r
;;  for REBOL/View
;; or
;; do http://www.rebol.org/library/public/repack-core.r
;;  for REBOL/Core
;; 
;; For more information on packages:
;; http://localhost/cgi-bin/boiler.r?display=package-help
;; ======================================================
