billroper: (Default)
Before going into a marathon debugging session to try to find yesterday's problem, I figured that I would do some more code inspection first. I took a look at serialization for the involved classes just to make sure that there wasn't anything weird there. There wasn't.

Ok, let's try this. This branch works. That branch doesn't. Our source code is in Git. Let's get the complete list of all of the files that have differences between the two branches. It's a longish list, but it just requires a lot of clicking, swearing, and the use of some of my favorite not-available-on-Linux software, Tortoise Git.

And eventually, the problem was found in the most likely spot, which was the routine that was failing. In order to get the unit tests to run correctly, I had commented out what appeared to be an unnecessary line of code. Unfortunately, the unit tests ran much better without that line of code, but the actual software would object strenuously to its absence when a model conversion was needed. This is sort of the classic case of winning the battle and losing the war.

I have restored the commented-out line of code and life is now much better.

I will figure out how to fix the unit tests in a better way at a later date. :)

Mystery Bug

Jun. 4th, 2025 09:52 pm
billroper: (Default)
I have a file that is loading up one way in one release, but which is loading up differently in a different release. As far as I know, we didn't make any changes to the file loading. However, the good news is that after much effort, I now have debugging versions of both environments to load the file into, which means that with sufficient persistence, I should be able to figure this out.

Assuming that the combination of code and data is deterministic. That's normally a pretty good assumption, so I'm hoping it holds here.

Fingers crossed.

Profile

billroper: (Default)
billroper

July 2025

S M T W T F S
   1 2 3 45
6789101112
13141516171819
20212223242526
2728293031  

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 4th, 2025 10:51 pm
Powered by Dreamwidth Studios