Hacker News new | ask | show | jobs
by still_grokking 1309 days ago
> I assume this is the kind of problem that can be overcome with a nicer debugger though.

I think this would be something that modern debuggers need to solve somehow in general.

There are more and more languages with high amount of syntax sugar, where the output to be debugged doesn't have much in common anymore with the code written.

Debuggers need to be aware of desugarings somehow.

But it makes no sense to implement this on a case by case basis for every language. We need next generation debuggers! (But I have no clue how "a sugar aware debugger" could be implemented; something in the direction of "source maps" maybe?)