Page 1 of 1

Debug Console and Variables Window stopped working

Posted: Thu Aug 15, 2019 11:32 pm
by matthmsft
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.167
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18362.0

Hi. Over the recent day or so, my Debug Console stopped working. When running my project in Debug mode, the Variables window was available but the Debug Console is unresponsive and does not allow me to use it. I upgraded to this version I am on now (quoted in the post) and the Variable window is now not even loading.

No changes have been made to my project while these problems have started.

Re: Debug Console and Variables Window stopped working

Posted: Thu Aug 15, 2019 11:49 pm
by Alexander Riedel
I did a quick test with the current version and both the variable window as well as the debug console appear to operate normally. Here at least.
Please give us some indication as to the type of the project you are experiencing this with.
Please elaborate on what "not allow me to use it" and "not even loading" exactly means.
Do you see an error message?
Is the panel present but you cannot enter anything?
Is the panel not present?
Is the panel there but appears empty?
Can you enter a value in the debug console but nothing happens when you press enter?
Can you include a screenshot or two showing the events?

Re: Debug Console and Variables Window stopped working

Posted: Fri Aug 16, 2019 1:22 am
by matthmsft
Hi, thanks for the reply. I just reinstalled and I still have the same behavior.

I am using a WinForms application. When I run my app in debug mode, it loads and operates normally. If I switch over to the Debug Console, I just see an empty window. If I try to type in the input field, none of my keyboard entry is registered, so I cannot type or submit any commands.

On the Variables tab, that too is empty. Any of the Drop Down menu selections such as "Show all variables" still does not show anything.

The Call Stack window is empty too, but I never use this so I don't know what it usually looks like.

It feels like something is just hanging, but my app is working fine, the Tools Output window is not showing any errors, everything merges, loads and runs. The last entry is "Completed Cache Information".

This is blocking me from completing a release for an important customer, if there is any expedited support I can get (I don't know what sapien support services might be there that I might have with my license) I'd appreciate it.

Re: Debug Console and Variables Window stopped working

Posted: Fri Aug 16, 2019 1:34 am
by Alexander Riedel
Maybe this is just a misunderstanding. You are aware that the variables pane, stack panel and debug console only can only operate when your application is stopped at a breakpoint?
During regular execution (without stopping) these items are not updated or operational.

Re: Debug Console and Variables Window stopped working

Posted: Fri Aug 16, 2019 1:41 am
by matthmsft
Looks like my breakpoints were disabled :|

Oh dear.

Just needed a second pair of eyes, thanks.

That's one of my issues solved - long week

Re: Debug Console and Variables Window stopped working

Posted: Fri Aug 16, 2019 1:45 am
by Alexander Riedel
Don't worry, we all have those :D