[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2069.0. "old-style VMS-Debugger??" by SUOSW3::SJOQUIST (Chaos�) Thu Jan 18 1990 09:20

    Can anybody tell me how to shutoff the DW-debugger to get the old,
    faithful (and quick) VMS-debugger.  The DW-debugger is real nice
    (congrats to the developers), but I need to get in and out of debugger
    real fast and the old-style would be more appropriate...
    
    Thanks 
    Carl
T.RTitleUserPersonal
Name
DateLines
2069.1QUARK::LIONELFree advice is worth every centThu Jan 18 1990 09:235
$ DEFINE DBG$DECW$DISPLAY " "

The space in the equivalence name is important.

		Steve
2069.2In conjunction, the new CREATE TERMINAL command is handy ...ARTFUL::SCOTTMikey hates it.Thu Jan 18 1990 14:0213
In addition to the definition in .1, under VMS V5.3, I define a symbol to make
a separate DECterm for the debugger, like so:

$ DWIN*DOW ==-
      "CREATE/TERMINAL/NOPROCESS"+-
            "/WINDOW=(TITLE="""+NODE+"::Debugger"","+-
                     "ICON="""+NODE+"::Debugger"",ROWS=40)"+-
            "/DEFINE=(TABLE=LNM$JOB,DBG$INPUT,DBG$OUTPUT)"

This brings us back to the same wonderful level of functionality attained with
the debugger using VWS.  (The only annoyance is having to give the "DWINDOW"
command prior to each debugging session, since the window disappears as soon
as DEBUG deassigns its channel to it).
2069.3VANISH::BAILEYFear eats the SoulThu Jan 18 1990 14:4620
>(The only annoyance is having to give the "DWINDOW"
>command prior to each debugging session, since the window disappears as soon
>as DEBUG deassigns its channel to it).


Wag..


$ Spawn/NOwait/In=nl:/out=nl:   @L

where L.com contains..


$ OPEN/WRITE OUT DBG$OUTPUT
$ LOOP:
$ WAIT 20:30:00
$ GOTO LOOP


and now the DBG window reference count should never go to zero
2069.4Actually, you don't even need an extra process...ARTFUL::SCOTTMikey hates it.Thu Jan 18 1990 18:4511
RE: .3

Thanks for the suggestion--I hadn't thought of that.  However, once you create
the debug window, all you have to do is something like:

        $ open/share junk dbg$output

in the same process you gave the "DWINDOW" command (usually the one where I'm
invoking the program being debugged)--you don't need to spawn an extra process
just to hold onto the window.  Lord knows I spend enough time waiting for VMS
to create processes, without adding unnecessary ones 8^).
2069.5This one's been in VMS since V1PRNSYS::LOMICKAJJeffrey A. LomickaFri Jan 19 1990 11:482
Why not just $ ALLOCATE DBG$OUTPUT?  That's what the command is for.

2069.6I'd forgotten it was there!ARTFUL::SCOTTMikey hates it.Fri Jan 19 1990 14:016
RE: .-1

Thanks--for some reason, I can't remember the last time I used the ALLOCATE
command.  Probably because most of my work for the past few years has been
standalone in privileged accounts either on my workstation or on some lab
system.
2069.7MINNIE::DOUGjust sing it like you feel itThu Jan 25 1990 12:1814
    i'm bothered by the fact that lots of people (myself included) are
    using these tricks in order not to use the decwindows interface
    of the debugger.  at first, i thought that i must be using it
    incorrectly, but everyone seems to have the same complaint.
    
    is it possible that we are all using it incorrectly?  for example, a
    much better way of using it would be if allowed you to keep the
    debugger running _all the time_ and had the capability to switch it
    from program to program (or different runs of the same program).
    similar to the way we use editors:  you don't stop and start the editor
    everytime you wish to edit a new program. 
    
    has the debugger this capability?  if not, is it planned?  is this
    note in the totally wrong notesfile? :-)>
2069.8QUARK::LIONELFree advice is worth every centThu Jan 25 1990 13:258
The answer to the three questions in your last paragraph are, in order:

	No
	It's on the wish list - I don't know about planning
	Probably - TURRIS::DEBUG (or .easynote.confs.basesys.debug)
	  would be a better place.

			Steve