c++.dos - How does one debug a DOS program?
- Larry Brasfield (13/13) Jul 25 2002 Hi.
- Walter (4/17) Jul 25 2002 Check out the DOS app tutorial at:
- Cesar Rabak (10/15) Jul 25 2002 Taking profit of this pointer:
- Walter (3/14) Jul 25 2002 I don't know.
- Cesar Rabak (9/14) Jul 27 2002 Well, we can found a club them (we already have at least two prospect
- Frank Albe (7/18) Jul 27 2002 I asked about this a few weeks ago. Got no answer. I dug around, it's
- Walter (3/23) Jul 27 2002 Thanks, Frank! This is one for the FAQ. -Walter
- Cesar Rabak (6/22) Jul 27 2002 Thank you very much Frank!
- Larry Brasfield (40/58) Jul 26 2002 That's a great tutorial. Unfortunately, it leads
- John Lance (5/5) Jul 26 2002 I seem to remember that in the upgrade from Symantec C++ Ver 7.5 to 7.6,
- Walter (11/69) Jul 26 2002 The trouble is that in order for the 16 bit debugger to work, it needs t...
Hi. I have been unable to discover a way to use the DMC IDE(s) to debug a real-mode 16-bit DOS program. I can create a project, build it, run it successfully (in an NTVDM), but I cannot run it or debug it from (any of) the IDE(s). Was I confused when I got the notion that the product supports DOS target development? Is there some extra component, not on the CD, needed for DOS debugging? Thanks for any insight, including a clear statement that DOS target debugging is just not possible with DMC. -- -Larry Brasfield (address munged, s/sn/h/ to reply)
Jul 25 2002
Check out the DOS app tutorial at: www.digitalmars.com/ugr/chapter10.html "Larry Brasfield" <larry_brasfield snotmail.com> wrote in message news:MPG.17a9e2be1b8d944d989685 news.digitalmars.com...Hi. I have been unable to discover a way to use the DMC IDE(s) to debug a real-mode 16-bit DOS program. I can create a project, build it, run it successfully (in an NTVDM), but I cannot run it or debug it from (any of) the IDE(s). Was I confused when I got the notion that the product supports DOS target development? Is there some extra component, not on the CD, needed for DOS debugging? Thanks for any insight, including a clear statement that DOS target debugging is just not possible with DMC. -- -Larry Brasfield (address munged, s/sn/h/ to reply)
Jul 25 2002
Walter wrote:Check out the DOS app tutorial at: www.digitalmars.com/ugr/chapter10.htmlTaking profit of this pointer: Do you folks have any idea of why the Environment->Workspace->New or Environment->Workspace->Clone are always grayed in my installation? I checked (what for me appeared to be) obvious files for not being read only, but did not find anything! -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/
Jul 25 2002
"Cesar Rabak" <csrabak uol.com.br> wrote in message news:3D409839.38659A51 uol.com.br...Walter wrote:I don't know.Check out the DOS app tutorial at: www.digitalmars.com/ugr/chapter10.htmlTaking profit of this pointer: Do you folks have any idea of why the Environment->Workspace->New or Environment->Workspace->Clone are always grayed in my installation? I checked (what for me appeared to be) obvious files for not being read only, but did not find anything!
Jul 25 2002
Walter wrote:[snipped]Well, we can found a club them (we already have at least two prospect associates ;-) [] -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/I checked (what for me appeared to be) obvious files for not being read only, but did not find anything!I don't know.
Jul 27 2002
On Thu, 25 Jul 2002 21:30:49 -0300, Cesar Rabak <csrabak uol.com.br> wrote:Walter wrote:I asked about this a few weeks ago. Got no answer. I dug around, it's even in the documentation somewhere. The limit is 5 workspaces. The IDE as delivered on the CD already has 5. Delete one. Then you can create or clone one. =:) ../frankCheck out the DOS app tutorial at: www.digitalmars.com/ugr/chapter10.htmlTaking profit of this pointer: Do you folks have any idea of why the Environment->Workspace->New or Environment->Workspace->Clone are always grayed in my installation? I checked (what for me appeared to be) obvious files for not being read only, but did not find anything!
Jul 27 2002
Thanks, Frank! This is one for the FAQ. -Walter "Frank Albe" <falbe mindspring.com> wrote in message news:1j66ku06440kkedrg7h06r3l1bm8lgte4d 4ax.com...On Thu, 25 Jul 2002 21:30:49 -0300, Cesar Rabak <csrabak uol.com.br> wrote:Walter wrote:I asked about this a few weeks ago. Got no answer. I dug around, it's even in the documentation somewhere. The limit is 5 workspaces. The IDE as delivered on the CD already has 5. Delete one. Then you can create or clone one. =:) ../frankCheck out the DOS app tutorial at: www.digitalmars.com/ugr/chapter10.htmlTaking profit of this pointer: Do you folks have any idea of why the Environment->Workspace->New or Environment->Workspace->Clone are always grayed in my installation? I checked (what for me appeared to be) obvious files for not being read only, but did not find anything!
Jul 27 2002
Frank Albe wrote:On Thu, 25 Jul 2002 21:30:49 -0300, Cesar Rabak <csrabak uol.com.br> wrote:Thank you very much Frank! -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/Taking profit of this pointer: Do you folks have any idea of why the Environment->Workspace->New or Environment->Workspace->Clone are always grayed in my installation? I checked (what for me appeared to be) obvious files for not being read only, but did not find anything!I asked about this a few weeks ago. Got no answer. I dug around, it's even in the documentation somewhere. The limit is 5 workspaces. The IDE as delivered on the CD already has 5. Delete one. Then you can create or clone one. =:)
Jul 27 2002
In article <ahpja2$7j2$1 digitaldaemon.com>, Walter (walter digitalmars.com) says...Check out the DOS app tutorial at: www.digitalmars.com/ugr/chapter10.htmlThat's a great tutorial. Unfortunately, it leads to the same dead-end I stumbled into on my own. The tutorial mentions starting the IDE from the Program Manager 16-bit group, which has little relevance to my Windows 2000 machine. However, figuring that I can start .exe's by myself, I ran each of the following: SCWMN32.exe , SCWMN32S.exe , and SCWMN16.exe with the following results at the tutorial step instructing me to Start/Restart Debugging. At that point, the output window reports This debugger can only debug * applications. where '*' is either "Win32", "Win32s" or "16-bit Windows", depending on which IDE I run. I've tried running all the other .exe's in the DMC bin directory, but none of them start an IDE except the ones I mention above. At this juncture, I suspect there is an IDE installed by some older (Symantec) product that can run DOS applications, but which is not on the CD I got a few weeks ago. Could somebody tell me the name of the .exe that effects an IDE capable of debugging DOS targets? If it is one of the above, there must be some environment setting or other context it needs. If it is not one of the above, perhaps I could get a copy. I did find that the Win32 IDE would actually build and run the DOS program from the tutorial, it just won't debug it. Maybe there is a DLL debug-helper plug-in for DOS debugging? I'm glad to learn DOS debugging is (supposed to be) supported, but I'm still frustrated. Thanks for the help so far. -Larry"Larry Brasfield" <larry_brasfield snotmail.com> wrote in message news:MPG.17a9e2be1b8d944d989685 news.digitalmars.com...-- -Larry Brasfield (address munged, s/sn/h/ to reply)Hi. I have been unable to discover a way to use the DMC IDE(s) to debug a real-mode 16-bit DOS program. I can create a project, build it, run it successfully (in an NTVDM), but I cannot run it or debug it from (any of) the IDE(s). Was I confused when I got the notion that the product supports DOS target development? Is there some extra component, not on the CD, needed for DOS debugging? Thanks for any insight, including a clear statement that DOS target debugging is just not possible with DMC.
Jul 26 2002
I seem to remember that in the upgrade from Symantec C++ Ver 7.5 to 7.6, that you had to install over 7.5 to retain DOS debugging capability. If you just installed 7.6 fresh, the DOS debugging was gone. I don't know how relevent this is. Walter should know or be able to find out the full details and how it would apply here, if it does.
Jul 26 2002
The trouble is that in order for the 16 bit debugger to work, it needs to actually be running under win32s, which means a computer running 16 bit Windows, not Win2000. Sorry. On the bright side, though, any codeview or symdeb type debugger will work. There is one called "D86" that claims to be able to source debug by reading the linker .MAP file. I have not tried it myself. I would love to be able to ship the 16 bit DOS Zortech debugger, but the author has vanished and I have been quite unable to locate him to negotiate a license. (If anyone knows where Phil Murray is, please let him know this!) "Larry Brasfield" <larry_brasfield snotmail.com> wrote in message news:MPG.17ab45b97fb27347989686 news.digitalmars.com...In article <ahpja2$7j2$1 digitaldaemon.com>, Walter (walter digitalmars.com) says...Check out the DOS app tutorial at: www.digitalmars.com/ugr/chapter10.htmlThat's a great tutorial. Unfortunately, it leads to the same dead-end I stumbled into on my own. The tutorial mentions starting the IDE from the Program Manager 16-bit group, which has little relevance to my Windows 2000 machine. However, figuring that I can start .exe's by myself, I ran each of the following: SCWMN32.exe , SCWMN32S.exe , and SCWMN16.exe with the following results at the tutorial step instructing me to Start/Restart Debugging. At that point, the output window reports This debugger can only debug * applications. where '*' is either "Win32", "Win32s" or "16-bit Windows", depending on which IDE I run. I've tried running all the other .exe's in the DMC bin directory, but none of them start an IDE except the ones I mention above. At this juncture, I suspect there is an IDE installed by some older (Symantec) product that can run DOS applications, but which is not on the CD I got a few weeks ago. Could somebody tell me the name of the .exe that effects an IDE capable of debugging DOS targets? If it is one of the above, there must be some environment setting or other context it needs. If it is not one of the above, perhaps I could get a copy. I did find that the Win32 IDE would actually build and run the DOS program from the tutorial, it just won't debug it. Maybe there is a DLL debug-helper plug-in for DOS debugging? I'm glad to learn DOS debugging is (supposed to be) supported, but I'm still frustrated. Thanks for the help so far. -Larry"Larry Brasfield" <larry_brasfield snotmail.com> wrote in message news:MPG.17a9e2be1b8d944d989685 news.digitalmars.com...-- -Larry Brasfield (address munged, s/sn/h/ to reply)Hi. I have been unable to discover a way to use the DMC IDE(s) to debug a real-mode 16-bit DOS program. I can create a project, build it, run it successfully (in an NTVDM), but I cannot run it or debug it from (any of) the IDE(s). Was I confused when I got the notion that the product supports DOS target development? Is there some extra component, not on the CD, needed for DOS debugging? Thanks for any insight, including a clear statement that DOS target debugging is just not possible with DMC.
Jul 26 2002