Java Doc for ImportDebugger.java in  » IDE-Netbeans » ant » org » netbeans » modules » debugger » importd2 » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » ant » org.netbeans.modules.debugger.importd2 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.debugger.importd2.ImportDebugger

ImportDebugger
public class ImportDebugger extends SecondaryDebuggerSupport (Code)
Example of Debugger Implementation. It "debugs" import statements in Java files (so it does not need compiled .class files). Step Into on "import java.awt.Button" opens .java file for Button and puts current line to the first line of it.
author:
   Jan Jancura


Field Summary
final public static  StateSTATE_RUNNING
     debugger State constant.
final public static  StateSTATE_STOPPED
     debugger State constant.
static  DebuggerAnnotation.CurrentPCcurrentLineAnnotation
    
final static  longserialVersionUID
    

Constructor Summary
public  ImportDebugger()
    

Method Summary
public  WatchcreateWatch()
     Creates new uninitialized watch.
public  WatchcreateWatch(String expr, boolean hidden)
     Creates a watch its expression is set to initial value.
public  voidfinishDebugger()
     Finishes debugger.
 CoreDebuggergetCoreDebugger()
    
 DebuggerInfogetInfo()
    
 HashSetgetIsOnStack(DebuggerInfo debuggerInfo)
    
 HashSetgetIsOnStack()
    
static  StringgetLocString(String s)
    
 StackgetStack(DebuggerInfo debuggerInfo)
    
 StackgetStack()
    
static  StringgetText(Line l)
    
 ValidatorgetValidator()
    
public synchronized  voidgo()
     Go.
public  voidgoToCalledMethod()
     Jumps to the next call site (towards the top of the call-stack).
public  voidgoToCallingMethod()
     Jumps to the previous call site (towards the bottom of the call-stack).
public  voidpause()
     Pauses debugging.
 voidrefreshWatches()
    
public  voidrunToCursor(Line l)
     Jumps to a given line.
public  voidsetCurrentLine(Line l)
    
protected  voidsetState(int state)
    
public  voidstartDebugger(DebuggerInfo info)
     Starts the debugger.
 Linestep()
    
public synchronized  voidstepOut()
     Step out.
public synchronized  voidtraceInto()
     Trace into.
public synchronized  voidtraceOver()
     Trace over.

Field Detail
STATE_RUNNING
final public static State STATE_RUNNING(Code)
debugger State constant.



STATE_STOPPED
final public static State STATE_STOPPED(Code)
debugger State constant.



currentLineAnnotation
static DebuggerAnnotation.CurrentPC currentLineAnnotation(Code)



serialVersionUID
final static long serialVersionUID(Code)
generated Serialized Version UID




Constructor Detail
ImportDebugger
public ImportDebugger()(Code)




Method Detail
createWatch
public Watch createWatch()(Code)
Creates new uninitialized watch. The watch is visible (not hidden). new uninitialized watch



createWatch
public Watch createWatch(String expr, boolean hidden)(Code)
Creates a watch its expression is set to initial value. Also allows to create a watch not presented to the user, for example for internal usage in the editor to obtain values of variables under the mouse pointer.
Parameters:
  expr - expresion to watch for
Parameters:
  hidden - allows to specify whether the watch should be presentedto the user or not (be only of internal usage of the IDE). new watch



finishDebugger
public void finishDebugger() throws DebuggerException(Code)
Finishes debugger.



getCoreDebugger
CoreDebugger getCoreDebugger()(Code)



getInfo
DebuggerInfo getInfo()(Code)



getIsOnStack
HashSet getIsOnStack(DebuggerInfo debuggerInfo)(Code)



getIsOnStack
HashSet getIsOnStack()(Code)



getLocString
static String getLocString(String s)(Code)



getStack
Stack getStack(DebuggerInfo debuggerInfo)(Code)



getStack
Stack getStack()(Code)



getText
static String getText(Line l) throws Exception(Code)



getValidator
Validator getValidator()(Code)



go
public synchronized void go() throws DebuggerException(Code)
Go.



goToCalledMethod
public void goToCalledMethod()(Code)
Jumps to the next call site (towards the top of the call-stack).



goToCallingMethod
public void goToCallingMethod()(Code)
Jumps to the previous call site (towards the bottom of the call-stack).



pause
public void pause()(Code)
Pauses debugging.



refreshWatches
void refreshWatches()(Code)



runToCursor
public void runToCursor(Line l)(Code)
Jumps to a given line.
Parameters:
  l - a line jump to



setCurrentLine
public void setCurrentLine(Line l)(Code)



setState
protected void setState(int state)(Code)



startDebugger
public void startDebugger(DebuggerInfo info) throws DebuggerException(Code)
Starts the debugger. The method stops the current debugging (if any) and takes information from the provided info (containing the class to start and arguments to pass it and name of class to stop debugging in) and starts new debugging session.
Parameters:
  info - debugger info about class to start
exception:
  DebuggerException - if an error occures during the start of the debugger



step
Line step()(Code)



stepOut
public synchronized void stepOut() throws DebuggerException(Code)
Step out.



traceInto
public synchronized void traceInto() throws DebuggerException(Code)
Trace into.



traceOver
public synchronized void traceOver() throws DebuggerException(Code)
Trace over.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.