Archive

Archive for September, 2004

Everything isn’t as it seems

September 22nd, 2004 Comments off

Now this is funny…

When Oprah Winfrey gave away 276 cars last week to the audience of her show, images of people laughing, jumping, crying — some hysterically — filled the airwaves and the give-away became stuff of legend…But now some of those eager prize-winners have a choice: Fork over $7,000 or give up the car.

http://money.cnn.com/2004/09/22/news/newsmakers/oprah_car_tax/index.htm?cnn=yes

An issue with Visual Studio Debugging Resolved

September 22nd, 2004 Comments off

I was helping one of the developers on our team with an interesting little debugging issue in Visual Studio .NET today. I thought I share it with my readers (all 3 of you).

One of our developers came up to me today and said he was having an issue with a breakpoint not hitting. This particular situation involved a main web project alongside a class library project under one solution. He was setting a breakpoint in the class project and sure enough it wasn’t firing. These are always fun ones to figure out, so I go through my standard questions for debugging web applications:

1.) Are you compiling in Debug or Release mode?

2.) Does the web config have the debug attribute set to true in the configuration setting under ?

3.) Do you have the appropriate permissions? Are you an Administrator? If not, are you a member of the VS Developers and Debugger Users groups?

In this particular case, he answered Yes to all 3.

Our standard team project setup includes source control integration (in this case Visual SourceSafe) and a team build server. The build server serves up all of the latest and greatest library DLLs to be shared among the development team. The Reference Path setting in the project properties is set so that the referenced DLLs (by file, not project) are retrieved from the build server when a doing a local build. I thought that he might be pointing to the Release directory on the build server which would mean that the .PDB file for the library in which he was trying to debug wouldn’t have been found. Nope. He’s pointing to the right directory.

So I did a little more digging… I try to compile the main web project just to see if everything looks in order. For whatever reason, the developer’s environment doesn’t have the Build output window opened. Upon opening the Build output window I noticed that the build process was having an issue with copying some of the libraries and their respective .PDB files to the main projects /bin directory. Strange I thought. So I did what any self respecting developer would’ve done…shut down the IDE, reopened and tried again. No go. Same problem.

While I was pondering what my next steps were I noticed something that was a little odd. “Why is the \bin folder of the main web project not grayed out?” Seeing as how our project is bound to VSS, any folders included in the project are added to source control… meaning the \bin folder was under source control… meaning the \bin folder contents were write protected! D’oh!

We removed the \bin folder from the project and removed the read-only attribute setting for its contents and everything was good again. We were back to debugging harmony. Tack one up to user error here.

So for those of you out there, please don’t select “Include in Project” for you \bin directory while under source control integration in Visual Studio .NET. Your project outputs are not meant to be checked into source safe (at least that’s my opinion), your source code is. Which the appropriate build process, you should be able to pull source files out an any particular time and re-compile your outputs. If you’re interested on some insight into our process check out How do you handle your build/promotion process? post.

Project Code Names

September 2nd, 2004 Comments off

A nice little read on project code names. Who would’ve thought there’s much more to it than coming up with a catchy name to put on a t-shirt.

Give 6, Get 6 (Gmail invites available again)

September 1st, 2004 16 comments

[Update: the 2nd round of invites have all been distributed.]


I recently gave away my 6 Gmail invites to some of the fine folks in the blogosphere. Gmail seems to be awarding my generosity by allowing me to invite 6 more. If you haven’t already gotten your hands on one of these invites (and who hasn’t) leave a comment and I’ll be sure to pass one your way. As is the standard, first come – first serve.

Rory’s ode to Chris Sells

September 1st, 2004 Comments off

Ok… so Rory has only been on the job for a couple of weeks now and he’s already completely lost his mind during his stay at some of the roads finest 2 ½ star hotels. I can’t wait to see what he comes up with during his travels.