[comp.os.os2.misc] CodeView 3.0 in a PM Window: It doesn't work.

stever@Octopus.COM (Steve Resnick ) (08/01/90)

Hello NetLanders!

I am running OS/2 1.2 SE on a BTC 386/20 (4MB RAM, Award 3.10 BIOS, Video-7
1024i VGA in 1024x768 mode) and am using MSC 6.0. My problem is this: I can
get codeview to run in a full screen session, but I cannot get it to run 
in a PM window. When I try I get a message: "Internal Debugger Error: 0"
I have checked the .EXE header and IOPL is set in config.sys. What am I 
missing?


Thanx for any help....

Steve


-- 
----------------------------------------------------------------------------
steve.resnick@f105.n143.z1@FIDONET.ORG #include<std_disclaimer.h>
Flames, grammar errors, spelling errrors >/dev/nul
----------------------------------------------------------------------------

wmccormick@cup.portal.com (William B McCormick) (08/01/90)

As far as I know, CodeView doesn't run in a window.  If you've
ever been debugging a PM program and accidently tried to switch
screen groups at the wrong time, you found out why.  PM has a 
single system message queue and if one process is processing
a message, others processes must wait -- in fact, PM as a whole
must wait.

That means that you can't switch back and forth between WINDOWS
when debugging, though you can switch SCREEN GROUPS.

Bill

---
William B. McCormick
Contractor - IBM OS/2 Development
wmccormick@cup.portal.com
...!sun!portal!cup.portal.com!wmccormick

alistair@microsoft.UUCP (Alistair BANKS) (08/03/90)

>1024i VGA in 1024x768 mode) and am using MSC 6.0. My problem is this: I can
>get codeview to run in a full screen session, but I cannot get it to run 
>in a PM window. When I try I get a message: "Internal Debugger Error: 0"
>I have checked the .EXE header and IOPL is set in config.sys. What am I 
>missing?

There is nothing you can do to make the current versions of codeview
work correctly in a PM window. This configuration is not supported. The
reason for this is because, until very recently, a Presentation Manager
program, or a VIO program running in a presentation manager window, could
not debug Presentation Manager programs - So codeview is an IOPL program,
designed to run full screen, which uses direct screen access to not
interfere with PM or VIO subsystems, and in that way, be the least
intrusive possible so as not to affect the process being debugged.

In the latest versions of IBM OS/2 1.2 - and in the forthcoming versions
of MS OS/2 1.21 from Compaq and other oems, it is in fact possible
for a PM debugger to debug PM applications. I believe logitech have
announced such a product. Microsoft have also said we will have PM debuggers
but we have indicated no particular timescale.

Alistair Banks
OS/2 Group
Microsoft