Article View: comp.os.os2.programmer
Article #3168(none)
From: Marc Cohen 8/443-3945
Date: Fri, 31 May 1991 12:03
Date: Fri, 31 May 1991 12:03
38 lines
2373 bytes
2373 bytes
|From: nico@Micrognosis.Los-Gatos.CA.US (Speaker-to-Workstations)
|Date: 31 May 91 01:15:25 GMT
|
|It's probably a well known technique when debugging PM programs to use two|
|monitors: one to display the PM app, the other exclusively displaying
|codeview. This prevents the nasty double page flick between codeview's
|screen and the desktop when you step, set breaks, etc.
|
|Although this environment is easy to set up on a PC, I have so far had
|zero success setting it up on a PS/2. My config is a PS/2, an 8514/A
|adapter card, and two monitors - one plugged into the 8514/A and the other
|into the PS/2's standard onboard VGA connector.
|
|IBM claim that using codeview with 2 monitors is impossible. From my
|foolings around, this may indeed be true (for PS/2's, mind you).
|
|Anyone ever had success in this area?
I use this format all the time. You need to install so that the 8514 is
your PM display and the VGA output is your full screen display, leaving
the PM output frozen on the 8514 while you are in full screen mode. The
install procedure should have asked you what you had in monitors during
the install process. In any case, if you installed with only one
monitor, the relavent CONFIG.SYS lines are:
SET VIDEO_DEVICES=VIO_IBMVGA,VIO_IBM8514A
SET VIO_IBMVGA=DEVICE(BVHVGA)
SET VIO_IBM8514A=DEVICE(BVH8514A)
Then you need to issue your CVP command from the full screen session.
Your PM application will run in the PM session, but Codeview will run in
the full-screen session, and you will have both session visible on the
monitors.
A note of warning. Do not Ctrl-Esc or Alt-Esc to the PM session while
you are stopped at a breakpoint! You're PM application being debugged
will be stopped dead and unable to respond to any PM message Sent to it,
and you will now have locked your system!
Marc L. Cohen vnet: MLCOHEN at BCRVMPC1
internet: mlcohen@bcrvmpc1.vnet.ibm.com
Technical Details
Message-ID:
<9105311146.AA13698@grape.ecs.clarkson.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!clarkson!BCRVMPC1.vnet.ibm.com!MLCOHENShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!clarkson!BCRVMPC1.vnet.ibm.com!MLCOHEN From: mlcohen@bcrvmpc1.vnet.ibm.com (Marc Cohen 8/443-3945) Newsgroups: comp.os.os2.programmer Subject: (none) Message-ID: <9105311146.AA13698@grape.ecs.clarkson.edu> Date: 31 May 91 12:03:58 GMT Lines: 38 |Subject: Two monitors on PS/2 for Codeview