How to tell whereabout's my program has hung - vb.net

How can i best determine whereabouts in my code a program was up to when it hung?
I've got a misbehaving app and I can't tell whats causing the issue.
Dont want to post code and ask you guys to tell me, I'd rather figure out how to figure it out myself :)
Thanks!

If it's still responsive to the Visual Studio IDE, then just press the pause button.

Related

Why is the Access Key E&xit not working in my VB program

I'm writing a VB program where I want to be able to "push" an Exit button with a keyboard shortcut to close the program. I understand that if I put an & in the text of the button (E&xit), I can create a Alt-X shortcut to exit.
I've written programs where it's worked before; it's simple, but now it's not working. In fact, it's not even underlining the x in the text on the button. It's like a setting is telling it to be ignored. (I'm using the latest version of MS Visual Studio.)
I have found that if I turn on the form setting KeyPreview=True, it will work, but the x is still not underlined, so there is no visual indication of the shortcut being available. I feel like I'm missing some setting or switch that make this activate normally. Can someone explain or point me in the right direction? Thanks.
jmcilhinney, well, now it's working, both on new and existing apps, even with keypreview turned off. I think there was something strange going on with Visual Studio that day. Other parts of my program (with KeyPress handling) were not working correctly either at that time. Then suddenly everything started to behave as expected. Or maybe it was something I was doing with Keypress that messed up the Access Keys. I wish I could explain better, but now I can't reproduce the problem.

VS Code intellisense in the way

I find the suggestions useful, but good-lord I can't see what I'm doing. I can't find a setting to move the suggestions out of the way.
Unfortunately, users cannot currently change the position of the Intellisense info popup. There is an open issue for this but it hasn't received attention in a while.

Why the Console of Xcode10.1 can't display my input?

This bug was found after I updated to macOS Majove.
When I tried to do a small test on my Xcode, I found the console couldn't display the numbers that I typed but the numbers were truly read into memory.
And it still could work!
The amazing thing was when I changed the theme of the Xcode, it showed up!
My images will show the detail.
I think it's a bug of Xcode.
Is there any way to solve the problem?
I will be appreciated!
Thanks :)
=========================18/12/19UPDATED=================================
There's an another detail that the console will display my input the first time I run the program and it won't display later.
I found a temporary method to solve this issue. Just “printf” something before the “scanf” and the console will display the input. But it’s only a makeshift!

Why press the stop debugging button during a debugging session crashes the host?

I've successfully managed to implement ZBS to debug the scripting code of a C++ real time game. It works really great!
However, there is still an issue that I don't know how to solve: if I press the stop debugging button or menu option during a debugging session, my C++ host program crashes.
Would you please give me ideas of why this could be happening?
Thanks a lot in advance,
kind regards,
Mauricio.
Stopping debugging calls os.exit(1, true) by default, so you will need to check if the resources are correctly released in this case. If you want to provide your own handler, you can do it by setting require('mobdebug').onexit = function() --[[your exit handler]] end in your application.

VB.NET Detect when an application is flashing in taskbar

I've been searching it for hours and the only thing I can find is how I can make a .NET app flashing/blinking on taskbar.
I want to be notified when an application is flashing on taskbar.. Is that possible?
Thanks
Sorry for the delay.
Maybe my question was not clear enough but this code that I showed to you it's what I want and more. When an app starts flashing on taskbar it notifies you adding an item on the listbox.
Code Example
Thanks for helping.