堆栈跟踪信息preserving原始的源路径 [英] Stacktrace information preserving paths of original source

查看:125
本文介绍了堆栈跟踪信息preserving原始的源路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用C#.NET应用程序的开发。

I am using C#.net for application development.

要记录和调试例外,我用的是堆栈跟踪。

To log and debug exceptions, I use the stacktrace.

我执行我的应用程序在另一台机器,但在发生错误,它指的是自己的计算机的路径。

I executed my application on another machine, but when errors occur it refers to the path of my development machine.

Ex:   D:\Projects\xyz.CS line no :12 _Error_message_here.

为什么究的道路上我的发展的,即使我正在另一台计算机上的应用程序的机器路径?

Why does it trace to the path on my development machine path even though I am running the application on another machine?

推荐答案

原始编译路径存储在PDB文件内的调试信息。

The original compiled path is stored in the debug information within the PDB files.

这篇关于堆栈跟踪信息preserving原始的源路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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