PLCNext engineer freezes when debug mode is activated. The program shows error message after >10minutes of inactivity. Goal: Debugging PLCNext 2152 on remote site over VPN. This option is very important, as we will have 15> remote setups installed if configuration is working well. Setup local:
* VM with windows 7, * PLCNext engineer 2020.3.1 * Mguard secure VPN client (licenced)Setup remote site:
* Mguard RS2000 4G
* PLCNext ACX F 2152 with FW 2020.0
Error message:
PLCNext 2152 PLCnext Engineer, Version 2020.3.1 (Build 4.3.214.0) Unexpected Exception
======================================================================
This Visual is not connected to a PresentationSource. Exception chain:
----------------------------------------------------------------------
InvalidOperationException ====================================================================== Details
---------------------------------------------------------------------- InvalidOperationException
==============================
Message:
------------------------------
This Visual is not connected to a PresentationSource. Stack trace:
------------------------------
at System.Windows.Media.Visual.PointFromScreen(Point point)
at Ade.Text.TextEditor.IsScreenPositionInsideVisibleTextArea(Double positionX, Double positionY)
at dsy.a(Double A_0, Double A_1)
at dsm.c.a()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at Ade.Application.ApplicationStarter.Run()
at (String )
at PCWorxNext.Startup.Main(String args)