开发者

Symbol table entries in visual studio 2008

开发者 https://www.devze.com 2023-04-04 04:40 出处:网络
The following two links helped me to locate the symbol table in visual studio. What/Where is the "Symbol Browser" in Visual Studio 2008?

The following two links helped me to locate the symbol table in visual studio.

What/Where is the "Symbol Browser" in Visual Studio 2008?

http://msdn.microsoft.com/en-us/library/sxdy04be.aspx

I executed a simple program to see the values in symboltable but nothing is inside the .rc file.

int main()
{
 int a=10;
 int *p;
 int k[]={10,20,30};
 return 0;
}

I expected that the symbol table will contain a as an integer type.But nothing is there in the .rc file.Please help me understand what to do to see the symb开发者_StackOverflowol table entries.


This is a misunderstanding. In this context, Symbol Browser refers to the Resource Symbols dialog of a resource file. It has nothing to do with the symbols in C code. Furthermore, .rc files are resource files containing icons, menus, dialogs, string etc. A compiled program contains hardly any symbol information as they are not needed at run-time.

Update:

VisualStudio stores symbol information in a separate file with the .pdb extension. It's mainly use for the debugger. The .pdb file is in a proprietary and undocumented format but you can access it with the Debug Interface Access SDK.

0

精彩评论

暂无评论...
验证码 换一张
取 消