Asp.Net Core:调试-附加到进程不起作用 [英] Asp.Net Core: Debug -Attach to process is not working

查看:127
本文介绍了Asp.Net Core:调试-附加到进程不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在.Net Framework中调试运行中的"IISExpress"进程的方法是在Visual Studio中附加名称为"iisexpress.exe"的进程.但是附加iisexpress程序在.Net core中不起作用.它显示消息-当前将不命中断点.没有为该文档加载任何符号."

The way we are used to debug a running "IISExpress" process in .Net Framework is by attaching a process by the name "iisexpress.exe" in Visual Studio. But attaching the iisexpress process is not working in .Net core. It shows the message - "The breakpoint will not currently be hit. No symbols have been loaded for this document."

推荐答案

要在.Net核心中调试正在运行的iisexpress实例,必须在Visual Studio中附加"dotnet.exe"进程.

To debug a running iisexpress instance in .Net core, you will have to attach "dotnet.exe" process in Visual Studio.

这篇关于Asp.Net Core:调试-附加到进程不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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