Visual Studio Debugger not breaking when function (in external .net dll) is hit -
i followed steps described here break when function defined in external dll hit, not working me. maybe missing setting. how can work?
checklist: - enable code disabled - symbols external dll (system.data.entity.dll) appear have been loaded (see below)
edit: reply compile code 32 bit. worked me, can't if work others.
some notes: there useful tool know about. called srctool.exe
. comes debugging tools windows , got installed under c:\program files\debugging tools windows (x64)\srcsrv
on machine. can run on pdb file , tell whether file has been source indexed or not. if pdb file source-indexed, there link embedded in pdb file points location source code can fetched. e.g., see output srctool.exe:
[f:\dd\ndp\fx\src\dataentity\system\data\objects\dataclasses\relatedend.cs] trg: http://referencesource.microsoft.com/source/net/4.5/net//ndp/fx/src/dataentity/system/data/objects/dataclasses/relatedend.cs/550320/relatedend.cs
what if pdb file not source indexed? mean vs not able show source, step-in etc.? think so, though not expert. found this link semi-useful.
anyway, coming back, me, fetching code embedded link in pdb file meant running command (vs give popup inquire run command; if fails won't know; way know if succeeded run console) gave error.
tf.exe view /version:550320 /noprompt “$/[omitted]/[file].cs” /server:http://[omitted] /console > [file.cs]
to around limitation, manually downloaded .net framework source code http://referencesource.microsoft.com/netframework.aspx. there problem here also: file gets downloaded .aspx doesn't anything. turns out have rename .msi. run executable. see link: http://social.msdn.microsoft.com/forums/en-us/refsourceserver/thread/f17c11c1-72f6-4529-bafe-5a1d79b72bd7
i can't believe how many issues ran into.
visual-studio-debugging
No comments:
Post a Comment