如何查看Visual Studio * .pdb? [英] how to view Visual Studio *.pdb?

查看:258
本文介绍了如何查看Visual Studio * .pdb?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

i知道我项目的文件* .pdb包含有关全局变量地址的所有信息。

i wana要知道并查看这些信息用于某些目的。

解决方案

pdb文件在编译期间创建。我可以问你为什么要这样做?


我需要知道我的全局变量的相对地址,这样当我的程序运行时我可以改变那些地址和控制的值运行我的程序。

,因为我的程序是嵌入式控制软件的测试版,在完成测试后将加载到芯片,所以我需要提取所有调试信息,我知道这是由visual studio存储在pdb文件中,所以我想知道这个文件的viwer?谢谢


它没有意义..

如果你想要控制你的记忆地址,然后寻找相对的方式,你寻找的方式是不方便的。


您想要更改的地址将在运行时选择。你与此无关。


我不知道您的嵌入式设备或该设备的操作系统,但如果您想将(不更改)地址设置为全局地址,则必须以编程方式执行此操作。可能是定义一个指针类型变量,然后直接设置地址。


但是如果你想访问其他软件的内存地址,那么按照链接您可能会找到出路。

hi all,
i know that the file *.pdb for my project contains all information about global variables address.
i wana to know and view those information for some purposes.

解决方案

pdb file get created during compilation time. may I ask why you want to do that??


i need to know the relative addresses of my global variables,so that while my programm running i can change the value of those addresses and control the running of my programm.
because my program is a beta for an embeded control software that will be loadded to the chip after completing the testing,so i need to extract all debugging information and i know that is stored in the pdb file by the visual studio,so i wana a viwer for this file?thanks


It does not make sense..
If you want to control your memory address then look for the relative way, the way you are looking for is not convenient.

The address you want to change will be chosen in runtime. you have nothing to do with that.

I dont know your embedded device or the operating system of that device, but If you want to set(Not change) a address as global address then you will have to do it programmatically. May be defining a pointer type variable and then set the address directly.

But If you want to access memory address of other software then Follow the link you might find a way out.


这篇关于如何查看Visual Studio * .pdb?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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