Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将windbg连接到Bochs虚拟机以调试操作系统,但是当操作系统启动操作开始时windbg终止(没有任何错误消息。)
请考虑我已经通过 com 端口将 windbg 连接到 Bochs。
出现此问题的原因是由于 Windows 第一条调试消息。(消息在Bochs中无故修改,导致windbg崩溃)
我通过修改 Bochs 源代码解决了这个问题。我在操作系统启动后创建了一个线程来创建管道,因此不会发送 Windows 消息