What are the challenges you face when working across database platforms? Take the survey

The breakpoint will not currently be hit (I need to debug .NET ObjectDataSource class)

JanRovnerJanRovner Posts: 2 New member
edited January 22, 2018 10:31AM in .NET Reflector Previous Versions
Hello, I am new to .NET reflector with VS addon. I'm trying to debug asp.net web app (C#) - step into .net code (I need to debug ObjectDataSource class).

I can use F12 to see the decompiled source ObjectDataSource.cs, the first line is
// Generated by .NET Reflector from C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll

then and I've used Generate PDB command to generate PDBs
for the DLL I saw in ObjectDataSource.cs (GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll)

However I'm getting "The breakpoint will not currently be hit" message and I am unable to step into the code.

Lang version is in Generate PDB dialog is set to c# 4.6, web app project/build/advanced is "use latest major version of c#"

Thank you for any ideas.

Best Answer

Sign In or Register to comment.