Debugging an Operating System

前端 未结 6 627
刺人心
刺人心 2021-01-30 22:46

I was going through some general stuff about operating systems and struck on a question. How will a developer debug when developing an operating system i.e. debug the OS itself?

6条回答
  •  被撕碎了的回忆
    2021-01-30 22:53

    In a bootstrap scenario (OS from scratch), you'd probably have to introduce remote debugging capabilities (memory dumping, logging, etc.) in the OS kernel early on, and use a separate machine. Or you could use a virtual machine/hypervisor.

    Windows CE has a component called KITL - Kernel Independent Transport Layer. I guess the title speaks for itslf.

提交回复
热议问题