Comment by inigyou
1 day ago
Skill issue to the second paragraph. You can always create a minimal example. I've done it many times. Some of them are quite long.
Start by copying your whole file with the problem into a new file. Delete each part. See if the problem occurs. If not, Ctrl-Z and try deleting the next part. Be extremely aggressive in deleting. Also try refactoring things to be simpler if deleting doesn't work.
In C++, inline #includes not from the standard library by copy-pasting the file contents. At each step, make sure the problem still occurs. Repeat the iterative deletion process.
You should now have a fairly short source file which exhibits the problem. Rename all proprietary identifiers to foo, bar, baz, frob. Submit question to SO.
No comments yet
Contribute on Hacker News ↗