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

Question/Request: is there any way to debug dynamically added assemblies? #2

Open
DonMatron opened this issue Nov 20, 2024 · 1 comment

Comments

@DonMatron
Copy link

Hello, I'm using this awesome library to integrate some C# code to handle data interactions in my tauri app and it would be really great to have a possibility to debug my code.

Backstory

I created a tauri project and went through the setup guide from readme, so finally I got a C# module, that was working as expected.

Jump to the problem

I wanted to debug my code via Visual Studio -> Debug -> Attach to process but I didn't find my dll there.
image

No symbols are loaded from my implementation of TauriPlugIn.dll since it is being loaded dynamically in TauriDotnetBridge.Composer.

Possible solutions?

Perhaps it is possible to load assemblies with their pdb when in debug mode, but I'm not sure about it.

May be helpful

Here I found kind of similar problem: Samsung/netcoredbg#91

PS

I may be missing something and there is already a better solution to this problem, so I'll be thankful for your help :)

@RubenPX
Copy link

RubenPX commented Nov 21, 2024

Maybe you can write an example of your implementation to test your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants