DonJayamanne / javaVSCode

Extension for java development on VSCode (deprecated)
https://marketplace.visualstudio.com/items?itemName=donjayamanne.javaDebugger
MIT License
43 stars 29 forks source link

Variables don't appear #49

Closed jho53 closed 7 years ago

jho53 commented 7 years ago

For some reason, variables don't show up at all. For example, in:

class Hellothere{
    public static void main(String[] args) {
        int a = 20;
        int b = 30;
        System.out.println(a);
    }
}

"a" and "b" should be in the variable window, but it's empty.

faustinoaq commented 7 years ago

Hi @CheezyP try to compile your code with debugging support javac -g Hellothere.java

screenshot_20170620_213915

jho53 commented 7 years ago

Yes, that works. I'm so glad!

On a side note, might want to include that in the readme