by 908B64B197 · 5y ago · 0 comments
That's just laziness from the original developer. To me, no debugger support means it's time for a re-write.
(It took around 5 years and a team of 20 with millions of funding to "rewrite it" eventually and even they had to drop support for all but the latest devices. The old system is still chugging away, reading the old devices)
Also I would like to know how you would attach a debugger to a stack that contained, among others, ASM/C-code running on an embedded device on the other side of the world, some MFC/C code on a gateway windows computer, perl scripts running god knows where and a PL/SQL bundle on an Oracle server in another country and some Java logic on a different server.
This is the life legacy coders live.
Of course, if you have a modern stack you can just click "debug" on your IDE and it'll automatically attach to a remote process and let you step through the code. We don't have that :)
That sounds incredibly brittle. But each of these components should be debuggable individually and have a well defined interface.
when do you plan to get started on the linux kernel? that Linus is a lazy pri*k, he'll never get to it!
*printk
https://www.kernel.org/doc/html/latest/core-api/printk-basic...