tinyjo: (Default)
Emptied of expectation. Relax. ([personal profile] tinyjo) wrote2003-07-10 11:00 am

Can't trust your tools

Sometimes, I really really hate VB.NET. I received a bug report yesterday that some things were becoming enabled when they shouldn't be. This morning, I started to investigate. Unfortunately, I can't, because if I put a breakpoint in the function which is supposed to disable the stuff it suddenly starts working properly and disabling them! Then I take it out and it stops working again. How am I supposed to figure out what's going on?

[identity profile] sparkymark.livejournal.com 2003-07-10 05:20 am (UTC)(link)
Some race condition that stops happening when you only have one thread running at a time? That's how the VMS debugger "fixes" bugs for you anyway.

[identity profile] soulsong.livejournal.com 2003-07-10 06:37 am (UTC)(link)
That's my favourite kind of bug.

[identity profile] phlebas.livejournal.com 2003-07-10 06:37 am (UTC)(link)
Is it specifically when you breakpoint there, or whenever you run via the debugger? Memory initialisation can be an issue with things happening like that (though I don't know how it works in VB.N)

[identity profile] celestialweasel.livejournal.com 2003-07-10 02:17 pm (UTC)(link)
Write statements stuffing stuff into files, like we did when I were a lad.