This is a migrated thread and some comments may be shown as answers.

Cannot Debug Decompiled Code

4 Answers 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 2
John asked on 05 Aug 2014, 04:26 PM
I am trying to troubleshoot an Issue with the System.Web assembly. I can decompile it fine, but would like to step through it with the debugger. I followed the instructions found here, but whenever I click step into, it steps over the framework code. The project is ASP.NET MVC and here is the environment info:

Microsoft Visual Studio Premium 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Premium

LightSwitch for Visual Studio 2013   06191-004-0454001-02789
Microsoft LightSwitch for Visual Studio 2013

Office Developer Tools - May 2014 Update ENU   06191-004-0454001-02789
Microsoft Office Developer Tools for Visual Studio 2013 - May 2014 Update ENU

Team Explorer for Visual Studio 2013   06191-004-0454001-02789
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06191-004-0454001-02789
Microsoft Visual Basic 2013

Visual C# 2013   06191-004-0454001-02789
Microsoft Visual C# 2013

Visual C++ 2013   06191-004-0454001-02789
Microsoft Visual C++ 2013

Visual F# 2013   06191-004-0454001-02789
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06191-004-0454001-02789
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

ASP.NET and Web Tools   2013.2.50425
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.1.20409.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.1
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

Crystal Reports for .NET Framework   
Crystal Reports for .NET Framework


Entity Framework Power Tools   1.0
Adds useful design-time DbContext features to the Visual Studio Solution Explorer context menu.

When right-clicking on a file containing a derived DbContext class, the following context menu functions are supported:

1) View Entity Data Model - Displays the underlying Code First model in the Entity Framework designer.
2) View Entity Data Model XML - Displays the EDMX XML representing the underlying Code First model.
3) Generate Views - Generates pre-compiled views used by the EF runtime to improve start-up performance. Adds the generated views file to the containing project.

Image Optimizer   1.0
Information about my package

JustMock   2014.2.616.1
Telerik JustMock Extension.

LightSwitch Extensibility Toolkit   4.0
The toolkit provides project types for creating new LightSwitch Extension Libraries and includes templates for creating the following LightSwitch extensions:   LightSwitch Business Type, LightSwitch Control, LightSwitch Data Source, LightSwitch Screen Template, LightSwitch Shell and LightSwitch Theme.

NuGet Package Manager   2.8.50313.46
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Oracle Developer Tools for Visual Studio   12.1.0.1.2
Oracle Developer Tools for Visual Studio Copyright (c) 2005, 2013

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

PVS-Studio   5.17.10380.1
PVS-Studio is a static code analyzer for C/C++ (Microsoft Visual Studio and Embarcadero RAD Studio) with a simple licensing and pricing policies which is easy to install and use without need to deploy a complex maintenance environment.

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

Telerik ASP.NET AJAX VSExtensions   2014.2.707.0
Telerik UI for ASP.NET AJAX VSExtensions

Telerik ASP.NET MVC VSExtensions   2014.2.707.0
Telerik UI for ASP.NET MVC VSExtensions

Telerik Data Access   2014.2.711.1
Telerik Data Access Copyright © 1996–2014 Telerik AD
Telerik Data Access is the ultimate data access layer solution for Microsoft .NET database applications.
www.telerik.com/orm

Telerik JustTrace   2014.2.617.3
Information about my package

Telerik Reporting   
For more information please visit http://www.telerik.com/reporting. Copyright © 2005–2014 Telerik AD

Telerik Silverlight VSExtensions   2014.1.514.0
Telerik UI for Silverlight VSExtensions

Telerik WinForms VSExtensions   2014.2.707.0
Telerik UI for WinForms VSExtensions

Telerik WPF VSExtensions   2014.1.514.0
Telerik UI for WPF VSExtensions

Visual Assist   
For more information about Visual Assist, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c) 1997-2014 Whole Tomato Software, Inc.

Web Essentials 2013   1.0
Adds many useful features to Visual Studio for web developers.

Windows Azure Mobile Services Tools   1.1
Windows Azure Mobile Services Tools

Windows Azure Remote Debugging   1.0
Windows Azure Remote Debugging Community Technology Preview

Windows Azure Tools   2.2
Windows Azure Tools for Microsoft Visual Studio 2013 - v2.2.11003.1601

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

4 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 2
answered on 05 Aug 2014, 05:44 PM
I seem to be able to step into code now, but have another issue. The line numbers are wrong. It is quite clear, because the stack trace often shows the code in a different method.
0
Ivan
Telerik team
answered on 08 Aug 2014, 11:58 AM
Hello,

Thank you for your feedback.
Could you explain a bit what do you mean by that the line numbers are wrong and the stack trace shows the code in a different method?

Regards,
Ivan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
kittykitty
Top achievements
Rank 1
answered on 10 Nov 2014, 08:03 AM
I seem to be able to phase into rule now, but have another problem. The line figures are incorrect. It is quite obvious, because the collection track often reveals the rule in a different technique.
0
Svetlozar
Telerik team
answered on 13 Nov 2014, 07:31 AM
Hi,

I am sorry for the inconvenience!

Could you please open a support ticket and send us the assembly and steps how to reproduce the behavior?

Regards,
Svetlozar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
John
Top achievements
Rank 2
Answers by
John
Top achievements
Rank 2
Ivan
Telerik team
kittykitty
Top achievements
Rank 1
Svetlozar
Telerik team
Share this question
or