getgauge / gauge-vscode

A Visual Studio Code plug-in for Gauge
https://gauge.org
MIT License
50 stars 19 forks source link

Gauge could not initialize, unable to get Debug Scenario option #882

Open deepesh1511 opened 1 year ago

deepesh1511 commented 1 year ago

Description

I am unable to get Debug Scenario option on the spec files. This issue occurs in a specific scenario and I am able to reproduce the same multiple times.

Environment Details

image

Extensions

Debugger for Java v0.47.0 Extension Pack for Java v0.25.7 Gauge v0.1.0 Language Support for Java(TM) by Red Hat v1.13.0 Maven for Java v0.40.3 Project Manager for Java v0.21.1 Test Runner for Java v0.37.1

IDE

VS Code - v1.74.3

Steps to reproduce

Unsuccessful attempt --

Successful attempt --

Expected Result

Debug Scenario should be displayed always, irrespective of CPU utilization.

Actual Result

Debug Scenario is not displayed always and project load depends on CPU utilization.

deepesh1511 commented 1 year ago

@sriv @zabil Can you please take a look?

deepesh1511 commented 1 year ago

I upgraded my VDI machine configuration (from 2 core to 4 cores) and then I was able to load the project successfully. Is there any minimum system requirement to run the gauge smoothly?

I also noted that Debug Scenario doesn't show up if the project is loaded with multiple different applications running in the background (Teams, outlook, chrome, edge) and occupying the CPU utilization.

jensakejohansson commented 4 months ago

I have noticed something very similar to this too, on a co-workers machine. Using Gauge/C# though, but the symptoms are the same. The Gauge project is rather big, yes, but the machine is not so "weak" so I find it a bit worring that it seems so easy to crash it. Will investigate further when I have time, but the extension seems to be unstable if the resources are limited...

chadlwilson commented 4 months ago

Make sure they have updated gauge and plugins along with the extension at the very least. Otherwise need to get the logs and all that, from both extension and gauge itself 😓