可以在 DOS 保护模式程序上使用什么调试器?
我有一个用 CA-Clipper 5.2 编写的程序,并与 Blinker 7 链接。我最近学习了如何将其编译为保护模式来代替实模式。现在实模式调试器将无法与该程序一起工作。所以现在我需要一种方法来调试我的代码。 Blinker 的文档说使用“NuMega SoftICE”或“Periscope”。我不熟悉这些调试器,并且在 Google 上找不到太多关于它们的信息。听起来 SoftICE 已经变成了某种黑客工具。关于调试我的程序的方法有什么建议吗?
I have a program written in CA-Clipper 5.2 and linked with Blinker 7. I recently learned how to compile it into protected mode in place of real mode. Now the real mode debugger won't work with the program. So now I need a way to debug my code. The documentation for Blinker says to use "NuMega SoftICE" or "Periscope". I'm not family with those debuggers, and can't find much on them from Google. It sounds like SoftICE was turn into some type of hacking tool. Any suggestion on a way to debug my program?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
NuMega 被收购,SoftICE 被淘汰(如果没记错的话,大约是五年前)。它是一个内核调试器,是一些黑客(无论是哪种意义上)认为有用的工具,但并不是真正的黑客工具。 (今天的愚蠢琐事:对 Windows NT 的 SoftICE 原始版本进行 Beta 测试的人得到了一件 T 恤,上面写着:“......他们说这是不可能的!”)。
Periscope 是(曾经)一个在线仿真器。它是一块带有插头的板,可插入您的 CPU 插槽,还有一个用于放置原始 CPU 的插槽。然后,它会监视 CPU 总线上的所有流量,提供大多数软件调试器甚至无法比拟的大量调试功能。然而,随着 CPU 总线变得越来越快,它变得极其昂贵,并最终达到了没有市场的地步。肯定有 486 的版本(我用过它),但我不认为有 Pentium 或更新版本的版本。
至于您将使用什么:HX DOS Extender 可能是唯一仍在维护的 DOS Extender。他们的页面列出了可以与其一起使用的调试器。我当然不能保证与您正在使用的 DOS 扩展程序的兼容性,但至少有可能其中之一可以工作。
NuMega was bought out, and SoftICE was killed (something like five years ago, if memory serves). It was a kernel debugger, which is a kind of tool some hackers (in either sense of the word) find useful, but wasn't really a hacking tool as such. (Silly trivia of the day: people who beta-tested the original version of SoftICE for Windows NT got a T-shirt that read: "...and they said it couldn't be done!").
Periscope is (was) an in-circuit emulator. It was a board with a plug to fit into your CPU socket, and a socket where you put the original CPU. It would then monitor all the traffic over the CPU bus, providing a lot of debugging capability that most software debuggers can't even hope to match. As CPU buses got faster, however, it got extremely expensive, and eventually got to the point that there was no market left. There was definitely a version for the 486 (I've used it), but I don't think there was ever a version for the Pentium or newer.
As to what you would use: the HX DOS Extender is probably the only DOS Extender still maintained. Their page lists debuggers that can be used with it. I certainly can't guarantee compatibility with the DOS extender you're using, but there's at least a chance one of them might work.
尝试使用命令行启动的 watcom 调试器: wd /tr=rsi
理性系统 dos 扩展器的陷阱
请务必获取最新版本:open-watcom-c-dos-1.9.7z
搜索时遇到问题
但早期版本效果不佳
try watcom debugger with commandline startup: wd /tr=rsi
trap for rational systems dos extender
be sure to get latest version: open-watcom-c-dos-1.9.7z
it has problems doing search
but earlier versions do not work well