5 ms·
I've dealt with it by wishing I had reproducible builds. If I'm debugging a production issue and want to create a debug build from the same source to step thro
by human20190310 7y ago
I've dealt with it by wishing I had reproducible builds.
If I'm debugging a production issue and want to create a debug build from the same source to step through things, it would be nice if I could just build both debug and release, check the hash on the release to confirm it matches production, then start debugging, without reference to any external records or other systems.
Reproducible builds reduce the number of links in the chain needed to verify what you're really doing.
- bmm6o 7y agoYou could just have debug boundaries be part included in the output of the build.
- Ididntdothis 7y agoMost of the time when somebody says “you could just do x” I stop listening unless they have intimate knowledge of the situation.
- perl4ever 7y agohttp://johnsalvatier.org/blog/2017/reality-has-a-surprising-amount-of-detail http://johnsalvatier.org/blog/2017/reality-has-a-surprising-... ...but what's really surprising is that it's surprising, since everybody is experienced with details in some context.
- Ididntdothis 7y agoI think this is related to "the grass is greener on the other side". Other people's problems seem eminently more solvable than our own. Sometimes that's even true but often it isn't.
- bmm6o 7y agoI don't get it. Are you saying it's too hard or it doesn't solve the problem? It's worked in my experience. I mean, my response isn't entirely a rhetorical question. If there's a reason it wouldn't work I'd be curious what makes his situation different from mine.
- Ididntdothis 7y ago“I'd be curious what makes his situation different from mine.” This should have been the first question to ask yourself before trying to give advice.
- bmm6o 7y agoSo I should have said, "Is there a reason you can't just build debug binaries at the same time as you build release"? I mean, I guess, but it's a little disappointing that this is the nugget that you've been dancing around.
- Ididntdothis 7y agoThe world "just" is my pet peeve. Before you say "why don't you just xxx" make sure you actually understand the problem thoroughly. Otherwise it's impolite to make a suggestion to "just do ...". If there is one thing I have learned it's that good devs make sure they really understand the situation before making suggestions.