PASO 1:
1) Eliminar el archivo .suo
2) hacer clean del proyecto y luego arrancarlo con F10
PASO 2:
Tools / Options / Debugging / Symbols
En "Cache symbols in this directory" agregar el path del archivo .pdb de la solucion.
Ej:
C:\<ruta>\bin\Debug
PASO 3:
1) make sure all projects are using the same Framework (this is crucial!)
2) in Tools/Options>Debugging>General make sure "Enable Just My Code (Managed Only) is NOT ticked
3) in Tools/Options>Debugging>Symbols clear any cached symbols, untick and delete all folder locations under the "Symbols file (.pdb) locations" listbox except the default "Microsoft Symbol Servers" but still untick it too. Also delete any static paths in the "Cache symbols in this directory" textbox. Click the "Empty Symbols Cache" button. Finally make sure the "Only specified modules" radio button is ticked.
4) in the Build/Configuration Manager menu for all projects make sure the configuration is in Debug mode.
PASO 4:
1) Reiniciar el App Pool en el IIS
2) Eliminar el archivo .suo
3) SI SE ESTA HACIENDO DEBUG DE UNA LIBRERIA, NO TENER EL FUENTE ABIERTO!! dejar que lo abra el debugger cuando llegue al breakpoint
PASO 5:
1) Abrir el archive de registro (RegEdit)
2) Buscar la llave HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3) Agregar la clave "Dword" llamada "TabProcGrowth" y asígnale el valor "0"
PASO 6:
Primero ejecutar la aplicacion.
Luego ir a Debug / Windows / Modules
elegir el assembly que corresponda al sitio (ej, RetWeb.dll)
Click derecho, y seleccionar "Symbol Load Information"
Start debugging, as soon as you've arrived at a breakpoint or used Debug > Break All, use Debug > Windows > Modules. You'll see a list of all the assemblies that are loaded into the process. Locate the one you want to get debug info for. Right-click it and select Symbol Load Information. You'll get a dialog that lists all the directories where it looked for the .pdb file for the assembly. Verify that list against the actual .pdb location. Make sure it doesn't find an old one.
In normal projects, the assembly and its .pdb file should always have been copied by the IDE into the same folder as your .exe. The bin\Debug folder of your project. Make sure you remove one from the GAC if you've been playing with it
No hay comentarios:
Publicar un comentario