main [1] print myVariable
com.sun.tools.example.debug.expr.ParseException: name unknown: myVariable
myVariable = null
Any guesses as to why this might happen? I can place breakpoints as I'm used to, but I cannot access variables.
When you compile your code, make sure that you execute it in debug mode:
javac -g *.java
You can then print the variables during debugging.
Source: https://habr.com/ru/post/1785344/More articles:Using IUP with Lua on Ubuntu - luaShould I always use connection.close - asp-classicUsing Ruby OAuth to Connect to Yahoo Contacts API - restCSS sunken / pasted effect without using an image - cssAndroid: Set the default soft keyboard - javaWill information be saved in the standard UserDefaults with the application update? - iosКак выполнить обратный вызов ajax после завершения Задержанного задания в Ruby on Rails? - ajaxShopping Cart - phpDoes performSelectorInBackground execute a new thread for each call? - multithreadingCan we use the interface and implementation file in one objective c? - objective-cAll Articles