Skip to content

使用.Net4.0生成的portablePDB,需升级Mono.Cecil到0.10.4,并修改使用mdb的部分 #4

@mouse22cat

Description

@mouse22cat

使用.Net4.0生成的portablePDB,需升级Mono.Cecil到0.10.4,并修改使用mdb的部分
https://cecil.pe
//引用部分
在引入可移植PDB调试符号格式之前,.NET VM实现与其调试符号格式之间存在1对1的关联。Mono将使用mdb格式,.NET将使用本机pdb格式,这就是Cecil的工作方式。现在,一个平台可以使用不同的格式。

以前,当您写:
ReadAssembly (file, new ReaderParameters { ReadSymbols = true });
Cecil会尝试查找与平台关联的文件,如果找不到则抛出该文件。

现在,在0.10 beta 3中,Cecil将尝试查找不同类型的调试符号。这样,作为Cecil用户,您不必处理试图提交mdb或pdb文件的逻辑,Cecil只会加载可用的文件。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions