Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to step through code in referenced assembly
Message
De
25/01/2013 08:52:28
 
 
À
25/01/2013 08:21:47
Information générale
Forum:
ASP.NET
Catégorie:
MVC
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Divers
Thread ID:
01564037
Message ID:
01564039
Vues:
51
>Hi all.
>
>This one is driving me crazy - it has tobe something in my local environment because another developer here does not encounter this problem.
>
>The project uses custom web.config transformations.
>
>I am modifying an existing MVC 3 application to run off of previously serialized data instead of hitting the database when in demo mode.
>
>Toward that end, I added a new config (web.demo.config) to web.base.config and added an attribute called IsDemo with a value of true.
>
>Now, when I debug in any other configuration (Test, for example), I can step through the code in the referenced assembly. I just cannot do so when debugging in demo Configuration.
>
>Another developer here has no probelm stepping through the code in the referenced assembly even when debugging in demo configuration.
>
>Any ideas what the problem could be?

Did you copy the debug configuration when creating the demo configuration?

If not then check the assembly that you can't debug:
Select Build in the properties window. Make sure 'Optimize code' is not selected and, in the 'Advanced' settings set 'Debug Info' to full
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform