News for hackers. Stuff that matters.
Re:Debugging mechanism in Intel CPUs allows seizing control ... by BoorishBears on Tuesday January 10, 2017 @01:01AM (#13362971)
I don't know how your code can tell you the silicon is wrong (for example). Are you're suggesting the first step of debugging a problem is to understand your code, then every bit of code running under it, the all the code under that ad infinitum, then hardware designs under all that... and not using an available debugger?

I can't help but feel this is an opinion only someone who has only ever worked on extremely high level (and basic) systems and has simultaneously disregarded all underlying abstractions could hold, or someone who has only worked with very low level systems which were so shallow my aforementioned facetious approach to debugging is actually feasible. Limiting yourself to either extreme doesn't exactly give one the most balanced view of how problems can be solved in software

Re:Debugging mechanism in Intel CPUs allows seizing control ... by emsy on Tuesday January 10, 2017 @01:40AM (#13363143)
I don't think you understood what I've said. Debugging is perfectly fine when you can't explain what's going on even though you understand the code. "The silicon is wrong" so rarely, that it makes for nice, memorable trench stories. Either that or you work at a really low level, which is something that is not the default.
Re:Debugging mechanism in Intel CPUs allows seizing control ... by BoorishBears on Tuesday January 10, 2017 @08:29AM (#13364589)
In addition to what the other comment says:

"you can't explain what's going on even though you understand the code"

If someone's working on code what's wrong with using the debugger to understand the code better? There's all sorts of behavior defined underneath code that people write that can be much simpler to understand through analysis of the system in action than through code, especially when you don't have access to what's going on underneath your code due to abstractions.

There are a lot of 1+1=3 type situations that arise from abstractions people don't have access to the source to, or the resources to analyze at a given moment.

Re:Debugging mechanism in Intel CPUs allows seizing control ... by emsy on Tuesday January 10, 2017 @02:18PM (#13367975)
It's perfectly fine to use the debugger in such situations. Please see my other response on this topic:

https://news.ycombinator.com/item?id=13367946

Re:Debugging mechanism in Intel CPUs allows seizing control ... by Symmetry on Tuesday January 10, 2017 @08:16AM (#13364539)
And yet somebody has to debug the numerous silicon bugs before the chip makes it to market, and somebody has to find the few that make it into the product in the wild. It might be that very few people really need a feature but that it's very important for the product that that feature exist.