Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
deepesh1511 opened this issue Feb 14, 2023 · 3 comments
Open

Comments

@deepesh1511
Copy link

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 --

  • Open all background applications, and increase the CPU utilization.
  • Open project in VS code
  • VS code will try to load java project - project will be loaded successfully
  • Vs code will try to load Gauge - gauge will not be initialized
    image
  • Debug Scenario option will not be displayed
    image
  • lsp.log
    image

Successful attempt --

  • Close all background applications, and reduce the CPU utilization.
  • Open project in VS code
  • VS code will try to load java project - project will be loaded successfully
  • Vs code will try to load Gauge - gauge will be loaded successfully
  • Wait for gauge to load and then open any spec file.
  • Debug Scenario option will be displayed
    image
  • lsp.log
    current runner is not compatible with gauge LSP is not displayed in lsp.log
  • Note: If I open any spec file during java project load, gauge will not initialize and Debug Scenario option will not be displayed. I need to wait for java project load to complete and additional one or two minutes before I can load a spec file to see debug option.

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
Copy link
Author

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.

@deepesh1511
Copy link
Author

@zabil Can you please check and respond?

@zabil
Copy link
Member

zabil commented Feb 22, 2023

There is no easy way for me to to test or replicate this. Hope someone else who faces this issue can respond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants