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.
20060901 Friday September 01, 2006

UPDATED: View Classes and Classloader information - JPDA (Java) Debugger Call Stack View Enhancements Module

I have updated the JPDA (Java) Debugger Call Stack View Module on my NetBeans 5.0 update center described (here).

What is new?

The following new popup actions is supported:

  • Show Classes... Shows the table of all classes loaded in the debugee. Each row in Classes table shows Class name, Package name and the value returned by the toString() method of class's ClassLoader and Initiating ClassLoader (See the revised Java Virtual Machine Specification section 5.3 Creation and Loading for more information on the initiating classloader). Each column is sortable.To invoke the action right click on any call stack frame in the Calls Stack view of the debugger.

Notice how the ClassLoader's toString()value is showing the module code base name e.g. org.openide.loaders. Also notice how the loading of org.openide.loaders.DataFolder class was initiated by org.netbeans.web.core.syntax module's ClassLoader, but the class was actually loaded by the org.openide.loaders module's ClassLoader. This can be useful for debugging applications such as App Servers, IDE Frameworks (e.g. Netbeans itself), that employ a complex multi-ClassLoader architecture. This view helps you determine which ClassLoader initiated and which ClassLoader loaded the class.

The following figure shows which Netbeans modules ClassLoader has loaded certain classes.

Sources

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


Posted by sandipchitale ( Sep 01 2006, 01:43:10 PM PDT ) Permalink Comments [0]










« September 2006 »
SunMonTueWedThuFriSat
     
2
3
5
6
7
8
9
10
11
12
13
14
15
17
18
19
21
23
24
25
26
27
28
29
       
Today

Get NetBeans 5.5

Locations of visitors to this page

Today's Page Hits: 83


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