Re: A Toughie: Debugging a symbiont under DECwindows...
From: Tom Wade (t.wade_at_vms.eurokom.removespam.ie)
Date: 05/23/03
- Next message: Vic Mendham: "Error message on PerfectDisk V6.3 on VMS 5.5-2"
- Previous message: Patrick MOREAU, CENA Athis, Tel: 01.69.57.68.40: "Re: Overclocking VAXen"
- In reply to: Galen: "A Toughie: Debugging a symbiont under DECwindows..."
- Next in thread: Christoph Gartmann: "Re: A Toughie: Debugging a symbiont under DECwindows..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 23 May 2003 15:44:46 +0100
"Galen" <gspamtackett@yahoo.com> wrote in message
news:bdc65a53.0305230421.4b510d0b@posting.google.com...
> ...when the VMS V7.3-1 workstation has:
>
> 1) Only one head, and no more available to be connected;
> 2) No network connection;
> 3) No serial terminal available to hook up.
>
> The debugger manual says you can't use a DECwindows display for
> debugging a detached process, so I guess I can't just define
> DBG$DECW$DISPLAY (though I haven't tried).
>
> Is there perhaps a pseudoterminal program that might do the job? It
> might let me create a pseudoterminal, point DBG$INPUT and DBG$OUTPUT
> to it, and then just pass characters between my DECterm and the
> debugger?
First get a window to POP up using:
$ Create /terminal /detached /noproc -
/define_logical=(TABLE=LNM$SYSTEM,DEBUG_TTY)
This will create a window on your workstation (not logged in), and define a
logical name DEBUG_TTY in the system table to point at it. Don't type
anything in this window yet.
Then do the following (in an 'active' window *not* the one just created):
$ Define /table=LNM$GROUP_000001 DBG$INPUT DEBUG_TTY:
$ Define /table=LNM$GROUP_000001 DBG$OUTPUT DEBUG_TTY:
This defines the DBG logicals in the group table for username SYSTEM
(symbionts run under the SYSTEM account).
Then start your symbiont. The SMG style debug will start up in the window.
You can put the CREATE command in a command file, as you will need to
reexecute it every time you do a test run. The DBG logicals need be defined
once, and removed when you are finished.
I used the above for debugging symbiont code.
---------------------------------------------------------------
Tom Wade | EMail: tee dot wade at eurokom dot ie
EuroKom | X400: g=tom;s=wade;o=eurokom;p=eurokom;
Unit A2 | a=eirmail400;c=ie
Nutgrove Office Park | Tel: +353 (1) 296-9696
Rathfarnham | Fax: +353 (1) 296-9697
Dublin 14 | Disclaimer: This is not a disclaimer
Ireland | Tip: "Friends don't let friends do Unix !"
- Next message: Vic Mendham: "Error message on PerfectDisk V6.3 on VMS 5.5-2"
- Previous message: Patrick MOREAU, CENA Athis, Tel: 01.69.57.68.40: "Re: Overclocking VAXen"
- In reply to: Galen: "A Toughie: Debugging a symbiont under DECwindows..."
- Next in thread: Christoph Gartmann: "Re: A Toughie: Debugging a symbiont under DECwindows..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|