Forum Replies Created
-
AuthorPosts
-
jmkresseParticipant
This issue just appeared in a new project. It it GNU make-based. When I did a Shift-right click on the Project tab, it did not display an error.
jmkresseParticipantThanks!
jmkresseParticipantThanks! That explains why the issue was intermittent; I’m guessing he was hitting network congestion when he had the issue.
jmkresseParticipantHi,
After being able to repeat the issue at will previously, my user was not able to repeat it today. Instead, things glitched at an earlier point, but he was able to recover and work around the issue. For now, given he has a workaround, he doesn’t want to pursue this any further. If (when) that changes, I’ll get back to you.
For what it’s worth, the version we are using here is 5.2.15.1452.
Thanks!
jmkresseParticipantThank you for that clarification.
Here is the frame copy from the Call Stack window:
> WindowsBase.dll!System.Windows.Threading.DispatcherSynchronizationContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown mscorlib.dll!System.Threading.SynchronizationContext.InvokeWaitMethodHelper(System.Threading.SynchronizationContext syncContext, System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) Unknown mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) Unknown mscorlib.dll!System.Threading.WaitHandle.WaitOne() Unknown VisualGDB.exe!f61.h1.f.a_2() Unknown VisualGDB.exe!f61.x(f61.n2<int> a) Unknown VisualGDB.exe!ir1.Dispose() Unknown VisualGDB.exe!zk1.Dispose() Unknown VisualGDB.exe!kf.a1() Unknown VisualGDB.exe!z61.a1.c(kf a) Unknown VisualGDB.exe!z61.a1.d(string b, string a, z61.a1.h c) Unknown VisualGDB.exe!z61.o(SysprogsDevTools.Commands.RemoteHostSettings a) Unknown VisualGDB.exe!z61.o(SysprogsDevTools.Commands.RemoteHostSettings a) Unknown VisualGDB.exe!m1.i1(bool a) Unknown VisualGDB.exe!m1.t1() Unknown VisualGDB.exe!m1.n1_2(gq1.x a) Unknown VisualGDB.exe!hk.b(int a) Unknown VisualGDB.exe!hk.d1() Unknown VisualGDB.exe!hk.e(d8 a, d8.u b) Unknown VisualGDB.exe!d8.g(object b, System.EventArgs a) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e) Unknown System.Windows.Forms.dll!System.Windows.Forms.Button.OnClick(System.EventArgs e) Unknown System.Windows.Forms.dll!System.Windows.Forms.Button.OnMouseUp(System.Windows.Forms.MouseEventArgs mevent) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseUp(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.ButtonBase.WndProc(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.Button.WndProc(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) Unknown [Native to Managed Transition] [Managed to Native Transition] System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(System.Windows.Forms.Form form) Unknown System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason, System.Windows.Forms.ApplicationContext context) Unknown System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) Unknown System.Windows.Forms.dll!System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form form) Unknown System.Windows.Forms.dll!System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window owner) Unknown System.Windows.Forms.dll!System.Windows.Forms.Form.ShowDialog() Unknown VisualGDB.exe!yj.a_2(wo1 b, string a, string c) Unknown VisualGDBPackage2015.dll!u9<yj>.Execute(object b, int c, ref object[] a, ref object[] e, ref EnvDTE.wizardResult d) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Dialogs.dll!Microsoft.VisualStudio.Dialogs.ServiceHelper.AddProjectFromSelectedTemplate(Microsoft.VisualStudio.Dialogs.INewProjectDialogData dialog, string projectPath, bool isExclusive) Unknown Microsoft.VisualStudio.Dialogs.dll!Microsoft.VisualStudio.Dialogs.SVsDialogService.CreateProject(Microsoft.VisualStudio.Dialogs.INewProjectDialogData npdd) Unknown Microsoft.VisualStudio.Dialogs.dll!Microsoft.VisualStudio.Dialogs.SVsDialogService.InvokeDialog(Microsoft.Internal.VisualStudio.Shell.Interop.VSNEWPROJECTDLGINFO dlgInfo, out string bstrLocation) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(string verb, object pvaIn, out object pvaOut) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(object parameter) Unknown PresentationFramework.dll!MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource commandSource, bool userInitiated) Unknown PresentationFramework.dll!System.Windows.Controls.MenuItem.InvokeClickAfterRender(object arg) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown
jmkresseParticipantWe tried to follow those steps, but when we got to step 7, we saw 34 threads, but didn’t see a GUI thread. Also, when we tried clicking on a thread, they all just came back with “[External Code]” in the Call Stack window.
I have screenshots, and can attach them if you tell me how to do that.
Thanks!
jmkresseParticipantThanks! We’ll give that a try.
jmkresseParticipantOk, thanks for the quick reply!
Would you please explain to me how to do that? I’m not that familiar with VS; most of my experience has been in embedded processors.
jmkresseParticipantThanks! I’ll pass that along to that user.
I don’t think he was using VS2017, though; probably VS2015. I’ll check on that.
jmkresseParticipantOk, thanks. Do you have an estimate about when that might be?
Also, just curious, how much different is this than using it with an embedded app, which you do support?
jmkresseParticipantOk, thanks.
Yes, I’m using GNU Make; so as I suspected, I can either manually edit the Makefile, or manually rename the executables. (It would be nice to have this handled automatically in a future release, if possible. 🙂 )
jmkresseParticipantTo clarify, that usually works; but then it appears to stop working for a project, and will not work again. (When I click on “VisualGDB Project Properties”, nothing appears to happen.)
I do have the workaround of bringing up the appropriate .vdgbsettings file, but it’s far easier to explain to my other users how to do things the other way.
jmkresseParticipantThanks! I think I like that option better.
jmkresseParticipantI think I found an answer to my own question. If I’m incorrect, or if someone has a better or more elegant answer, please post.
My answer is to do the following:
In the VisualGDB Project Properties, under Makefile settings, under Build tools, in Additional arguments, I put:CC=$(CXX)
jmkresseParticipantIn other words, I want make to use $(CXX) instead of $(CC) on .c files, and I want to avoid having to hand edit the Makefile to do that.
-
AuthorPosts