Debug output from C# code via P/Invoke OutputDebugString doesnt work in the Debugger.Output appears in VS OutputWindow, but not in MS-SysInternals DebugView or other Debug Monitors.OutputDebugString works, when running outside VS, and when running inside VS but without debugging (Launch via Ctrl-F5).This bug is not identical to #330369 ( https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=330369 ). Please note, that the 'Steps to reproduce' implement precisely the recommended workaround on bug #330369.If the decision to cut off all other debug monitors is by design, there should be an option/switch/registry setting to re-enable other debug monitors.The code to reproduce the bug is attached as ODS.cs. Compile as console application.The output to Console in class MTL is of course redundant, but proves that that the methods of MTL are actually called.
Version