无法跟踪C#应用程序 [英] Can't Trace C# Application

查看:78
本文介绍了无法跟踪C#应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目是用C#

制作的,现在我添加一些更改



但是当添加一行代码时: int x = 0;

并运行它(F5)

i无法使用断点跟踪我的代码

所以,我需要帮助

为什么不能追踪?

虽然当删除我的更改

并运行它时,应用程序允许我跟踪代码。

I have a project was made in C#
and now i add some changes

but when added one line of code like : int x=0;
and run it (F5)
i can''t trace my code using the Breakpoint
so , i need help
why can''t i do trace ?
Although when remove my changes
and run it the Application allows me to trace the code.

推荐答案

可能是你设置为在运行之前不构建软件 - 检查,手动重建(使用Build菜单和Rebuild Solution)然后执行F5。



如果暂时修复它,请查看工具,选项,项目和解决方案,构建并运行,并确保运行中设置为始终构建
Probably, you have it set to not build your software before running - to check, do a manual rebuild (use the Build menu and "Rebuild Solution") then F5 to execute.

If that temporarily fixes it, look under "Tools", "Options", "Projects and Solutions", "Build and Run" and ensure that "On Run" is set to "Always build"


这篇关于无法跟踪C#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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