Windows CE 5.0 和 Compact Framework 3.5 上的 System.Diagnostics.Trace/Debug

发布于 2024-10-08 03:22:07 字数 288 浏览 0 评论 0原文

我正在使用 .Net Compact Framework 3.5 开发 Windows CE 5.0 设备。该设备有自己的无线连接,我想使用 System.Diagnostics.Trace 和本地网络来监视应用程序活动,最好使用桌面计算机上的侦听器 (DebugView) 来监视 CE 设备上运行的 .Net 代码。

我有两个问题:

1)使用 Compact Framework 3.5 可以吗?

2)如果没有,我们可以通过另一种(简单的)方法来实现它吗?

任何指导将不胜感激。谢谢 :-)

I'm working on a Windows CE 5.0 device using the .Net Compact Framework 3.5. The device has its own wireless connection and I'd like to use System.Diagnostics.Trace and the local network to monitor application activity, ideally using a listener (DebugView) on a desktop machine to monitor the .Net code running on the CE device.

I have two questions:

1) Is this possible using the Compact Framework 3.5?

2) If not is there another (simple) way which we can acheive it?

Any guidance would be appreciated. Thanks :-)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

-残月青衣踏尘吟 2024-10-15 03:22:07
  1. 如果您与 Studio 中的调试器连接,那么您将在 Studio 的“调试”视图中收到调试消息,但这是唯一内置的“管道”。如果您希望这些消息通过其他调试侦听器,无论是Studio 或其他应用程序的断开连接实例,紧凑框架本身并不支持此功能。
  2. 您可以创建一个 TraceListener 实现以您想要的任何格式推出数据。
  1. If you're connected with the debugger in Studio, then you will get debug messages in the Debug view in Studio, but that's the only "pipe" that's built in. If you want those messages to go so some other debug listener, whether it's a disconnected instance of Studio or some other app, the compact framework does not inherently support this.
  2. You could create a TraceListener implementation that does push the data out in whatever format you want.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文