[comp.os.os2.misc] Codeview in os2 to debug real mode executable.

adnan@elf.rice.edu (Sarmad Adnan) (03/25/91)

Is is possible to debug real mode applications in OS2 using the protected
mode codeview ? 

--

                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  Sarmad Adnan (adnan@rice.edu)
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

n8840371@unicorn.cc.wwu.edu (Todd Crowe) (03/25/91)

adnan@elf.rice.edu (Sarmad Adnan) writes:
>Is is possible to debug real mode applications in OS2 using the protected
>mode codeview ? 

No, but if you have CV 3.0 then you can load Codeview almost entirely into
high memory (under regular DOS).  Which means that when OS/2 2.0 comes out
you will have a good DOS debugging environment under OS/2, but not until
then.

      +++++++++++++++        "Dont get your hair in an uproar!!!"
+++++ +@+++++++++++++  +-----------------------------------------------------+
+++++ +++Western+++++  |                   Todd Crowe                        |
 +++++++Washington+++  |           n8840371@unicorn.cc.wwu.edu               |
 +++++++University+++  |             TODDC@nessie.cc.wwu.edu                 |
  +++++++++++++++++++  +-----------------------------------------------------+
     ++++++++++                   "Innovate, don't litigate!"

roh@mozart.cs.colostate.edu (Lucas Roh) (03/25/91)

In article <1991Mar25.013849.16001@unicorn.cc.wwu.edu> n8840371@unicorn.cc.wwu.edu (Todd Crowe) writes:
>adnan@elf.rice.edu (Sarmad Adnan) writes:
>>Is is possible to debug real mode applications in OS2 using the protected
>>mode codeview ? 
>
>No, but if you have CV 3.0 then you can load Codeview almost entirely into
>high memory (under regular DOS).  Which means that when OS/2 2.0 comes out
>you will have a good DOS debugging environment under OS/2, but not until
>then.

I maybe wrong, but even under OS/2 2.0, real-mode programs are limited to
640K and you cannot reserve extended memory to load DOS CV on it.  Maybe with
2.0, the OS/2 protected-mode CV can debug real-mode apps.

Lucas

n8840371@unicorn.cc.wwu.edu (Todd Crowe) (03/27/91)

roh@mozart.cs.colostate.edu (Lucas Roh) writes:
>In article <1991Mar25.013849.16001@unicorn.cc.wwu.edu> n8840371@unicorn.cc.wwu.edu (Todd Crowe) writes:
>>adnan@elf.rice.edu (Sarmad Adnan) writes:
>>>Is is possible to debug real mode applications in OS2 using the protected
>>>mode codeview ? 
>>
>>No, but if you have CV 3.0 then you can load Codeview almost entirely into
>>high memory (under regular DOS).  Which means that when OS/2 2.0 comes out
>>you will have a good DOS debugging environment under OS/2, but not until
>>then.
>>
>I maybe wrong, but even under OS/2 2.0, real-mode programs are limited to
>640K and you cannot reserve extended memory to load DOS CV on it.  Maybe with
>2.0, the OS/2 protected-mode CV can debug real-mode apps.
>
No, OS/2 2.0 supplies up to 32MB of expanded memory for each virtual DOS box.
It currently doesn't supply extended memory, but that may change.  The current
version of CVP will not debug real-mode programs (even in 2.0), but it can
use the expanded memory.

Todd Crowe