Skip to content
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 on x86 #216

Closed
Chussya opened this issue Nov 24, 2022 · 3 comments
Closed

How to debug on x86 #216

Chussya opened this issue Nov 24, 2022 · 3 comments

Comments

@Chussya
Copy link

Chussya commented Nov 24, 2022

Hi, I have an application which works on x86 only, and I want to ask about debug.
When I was installing DllExport, I choose all options from your guid on README, but when I started my project it not work. Application know about my generated dll, but didn't start.
BUT, when I chose x86 (instead of auto or x86+x64), application can sees mine dll. But when I put a breakpoint, when I run the extension dll, I see that I can't debug. The IDE just writes that there are no symbols loaded, or something like that.
I have already used your extension, but for .NET 4.5.2 Framework.
Now I have use 4.7.2 and I don't understand why I cannot debug. Could you give me more info about options? I read about similar problem on https://stackoverflow.com/questions/71195687/how-to-debug-a-project-using-unmanaged-exports-nuget-package but:
1: I've already used Any CPU and didn't help.
2: When I chose x86+x64 my breakpoints are alive, but dll extension didn't start. When I chose x86, dll can start, but cannot debug.
Code are similar between 4.5.2 and 4.7.2, it's 100%, so it's not code problem. Maybe with my application outdated for this lib?

@3F
Copy link
Owner

3F commented Dec 19, 2022 via email

@3F
Copy link
Owner

3F commented Dec 19, 2022 via email

@3F 3F added the unclear label Dec 17, 2024
@3F
Copy link
Owner

3F commented Dec 17, 2024

Some behavior around PDB / Publish / x86+x64 / obj<-bin for a single x86 or x64 / ... are updated to the coming 1.8 release.
Meanwhile without any details on the current issue I can't figure out if the problem has gone away.

You can check it personally via latest CI build https://ci.appveyor.com/project/3Fs/dllexport-ix27o/builds/51186002/artifacts until official release.

I'm closing the issue due to inactivity and due to fixes in other related things as I mentioned.
Feel free to open it again but please provide some details. Thanks!

@3F 3F closed this as completed Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants