-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to debug? #204
Comments
No, this is not related to 3F/coreclr#3 Did you try to set debugger type at least to Mixed? You can also note this in my old screencasts on youtube Also make sure .pdb is located near final/modified assembly. That is, same to $(TargetDir) because of selected x86 but $(TargetDir)\x86 for x86+x64 |
Hi, when I remove the nuget package it debugs normally hence I think it's
related. Dll and pdb are in same folder, but the error isn't that it can't
find the pdb. Not really sure what else I can try to debug this issues
…On Sun, Feb 20, 2022, 6:18 PM Denis Kuzmin ***@***.***> wrote:
Compiler.rSysObj: False
Compiler.ourILAsm: False
Compiler.customILAsm:
...
TargetFramework: net472
No, this is not related to 3F/coreclr#3
<3F/coreclr#3>
Did you try to set debugger type at least to Mixed? You can also note this
in my old screencasts on youtube
Also make sure .pdb is located near final/modified assembly. That is, same
to $(TargetDir) because of selected *x86* but $(TargetDir)\x86 for
*x86+x64*
—
Reply to this email directly, view it on GitHub
<#204 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKVVYM5YJZITMTG4EJO2YTU4EO6FANCNFSM5O4SB74A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi, @CoenraadS Can you clarify the following,
Thanks |
Hi, so I have enabled mixed-mode debugged on both my project and the unit test project, to no avail. Tried both VS2019 & 2022
I noticed it also happens to functions without [DllExport] attribute, as long as it's present on at least one function, all functions become undebuggable |
Do you mean change Unfortunately I am interfacing with a 32 bit application and then the bindings break. |
No. It will just produce both x86 and x64 modules in individual folders (i.e. |
Thanks for your patience, it is working now, at least from the unit test. I tried a remote-debug situation, but then received |
Can you describe steps for a "remote-debug situation" because "x86+x64" should work for other cases too, like manual attaching to process (just checked it) for debugger or other entering from some executable modules. |
Hi, I think the easiest way to reproduce is to run it from InnoSetup I made a minimal example, just run the script from InnoSetup and it will automatically launch the debugger and give the |
Although the issue was closed, but for clarity: this is not a bug (the label I changed in the past) For the current issue you need set DebugType=full (or pdbonly that's almost the same). That's all. n.
I checked both of your projects; The same old version 1.7.4, nothing changed. Works well. Thanks for the demo projects you prepared! it helped me check the issue for a few minutes, although this whole check took almost 3 years, well... |
Hello
Apologies for yet another issue, I did search first but didn't see this one yet.
Closest I found was #164 but it's not my problem
Maybe related to 3F/coreclr#3?
. . .
The question is related to:
DllExport -version
:1.7.4Data
tab:Hi
When I try to debug my project with
DLLExport
function from a unit-test, Visual Studio asks me to locate the{projectName}.il
file?Any idea how I can resolve this?
The text was updated successfully, but these errors were encountered: