Debugging code behind

D

DazedAndConfused

Is there something special you have to do to get the interactive debugger to
work on code behind?
 
D

DazedAndConfused

I set break points, even on the page_load event, yet the web form displays
and no break point comes up on the code behind file. I know it has to
execute the code inorder to render the page.

IIS is on the same machine (local).

Help talks about changing registry keys:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{6EB22881-8A19-11D0-81B6-00A0C9231C29}]
@="Catalog Class"
"DllSurrogate"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6EB22881-8A19-11D0-81B6-00A0C9231C29}]
@="Catalog Class"
"AppID"="{6EB22881-8A19-11D0-81B6-00A0C9231C29}"

Does this have to be done for ASP .NET if I am running VS .NET on the same
machine??

I don't get whats going on, help!!
 
D

DazedAndConfused

I set break points, even on the page_load event, yet the web form displays
and no break point comes up on the code behind file. I know it has to
execute the code inorder to render the page.

IIS is on the same machine (local).

Help talks about changing registry keys:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{6EB22881-8A19-11D0-81B6-00A0C9231C29}]
@="Catalog Class"
"DllSurrogate"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6EB22881-8A19-11D0-81B6-00A0C9231C29}]
@="Catalog Class"
"AppID"="{6EB22881-8A19-11D0-81B6-00A0C9231C29}"

Does this have to be done for ASP .NET if I am running VS .NET on the same
machine??

I don't get whats going on, help!!
 
D

DazedAndConfused

I had the .Net Framework 2.0 installed. uninstalled 2.0 and 1.1, reinstalled
1.1, ran aspnet_regiis.exe, set integrated security on the web and then
things started to work.

Does anyone know what to do with "ASP.NET Admin Service" after uninstalling
..Net 2.0 framework?


DazedAndConfused said:
I set break points, even on the page_load event, yet the web form displays
and no break point comes up on the code behind file. I know it has to
execute the code inorder to render the page.

IIS is on the same machine (local).

Help talks about changing registry keys:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{6EB22881-8A19-11D0-81B6-00A0C9231C29}]
@="Catalog Class"
"DllSurrogate"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6EB22881-8A19-11D0-81B6-00A0C9231C29}]
@="Catalog Class"
"AppID"="{6EB22881-8A19-11D0-81B6-00A0C9231C29}"

Does this have to be done for ASP .NET if I am running VS .NET on the same
machine??

I don't get whats going on, help!!

Rakesh Rajan said:
Nope...just put breakpoints and Run (F5)

Are you facing any issues?
--
HTH,
Rakesh Rajan
MVP, MCSD
http://www.msmvps.com/rakeshrajan/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top