Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6857521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:01:52+00:00 2026-05-27T02:01:52+00:00

During debugging, i need to inspect variables inside JDK, say the class of a

  • 0

During debugging, i need to inspect variables inside JDK, say the class of a swing control like JTextField, JEditorPane, or whatsoever.
The debugger steps into these classes code, but when moving the mouse pointer over a local variable, it gives the message “xxx is not a known variable in the current context“.

I’ve certainly a wrong debugging-configuration entry, but I don’t guess which one :-).

(My NetBeans version is 6.9 but probably this issue is not version-related)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T02:01:53+00:00Added an answer on May 27, 2026 at 2:01 am

    JRE classes are compiled with debugging info off therefore you won’t see any local variables while stepping through the source. This is done for performance/size reasons but you can recompile the JRE classes if you need to see the local variables while debugging.

    See this thread on Javalobby for info on recompiling the JRE classes with debug info included.

    Follow Up: One way to use your alternative JDK is to make a copy of your “regular” JDK and put the modified rt.jar inside the copy, then you can add a Java Platform to NetBeans and use the modified JDK for development. To add another Java Platform to NetBeans, click Tools > Java Platforms menu item then click the Add Platform... button and browse to your modified JDK folder and give it a name like JDK 6 With Debug Symbols.

    You will need to change the Java Platform that your project uses by right clicking your project and choose Properties > Libraries then use the Java Platform combo box to choose your modified JDK.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

During development (and for debugging) it is very useful to run a Java class'
I have a small problem during debugging my App in VS 2010 RC when
When navigating to previous calls/events during debugging with IntelliTrace, I can't see a snapshot
EDIT: I had made a mistake during the debugging session that lead me to
During many, sometimes inundating, debugging sessions using DDD, I stumble upon loops. And I
What's the easiest way to print a stacktrace from a debugging printout? Often during
During an ASP.NET page load I'm opening and closing multiple System.Data.SqlClient.SqlConnections inside multiple controls
I remember I could add modifiers to a watched variable during debugging to make
In Visual Studio, it was possible during debugging sessions to jump to the line
For debugging purposes, I need to raise an application level message based on given

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.