Signum
Signum

Reputation: 885

Visual Studio debugger wait for managed code

I am writing C# plugin (DLL library) for a native\unmanaged application. The problem is that when I start debugger, the application runs and almost immediately exits (probably because my DLL is not loaded on application startup, but later). Checking "Enable native code debugging" helps, but significantly slows down application performance which is undesirable, because I only want to debug my C# code. Is there any way to debug DLL without enabling that option? I'm using Visual Studio 2015 Community.

Upvotes: 0

Views: 301

Answers (1)

Signum
Signum

Reputation: 885

I've figured it out. :) Enable "Use managed compatibility mode" in Options->Debugging->General.

Upvotes: 0

Related Questions