c# - How to limit 0xFEEFEE line numbers in PDB files -
I am working on a device that uses codec to analyze the code in nit binary. Under this, I am checking PDB files for buyers, which links searches to source code lines.
This works fine for most cases: I get the correct source file path and line number .pdb. However, in some cases (I believe that when code is inside code #region
, but not sure), line number set to 16707566
(0xFEEFEE) has gone. It is less-known to indicate that the line has been hidden from the user. The problem is, when. As a line number in PDB in line number, I can not do much with it - I can not (easily) tie the source back to my analysis findings.
I tried to change many visual studio options, and after that I recreated the code that I am doing but I still have the line number for code in the fields as 0xFEEFEE I'm receiving
. (For example, I tried to deactivate the fields but it does not help. In addition, the analysis code is created from the Build Script, not the IDE.)
Is it C # compiler Can possibly tell? In the .csproj setting or registry) always throw the actual line numbers (when it makes sense - for 'real' source code lines) and do not use markers of these hidden lines?
I had to loop through the rules in all the rules and in order to see the first sequence point with a sequence line number - it reduces the number of lines hidden by me.
Comments
Post a Comment