DEV - OOP

Modified on Tue, 28 Mar, 2023 at 4:56 PM

Why am I unable to see the run/debug option above my main class?

Do you understand the error?

What happens when you open a project in VS Code? What files/dependencies/extensions get loaded?

Where is the error occurring?

Maybe all the modules that are needed by the project are not loaded.

Why do you think you are seeing this error? What might be causing it?

What happens if all the modules needed to run the code are not loaded?

How to Debug this? To debug this issue, I would recommend the following steps:

When we start a Crio Workspace, VS Code loads all the modules required for that project, this takes some time and a pop is shown on the right bottom. We should wait for the workspace to load properly and then see if the options are coming or not. If this doesn't work try to reset the workspace and check.


Why am I not able to change the branch?

Do you understand the error?

When we try to change the branch, what happens if there are local changes that are not committed?

Where is the error occurring?

The error is occurring since we have changes in the file that are not yet committed.

Why do you think you are seeing this error? What might be causing it?

If we have uncommitted local changes, we won't be able to change our git branch. What can we do in this case?

How to Debug this? To debug this issue, I would recommend the following steps:

To solve this issue you have to git add -> commit -> push so the changes are stored and then you will be able to change the branch.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article