zlacker

[return to "War story: the hardest bug I ever debugged"]
1. epolan+Po8[view] [source] 2025-03-27 14:16:18
>>jakevo+(OP)
The worst bug I've ever encountered was a JS file that kept not running, with very cryptic and hard to understand trace that made no sense. TypeScript and others parsed it fine without any issues.

After 3 days of literally trying everything, I don't know why, I thought of rewriting the file character by character by hand and it worked. What was happening?

Eventually opened the two files side by side in a hex editor and here it is: several exotic unicode characters for "empty" space.

◧◩
2. skeake+1W8[view] [source] 2025-03-27 17:42:22
>>epolan+Po8
I've seen this happen as the result of errant copy-pasting.
[go to top]