如何使用Roslyn启用源代码调试? [英] How Can I Enable Source Code Debugging Using Roslyn?

查看:261
本文介绍了如何使用Roslyn启用源代码调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道,现在经过rslyn的修改,我们可以调试内置在clasess和方法中的C#的源代码.我很好奇知道.net源代码在后台如何工作.

我已经安装了Visual Studio 2015社区版本,但仍然无法调试方法的源代码.当我转到某个方法或类的定义时,我找不到其实现.

我想我缺少了一些非常简单的东西,但我无法弄清楚.

I came to know that now after the relese of rslyn we can debug sourc code of C# built in clasess and methods. I am curious to know how the .net source code works behind the scene.

I have installed the visual studio 2015 community version but i am still not able to debug the source code of methods.When i goto definition of some method or class then i am unable to find its implementation.

I guess i am missing something very simple but i am unable to figure it out.

推荐答案

尝试:工具->选项->调试->启用.NET Framework源代码步进

这还将关闭仅我的代码",并为您设置符号服务器缓存位置.
Try: Tools -> Options -> Debugging -> Enable .NET Framework source stepping

This will also turn off "Just my code", and set up a symbol server cache location for you.


这篇关于如何使用Roslyn启用源代码调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆