Eyal Eyal -4 years ago 172
C# Question

Debug Managed and Unmanaged code together

My main startup project is in c++. the solution involves also managed c# code.
When I debug - I have breakpoints only on the unmanaged sections (on managed breakpoint it states : "The breakpoint will not currently be hit. invalid file line "

I checked the reference and saw that there is dll and pdb there.

What could it be?

Answer Source

how to set mixed-mode debugging http://msdn.microsoft.com/en-us/library/kbaht4dh(v=vs.100).aspx

And don't miss the link in the bottom.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download