Reputation: 8745
I have 3 projects:
I managed to build the NuGet packages with pbd symbols and source included. NuGet packages are built in Release mode (may this is the problem?)
I've configured my debugging setup as follows
I can step into all "regular" methods like included extension methods.
But when I reach the interface I can't get it to step into the class implementing the interface. But I can step into code from regular methods from this NuGet package.
Any hints if this is just not possible or I missed ticking something else in the debug settings.
Upvotes: 1
Views: 1311
Reputation: 19081
There may be a couple of options for you:
If nothing else works, there is a third option: Logging.
This may not be exactly the answer you want to hear but in my experience, the best solution to problems such as this may be to add some logging that can be configured to be enabled or disabled as required.
A lot of bugs tend to be caused by missing values, missing references, or some other misconfiguration. Once you find them, they may be trivial to fix, but with implementations "hidden" behind interfaces like this, finding them can be difficult.
Find some way to expose the input-values to your logic, whether it is by logging to a database or just writing a plain-text log to a file, and I'll wager you'll save yourself some time when the next bug comes along, if not before.
...Just remember to disable the logging when you go into production mode, especially if there is any chance the logged data may include any sensitive information.
Upvotes: 2