"intellij idea" debug static class

Larva

I have the following code in my android project I develop using "intellij idea":

Settings.Secure.putInt(this.getContentResolver(),Settings.Secure.ADB_ENABLED, 1);

I have break point next to this line, and when I stop here unfortunately I can not see Static fields of Settings class. I have tried:

Class g1 = Settings.class;

But can not see internals of that class anyway.

What to change in "intellij idea" settings to see those Static fields.

Bastien Jansen

When you hit a breakpoint, in the Debugger tab of your debug instance, right-click on any variable, then choose Customize Data Views and make sure Static field (and Static final fields, depending on your needs) are checked.

See https://www.jetbrains.com/idea/webhelp/customize-data-views.html for more info.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

"intellij idea" debug static class

From Dev

How to debug a JUnit test class for RESTful Web Services in IntelliJ IDEA?

From Dev

Intellij Idea - Extract Class

From Dev

IntelliJ IDEA 13.0 constant debug mode for app?

From Dev

IntelliJ IDEA run/debug just one file

From Dev

IntelliJ IDEA 13.1 is missing Run/Debug windows

From Dev

Different program arguments for 'run' and 'debug' in Intellij Idea

From Dev

How to perform grunt remote debug in IntelliJ IDEA?

From Dev

Debug Scala compiler plugin in IntelliJ IDEA

From Dev

IntelliJ IDEA stucks at "collecting data" while debug

From Dev

IntelliJ IDEA 13.0 constant debug mode for app?

From Dev

How extract private static constant in Intellij Idea?

From Dev

How run all tests for class in Intellij Idea?

From Java

Android Studio/Intellij Idea: "Table of Contents" for a class

From Dev

Android IntelliJ IDEA 14.1: No main class for module

From Dev

IntelliJ IDEA find class in project jars

From Dev

Intellij IDEA how to run a class not the entire project?

From Dev

IntelliJ IDEA 15 issues with CSS Class AutoComplete

From Dev

How run all tests for class in Intellij Idea?

From Dev

IntelliJ IDEA & JRebel doesn't reload class

From Dev

IntelliJ IDEA says Maven class not found

From Dev

Setup IntelliJ IDEA to run one class app

From Dev

IntelliJ IDEA won't stop on assertions in debug mode

From Dev

Why does intellij idea not kill the debug process immediately?

From Dev

How to debug specific build variant of Android Gradle project in IntelliJ IDEA?

From Dev

How to debug a .jar file remotely using Intellij Idea

From Dev

Unable to debug a Gradle + Dropwizard Project from IntelliJ IDEA

From Dev

Debug grails 3 app in IntelliJ Idea 15 CE fails

From Dev

Can't run and debug groovy tests under intellij idea

Related Related

  1. 1

    "intellij idea" debug static class

  2. 2

    How to debug a JUnit test class for RESTful Web Services in IntelliJ IDEA?

  3. 3

    Intellij Idea - Extract Class

  4. 4

    IntelliJ IDEA 13.0 constant debug mode for app?

  5. 5

    IntelliJ IDEA run/debug just one file

  6. 6

    IntelliJ IDEA 13.1 is missing Run/Debug windows

  7. 7

    Different program arguments for 'run' and 'debug' in Intellij Idea

  8. 8

    How to perform grunt remote debug in IntelliJ IDEA?

  9. 9

    Debug Scala compiler plugin in IntelliJ IDEA

  10. 10

    IntelliJ IDEA stucks at "collecting data" while debug

  11. 11

    IntelliJ IDEA 13.0 constant debug mode for app?

  12. 12

    How extract private static constant in Intellij Idea?

  13. 13

    How run all tests for class in Intellij Idea?

  14. 14

    Android Studio/Intellij Idea: "Table of Contents" for a class

  15. 15

    Android IntelliJ IDEA 14.1: No main class for module

  16. 16

    IntelliJ IDEA find class in project jars

  17. 17

    Intellij IDEA how to run a class not the entire project?

  18. 18

    IntelliJ IDEA 15 issues with CSS Class AutoComplete

  19. 19

    How run all tests for class in Intellij Idea?

  20. 20

    IntelliJ IDEA & JRebel doesn't reload class

  21. 21

    IntelliJ IDEA says Maven class not found

  22. 22

    Setup IntelliJ IDEA to run one class app

  23. 23

    IntelliJ IDEA won't stop on assertions in debug mode

  24. 24

    Why does intellij idea not kill the debug process immediately?

  25. 25

    How to debug specific build variant of Android Gradle project in IntelliJ IDEA?

  26. 26

    How to debug a .jar file remotely using Intellij Idea

  27. 27

    Unable to debug a Gradle + Dropwizard Project from IntelliJ IDEA

  28. 28

    Debug grails 3 app in IntelliJ Idea 15 CE fails

  29. 29

    Can't run and debug groovy tests under intellij idea

HotTag

Archive