跟踪代码在运行时调用

编程入门 行业动态 更新时间:2024-10-28 20:18:53
本文介绍了跟踪代码在运行时调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在我的网站上使用跟踪。 在我使用trace for webapplication之前。那条痕迹很好。现在我转换成网站。无论我在哪里编写跟踪编译器都没有调用该函数。在运行期间我使用立即窗口,我复制了相同的跟踪线并执行它正在工作。请给我解决为什么编译器不调用跟踪?我的代码是

Hi, I am using trace for my website. Before I was using trace for webapplication. That trace was working fine. Now i converted to website. Wherever i have written trace compiler is not calling that function. During run time i am using immediate window and i copied the same trace line and executed it is working. Please give me solution why compiler is not calling trace? My code is

TraceSwitch Switch; Switch = new TraceSwitch("SwitchName", "Switch Trace"); System.Diagnostics.Trace.WriteIf(Switch.TraceInfo, "My message", "Info");

推荐答案

嗨 尝试课程登录项目 MP3-Rearrange 我在aspx和windows应用程序中使用它。 祝你好运 John Hi Try class Logging in project MP3-Rearrange I use it in aspx and windows apps. Good luck John

嗨炒: 现在我需要知道跟踪原理!事实上,我正在编写一个代码编码器,我想知道一些关于跟踪的内容!希望你能给我一些想法!谢谢! hi fried: now i need know the principle of tracing! in fact ,i am coding a codeeditor and i want to know some about tracing! hope you can give me some ideas! thank you !

更多推荐

跟踪代码在运行时调用

本文发布于:2023-11-05 06:29:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1560157.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:时调   代码

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!