本文介绍了跟踪代码在运行时调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的网站上使用跟踪。 在我使用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 !
更多推荐
跟踪代码在运行时调用
发布评论