module not loaded in debug Visual Studio, i can't debug

DJG 26 Reputation points
2023-01-20T17:57:08.5266667+00:00

Hi to all.

i've a solution with three projects.

One is the main project and the other two contain code that i need to debug.

One of this two projects (clientfunction) correctly load its dll into the visual studio module with all its symbols the other instead not appear in the list.

I've tried also to recreate the main project, but nothing changed.
This below is a project where the dll normally appears (the one in yellow color).
User's image

and this below is another project where the same dll (yellow color above) is present in the main project but doesn't appear in the debug list of visual studio module instead it still appears (clientfunction).

User's image

Any ideas?
Thanks for the help in advance.

Developer technologies Visual Studio Debugging
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Santhi Swaroop Naik Bukke 595 Reputation points
    2023-01-20T18:22:13.2366667+00:00

    There are a few potential causes for this issue, here are a few possible solutions:

    1. Verify that the module is being loaded correctly: Make sure that the module is being loaded correctly in the project, by checking the project references, and dependencies.
    2. Check the project's configuration: Make sure that the project is set to the correct configuration, such as "Debug" or "Release".
    3. Check the target platform: Make sure that the project is set to the correct target platform, such as "x64" or "x86".
    4. Verify that the module is being loaded by the correct version of the runtime: Make sure that the module is being loaded by the correct version of the runtime, such as .NET Framework or .NET Core.
    5. Try cleaning and rebuilding the solution: Sometimes, the problem can be caused by a corrupted build, you can try cleaning the solution and rebuilding it.
    6. Check if the module is blocked: Some modules may be blocked by the operating system, check if the module is blocked and unblock it if necessary.
    7. Check if there is any antivirus blocking the module: Some antivirus software may block the module from loading, check the antivirus software settings, and whitelist the module if necessary.
    8. Try running Visual Studio as administrator: Sometimes, running Visual Studio as an administrator can help resolve this issue.
    9. Check the output window for more information: The output window can provide more detailed information about the error, check the output window for more information about the error.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


  2. DJG 26 Reputation points
    2023-01-21T15:08:42.54+00:00

    Dear Santhi,
    i've a main_module that starts the project.I've discovered that if i put e reference in this module to the ffmpegEncoder with a variable defined as new ffmpegencoder, when i run the project it shows me the ffmpegEncoder dll into the debug module, if i don't do this thing it doesn't insert in the debug module the dll

    Many thanks again.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.