sandip chitale's blog    Sandip Chitale's blog (scblog)
NOTE: I have moved many of my modules to NetBeans Plugin Portal . Please check there for latest versions of modules described on this blog.
20060501 Monday May 01, 2006

JPDA (Java) Debugger Locals View Enhancements Module uploded

I have uploaded the JPDA (Java) Debugger Locals View Enhancements Module to my NetBeans 5.0 update center described (here).

Features

This module enhances the Locals View of JPDA (Java) Debugger by adding the following columns:
  • Modifiers - this columns displays the modifiers of field in Locals View.
  • Declared Type - this column displays the declared type of the field in Locals View.
  • Declared In - this column displays the class in which the field in Locals View is declared.

How to use

Simply debug any Java application. You should see the above additional column in the Local Variables view.

Example

The following image shows a Java class javaApplication11.Main being debugged. The debugger has stopped at a line in it's constructor.
javaApplication11.Main Source

The following image shows the enahanced Local Variables view. Notice that the actual type of field javaApplication11.Main.o is Properties (Type column). The declared type of field javaApplication11.Main.o is Object (Declared Type column). Also notice the Modifiers and Declared In columns.


Enhanced Local Variables view

TODO:

  • Action to jump to the Actual type.
  • Action to jump to the Declared type.

This module demonstrates how to extend the Netbeans debugger.

Sources

DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk.


Posted by sandipchitale ( May 01 2006, 10:27:43 AM PDT ) Permalink Comments [2]


Trackback URL: http://blogs.sun.com/scblog/entry/jpda_java_debugger_locals_view
Comments:

windows server 2008
bug - can't see text Value, Type etc.

Posted by 89.245.143.237 on March 10, 2009 at 06:14 AM PDT #

bug in Windows 2008 Server.
does not display text in columns Value, Type etc.

Posted by wallfire on March 10, 2009 at 06:18 AM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed








« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today

Get NetBeans 5.5

Locations of visitors to this page

Today's Page Hits: 123


XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

scblog
scblog