October 2008 - Posts
I was hit with the dreadful "The breakpoint will not currently be hit" problem this week. Searching the Web, looks like it is a common problem both with VS 2005 and 2008 however, it was the first time I experienced it.
The symptom
You have a solution with a client project and a Web or WCF project. You place breakpoints in both projects so you can step thru the code on both side. You break in your client code but you can’t jump in the Web/WCF code. When you look at the Web/WCF breakpoint while debugging, the red dot displays an exclamation mark and this message: "The breakpoint will not currently be hit".

The solution
Looks like there are many solutions to the problem. Here’s what I did:
- Checked that VS was not in release mode. Nope, I was in debug mode.
- Deleted the \bin\debug folders. No good.
- Deleted both the \bin\debug and \obj folders. No good.
- Deleted all source code and retrieved everything from source control. No good.
Out of three developers, I was the only one with the problem so I checked if my VS debugging settings were changed. Nope, we all had the same settings.
- Tried to reset my settings anyway with devenv /resetsettings. No good.
- Started a new solution with a simple WCF project and a Console app client. No good, same problem so it's really VS, not the code.
- Tried a VS repair. No good.
- Uninstalled and reinstalled VS completely. Bingo, it worked!
The problem
I have absolutely no clue. Anyone has an idea on why this problem happens?

www.dotnetmontreal.com
Date: Lundi 6 octobre, 18h15
Sujets: ASP.NET Dynamic Data et ADO.NET Data Services
Conférenciers: Éric Moreau et Guy Barrette
Le SP1 du Framework .NET 3.5 nous apporte un lot de nouvelles technologies. Parmi celles-ci, on retrouve ASP.NET Dynamic Data qui permet aux développeurs de livrer des applications Web centrées sur les données de façon très rapide et ce, sans écrire de code. Parfait pour les pages de style gestion de données pour alimenter un site. ADO.NET Data Services offre quand à lui des services permettant d’exposer et de manipuler les données sur le Web via REST. Parfait pour alimenter en données des applications AJAX ou de style RIA.
My good friend Mario Cardinal was interviewed on ARCast.TV about the Layer Module Injection pattern while he was at TechEd Developers 2008 in Orlando. This is topic Mario's has been working on for a while now.
Nice work Mario!
ARCast.TV - Mario Cardinal on Layer Module Injection
Layer Module Injection is a new pattern to enforce separation of concerns between domain logic and infrastructure services. Mario Cardinal and Joe Shirey will explain why to use abstract classes and interfaces as a means to reduce dependency surface. Mario and Joe will discuss the techniques of dependency injection and inversion of control to reduce the coupling between classes. In the same way, they will discuss benefits to modularize and decouple with layers using namespaces. The goal is to explain a new approach to simplify managing dependencies between the modules which compose a program. At the end of this discussion you will understand why architects worry so much about coupling, cohesion and separation of concerns.

http://www.visualstudiotalkshow.com
Guillaume Belmas: Team System Work Items
Nous discutons avec Guillaume Belmas des items de travail (work item) avec la
plate forme Visual studio Team System. Entre autres, nous discutons en quoi les
items de travail sont au coeur de la maîtrise du cycle de développement
logiciel.
|
Guillaume Belmas possède une expérience de 6 ans dans le
monde du service et est actuellement Architecte Logiciel chez Exakis. Gagnant en
2004 de la compétion mondial Imagine Cup dans la catégorie "Software Design", sa carrière
se concentre principalement sur des problématiques d'architectures distribuées
et sur l'industrialisation des développements. L’ALM et les Software Factories
font parties de son quotidien et il travaille sur ces sujets avec plusieurs
clients. Guillaume est d’ailleurs à ce titre Leader Technique de l'offre Team
System et Industrialisation chez Exakis et anime de nombreux séminaires pour le compte de
Microsoft France. Nommé MVP depuis 2004 sur la technologie C# puis sur Team System, il
participe aussi depuis 2006 en tant que capitaine de la catégorie Software
Design au concours Imagine
Cup (organisé par Microsoft).
|
Télécharger
l'émission
Si vous désirez un accès direct au fichier audio en format MP3 ou Windows
Media (WMA), nous vous invitons à télécharger le fichier en utilisant un des
boutons ci-dessous.
Si vous désirez utiliser le feed RSS pour télécharger
l'émission, nous vous invitons à vous abonnez en utilisant le bouton
ci-dessous.
Si vous désirez utiliser le répertoire
iTunes Podcast pour télécharger l'émission, nous vous encourageons à vous
abonnez en utilisant le bouton ci-dessous.
More Posts
« Previous page