|
|
|
|
|
by denton-scratch
965 days ago
|
|
> Do students get much practice in debugging and root cause analysis on existing systems? It's a waste of a student's time. Deep debugging isn't just one set of skills; each problem is different. It's usually very time-consuming, and you will need to learn new skills and tools. That is: you have to encounter a problem that is a blocker, so that your motivation is that you have to solve the problem. My experience was a long time ago: I had linked a library compiled with Borland C with code compiled with Microsoft C. It wouldn't work. I wss only using one function from the Borland library; that's where the error was occurring. It turned out that the Microsoft compiler required the callee to restore the flag register; the Borland compiler required the caller to do that. Therefore the carry bit wasn't being restored correctly, causing the bug. Took several days to figure out. |
|