Inspect code - analyses an excluded file

Hi, 

When Inspect code is run from TeamCity, (Inspections (ReSharper) runner, version: 2019.1.2) I wish to exclude a cpp file from being inspected. I add the file to be exluded in the 'Elements to skip' section as shown below.

I see it in the dotSettings file as x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=5E41448E_002DB544_002D3891_002D9418_002D7EC8ED15986B_002Fdl_003ADbx2Xml_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003FSWX_003FComponents_003FDbx2Xml_002Fd_003ASource_002Fd_003ASrc_002Ff_003AEXP_005FLxmlConverter_002Ecpp/@EntryIndexedValue">ExplicitlyExcluded</s:String>

This dotSettings file is given to TeamCity step as below:

 

But still when TeamCity runs Inspection, I see it inspecting the excluded file 

 

 

Why is the file meant to be excluded as per the dot Settings file still being inspected??

Am I missing something else to configure? 

 

 

Thanks in advance,
Best regards,
Irin

10 comments
Comment actions Permalink

Hi, 

Any update on this problem? Do you need any further information from my side?

Best regards,
Irin

0
Comment actions Permalink

Hello,

This is unfortunately a known issue, please vote for https://youtrack.jetbrains.com/issue/RSRP-469382. I'll try to bump its priority.

Thanks!

0
Comment actions Permalink

Hi Igor, 

ok, Please increase the priority. This is because there is a crash (reported by multiple people here https://youtrack.jetbrains.com/issue/RSRP-466773) from Code inspection on one cpp file and the only workaround of this bug is to exclude this file from inspection. 

Best regards,
Irin

0
Comment actions Permalink

Could you please confirm that inspectcode always crashes on this file with the stack trace exactly as in https://youtrack.jetbrains.com/issue/RSRP-466773? It's a bit strange, since the stack trace looks unrelated to analyzing a C++ file.

0
Comment actions Permalink

yes, here is the stacktrace:

Asking for writer lock unexpected. File changes:
[21:03:42][Step 4/4]
[21:03:42][Step 4/4] --- EXCEPTION #1/1 [LoggerException]
[21:03:42][Step 4/4] Message = "Asking for writer lock unexpected. File changes:"
[21:03:42][Step 4/4] ExceptionPath = Root
[21:03:42][Step 4/4] ClassName = JetBrains.Util.LoggerException
[21:03:42][Step 4/4] HResult = COR_E_APPLICATION=80131600
[21:03:42][Step 4/4] StackTraceString = "
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.<>c__DisplayClass2_0.<Main>b__4(Object sender, BeforeAcquiringWriteLockEventArgs args)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.ContentModelReadWriteLock.FireBeforeAcquiringWriteLock(BeforeAcquiringWriteLockEventArgs args)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.ContentModelReadWriteLock.AcquireWriteLock(CallerInfo callerInfo)
[21:03:42][Step 4/4] at JetBrains.ReSharper.Resources.Shell.WriteLockCookie.Create(CallerInfo caller)
[21:03:42][Step 4/4] at JetBrains.ReSharper.Psi.Cpp.Util.CppWriteLock..ctor()
[21:03:42][Step 4/4] at JetBrains.ReSharper.Psi.Cpp.Caches.CppGeneratedFilesCache.SynchronizeDocumentAction.Synchronize()
[21:03:42][Step 4/4] at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
[21:03:42][Step 4/4] at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
[21:03:42][Step 4/4] at JetBrains.Threading.JetDispatcher.Closure.Execute()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeImpl()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.Invoke()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.ProcessQueue()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[21:03:42][Step 4/4] at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.RunFindCodeIssues(IProjectFile[] projectFiles, Action`1 issueConsumer)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.Run(IEnumerable`1 inspectScope, IProjectFile[] files, InspectCodeOutputFormat format, Boolean useAbsolutePaths, FileSystemPath outputFile)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.Main(Lifetime lifetime, IThreading invocator, IComponentContainer container, IShellLocks shellLocks, ILogger logger, IInspectCodeSettings settings, IProductCommandLineArguments argumentsRaw)
[21:03:42][Step 4/4] at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
[21:03:42][Step 4/4] at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
[21:03:42][Step 4/4] at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0()
[21:03:42][Step 4/4] at JetBrains.Util.Logging.Logger.Catch(Action action)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.IThreadingEx.<>c__DisplayClass13_1.<ExecuteOrQueueWhenNotGuarded>b__2()
[21:03:42][Step 4/4] at JetBrains.Threading.JetDispatcher.Closure.Execute()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeImpl()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.Invoke()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.ProcessQueue()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[21:03:42][Step 4/4] at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.IJetHostEx.<>c__DisplayClass2_0.<RunHostMessageLoop>b__0(Lifetime lifetime)
[21:03:42][Step 4/4] at JetBrains.DataFlow.Lifetimes.Using(Action`1 ?)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input)
[21:03:42][Step 4/4] at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Main(Assembly assembly, Type environmentZoneType, HostInfo hostInfo, IProductInfo productInfo, String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Run[TZone,TProductInfo](String productHostShortName, String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
[21:03:42][Step 4/4] "
[21:03:42][Step 4/4]
[21:03:42][Step 4/4] Asking for writer lock unexpected. File changes:
[21:03:42][Step 4/4]
[21:03:42][Step 4/4] --- EXCEPTION #1/1 [LoggerException]
[21:03:42][Step 4/4] Message = "Asking for writer lock unexpected. File changes:"
[21:03:42][Step 4/4] ExceptionPath = Root
[21:03:42][Step 4/4] ClassName = JetBrains.Util.LoggerException
[21:03:42][Step 4/4] HResult = COR_E_APPLICATION=80131600
[21:03:42][Step 4/4] StackTraceString = "
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.<>c__DisplayClass2_0.<Main>b__4(Object sender, BeforeAcquiringWriteLockEventArgs args)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.ContentModelReadWriteLock.FireBeforeAcquiringWriteLock(BeforeAcquiringWriteLockEventArgs args)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.ContentModelReadWriteLock.AcquireWriteLock(CallerInfo callerInfo)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.IShellLocksEx.UsingWriteLock(IShellLocks locks, String callerFilePath, String callerMemberName)
[21:03:42][Step 4/4] at JetBrains.DocumentModel.impl.ManagedDocumentBase.ReplaceText(TextRange atRange, String text)
[21:03:42][Step 4/4] at JetBrains.ReSharper.Psi.Cpp.Caches.CppGeneratedFilesCache.SynchronizeDocumentAction.Synchronize()
[21:03:42][Step 4/4] at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
[21:03:42][Step 4/4] at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
[21:03:42][Step 4/4] at JetBrains.Threading.JetDispatcher.Closure.Execute()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeImpl()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.Invoke()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.ProcessQueue()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[21:03:42][Step 4/4] at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.RunFindCodeIssues(IProjectFile[] projectFiles, Action`1 issueConsumer)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.Run(IEnumerable`1 inspectScope, IProjectFile[] files, InspectCodeOutputFormat format, Boolean useAbsolutePaths, FileSystemPath outputFile)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.Main(Lifetime lifetime, IThreading invocator, IComponentContainer container, IShellLocks shellLocks, ILogger logger, IInspectCodeSettings settings, IProductCommandLineArguments argumentsRaw)
[21:03:42][Step 4/4] at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
[21:03:42][Step 4/4] at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
[21:03:42][Step 4/4] at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0()
[21:03:42][Step 4/4] at JetBrains.Util.Logging.Logger.Catch(Action action)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.IThreadingEx.<>c__DisplayClass13_1.<ExecuteOrQueueWhenNotGuarded>b__2()
[21:03:42][Step 4/4] at JetBrains.Threading.JetDispatcher.Closure.Execute()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeImpl()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.Invoke()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.ProcessQueue()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[21:03:42][Step 4/4] at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.IJetHostEx.<>c__DisplayClass2_0.<RunHostMessageLoop>b__0(Lifetime lifetime)
[21:03:42][Step 4/4] at JetBrains.DataFlow.Lifetimes.Using(Action`1 ?)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input)
[21:03:42][Step 4/4] at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Main(Assembly assembly, Type environmentZoneType, HostInfo hostInfo, IProductInfo productInfo, String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Run[TZone,TProductInfo](String productHostShortName, String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
[21:03:42][Step 4/4] "
[21:03:42][Step 4/4]
[21:03:42][Step 4/4] Asking for writer lock unexpected. File changes:
[21:03:42][Step 4/4]
[21:03:42][Step 4/4] --- EXCEPTION #1/1 [LoggerException]
[21:03:42][Step 4/4] Message = "Asking for writer lock unexpected. File changes:"
[21:03:42][Step 4/4] ExceptionPath = Root
[21:03:42][Step 4/4] ClassName = JetBrains.Util.LoggerException
[21:03:42][Step 4/4] HResult = COR_E_APPLICATION=80131600
[21:03:42][Step 4/4] StackTraceString = "
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.<>c__DisplayClass2_0.<Main>b__4(Object sender, BeforeAcquiringWriteLockEventArgs args)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.ContentModelReadWriteLock.FireBeforeAcquiringWriteLock(BeforeAcquiringWriteLockEventArgs args)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.ContentModelReadWriteLock.AcquireWriteLock(CallerInfo callerInfo)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.IShellLocksEx.UsingWriteLock(IShellLocks locks, String callerFilePath, String callerMemberName)
[21:03:42][Step 4/4] at JetBrains.DocumentModel.impl.ManagedDocumentBase.HandleExternalDocumentChange(DocumentChange args, Int32 timestamp)
[21:03:42][Step 4/4] at JetBrains.DocumentModel.impl.ManagedDocumentBase.ApplyInternalDocumentChange(DocumentChange documentChange, Int32 timestamp)
[21:03:42][Step 4/4] at JetBrains.DocumentModel.impl.ManagedDocumentBase.ChangeDocument(DocumentChange documentChange, Int32 timestamp)
[21:03:42][Step 4/4] at JetBrains.DocumentModel.impl.ManagedDocumentBase.ReplaceText(TextRange atRange, String text)
[21:03:42][Step 4/4] at JetBrains.ReSharper.Psi.Cpp.Caches.CppGeneratedFilesCache.SynchronizeDocumentAction.Synchronize()
[21:03:42][Step 4/4] at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
[21:03:42][Step 4/4] at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
[21:03:42][Step 4/4] at JetBrains.Threading.JetDispatcher.Closure.Execute()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeImpl()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.Invoke()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.ProcessQueue()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[21:03:42][Step 4/4] at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.RunFindCodeIssues(IProjectFile[] projectFiles, Action`1 issueConsumer)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.Run(IEnumerable`1 inspectScope, IProjectFile[] files, InspectCodeOutputFormat format, Boolean useAbsolutePaths, FileSystemPath outputFile)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.Main(Lifetime lifetime, IThreading invocator, IComponentContainer container, IShellLocks shellLocks, ILogger logger, IInspectCodeSettings settings, IProductCommandLineArguments argumentsRaw)
[21:03:42][Step 4/4] at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
[21:03:42][Step 4/4] at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
[21:03:42][Step 4/4] at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0()
[21:03:42][Step 4/4] at JetBrains.Util.Logging.Logger.Catch(Action action)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.IThreadingEx.<>c__DisplayClass13_1.<ExecuteOrQueueWhenNotGuarded>b__2()
[21:03:42][Step 4/4] at JetBrains.Threading.JetDispatcher.Closure.Execute()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeImpl()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.Invoke()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.ProcessQueue()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[21:03:42][Step 4/4] at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.IJetHostEx.<>c__DisplayClass2_0.<RunHostMessageLoop>b__0(Lifetime lifetime)
[21:03:42][Step 4/4] at JetBrains.DataFlow.Lifetimes.Using(Action`1 ?)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input)
[21:03:42][Step 4/4] at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Main(Assembly assembly, Type environmentZoneType, HostInfo hostInfo, IProductInfo productInfo, String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Run[TZone,TProductInfo](String productHostShortName, String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
[21:03:42][Step 4/4] "
[21:03:42][Step 4/4]
[21:03:42][Step 4/4] Asking for writer lock unexpected. File changes:
[21:03:42][Step 4/4]
[21:03:42][Step 4/4] --- EXCEPTION #1/1 [LoggerException]
[21:03:42][Step 4/4] Message = "Asking for writer lock unexpected. File changes:"
[21:03:42][Step 4/4] ExceptionPath = Root
[21:03:42][Step 4/4] ClassName = JetBrains.Util.LoggerException
[21:03:42][Step 4/4] HResult = COR_E_APPLICATION=80131600
[21:03:42][Step 4/4] StackTraceString = "
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.<>c__DisplayClass2_0.<Main>b__4(Object sender, BeforeAcquiringWriteLockEventArgs args)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.ContentModelReadWriteLock.FireBeforeAcquiringWriteLock(BeforeAcquiringWriteLockEventArgs args)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.ContentModelReadWriteLock.AcquireWriteLock(CallerInfo callerInfo)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.IShellLocksEx.UsingWriteLock(IShellLocks locks, String callerFilePath, String callerMemberName)
[21:03:42][Step 4/4] at JetBrains.ReSharper.Feature.Services.Cpp.Caches.CppGlobalCacheImpl.RefreshDocumentChanges(JetHashSet`1 dirtyFiles)
[21:03:42][Step 4/4] at JetBrains.ReSharper.Feature.Services.Cpp.Caches.CppGlobalCacheImpl.Execute(IChangeMap changeMap)
[21:03:42][Step 4/4] at JetBrains.Application.changes.ChangeManagerImpl.<>c__DisplayClass21_0.<InvokeOrderedDependentProviders>b__0(IProgressIndicator pro)
[21:03:42][Step 4/4] at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTaskTrivial(Action`1 task)
[21:03:42][Step 4/4] at JetBrains.Application.Progress.SimpleTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
[21:03:42][Step 4/4] at JetBrains.Application.changes.ChangeManagerImpl.InvokeOrderedDependentProviders(ITaskExecutor executor, IEnumerable`1 dependentProviders, ChangeMap changeMap)
[21:03:42][Step 4/4] at JetBrains.Application.changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor)
[21:03:42][Step 4/4] at JetBrains.ReSharper.Psi.Cpp.Caches.CppGeneratedFilesCache.SynchronizeDocumentAction.Synchronize()
[21:03:42][Step 4/4] at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
[21:03:42][Step 4/4] at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
[21:03:42][Step 4/4] at JetBrains.Threading.JetDispatcher.Closure.Execute()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeImpl()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.Invoke()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.ProcessQueue()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[21:03:42][Step 4/4] at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.RunFindCodeIssues(IProjectFile[] projectFiles, Action`1 issueConsumer)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeRunner.Run(IEnumerable`1 inspectScope, IProjectFile[] files, InspectCodeOutputFormat format, Boolean useAbsolutePaths, FileSystemPath outputFile)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.Main(Lifetime lifetime, IThreading invocator, IComponentContainer container, IShellLocks shellLocks, ILogger logger, IInspectCodeSettings settings, IProductCommandLineArguments argumentsRaw)
[21:03:42][Step 4/4] at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
[21:03:42][Step 4/4] at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
[21:03:42][Step 4/4] at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0()
[21:03:42][Step 4/4] at JetBrains.Util.Logging.Logger.Catch(Action action)
[21:03:42][Step 4/4] at JetBrains.Application.Threading.IThreadingEx.<>c__DisplayClass13_1.<ExecuteOrQueueWhenNotGuarded>b__2()
[21:03:42][Step 4/4] at JetBrains.Threading.JetDispatcher.Closure.Execute()
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
[21:03:42][Step 4/4] at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeImpl()
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[21:03:42][Step 4/4] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
[21:03:42][Step 4/4] at System.Windows.Threading.DispatcherOperation.Invoke()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.ProcessQueue()
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
[21:03:42][Step 4/4] at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
[21:03:42][Step 4/4] at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
[21:03:42][Step 4/4] at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.IJetHostEx.<>c__DisplayClass2_0.<RunHostMessageLoop>b__0(Lifetime lifetime)
[21:03:42][Step 4/4] at JetBrains.DataFlow.Lifetimes.Using(Action`1 ?)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
[21:03:42][Step 4/4] at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input)
[21:03:42][Step 4/4] at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Main(Assembly assembly, Type environmentZoneType, HostInfo hostInfo, IProductInfo productInfo, String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Run[TZone,TProductInfo](String productHostShortName, String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
[21:03:42][Step 4/4] at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
0
Comment actions Permalink

Thanks a lot, this stack makes more sense. It looks like InspectCode can't handle #import directives, I've created https://youtrack.jetbrains.com/issue/RSCPP-27587 to track this.

0
Comment actions Permalink

Hi Irin,

I'm trying to reproduce the issue on buildserver but still no luck unfortunately. As far as I see you're using ReSharper 2019.1.2 on TeamCity, but could you tell what ReSharper version you're using locally to create the settings file? There might be a problem if these versions don't match.

0
Comment actions Permalink

Hi Asia, 

They are different. I use ReSharper 2019.2.2 locally and 2019.1.2 on TeamCity.

Best regards,
Irin 

0
Comment actions Permalink

Hi Irin,

Thanks for update! Still works on my side unfortunately. One last idea: as far as I see on your R# settings screenshot, the structure of your solution can be somewhat complicated, and this might be the case. We have internal actions that can show how projects and files are organized inside the solution. It would be very helpful if you could run them for us. Please run Visual Studio with /ReSharper.Internal key, open your solution and select ReSharper / Internal / Project Model / Dump Project Model and ReSharper / Internal / Project Model / Dump VsHierarchy; after that send the text files to alexandra.rudenko@jetbrains.com. Thanks in advance!

0
Comment actions Permalink

Hi Asia, 

I have send you a mail with the above information.

Best regards,
Irin

0

Please sign in to leave a comment.