Java Doc for DebugContext.java in  » Scripting » Pnuts » pnuts » tools » 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 » Scripting » Pnuts » pnuts.tools 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   pnuts.lang.Context
      pnuts.tools.DebugContext

DebugContext
public class DebugContext extends Context (Code)
This class is a Context used in debug mode.



Constructor Summary
public  DebugContext()
    
public  DebugContext(Package pkg)
    
public  DebugContext(Context context)
    

Method Summary
public synchronized  voidaddCommandListener(CommandListener listener)
    
public  Objectclone(boolean clear_attributes, boolean clear_locals, boolean clear_listeners)
    
protected  voidclose(Function f, Object[] args)
     Tracks stack depth (function return) in pure interpreter.
 voidfireCommandEvent(int type, Object arg)
    
protected  intgetBeginLine()
    
public  intgetCallDepth()
    
public  DebuggergetDebugger()
    
protected  intgetEndLine()
    
public  intgetEvalDepth()
     Get the depth of evaluation.
protected  ObjectgetScriptSource()
    
protected  voidonError(Throwable t)
     This method is called when some exception is thrown.
protected  voidonExit(Object arg)
     This method is called when an evaluation is terminated normally.
protected  voidopen(Function f, Object[] args)
     Tracks stack depth (function call) in pure interpreter.
public synchronized  voidremoveCommandListener(CommandListener listener)
    
public  voidsetDebugger(Debugger debugger)
    
protected  voidupdateLine(SimpleNode node, int beginLine, int beginColumn)
     This method is called when line number is changed.


Constructor Detail
DebugContext
public DebugContext()(Code)



DebugContext
public DebugContext(Package pkg)(Code)



DebugContext
public DebugContext(Context context)(Code)




Method Detail
addCommandListener
public synchronized void addCommandListener(CommandListener listener)(Code)



clone
public Object clone(boolean clear_attributes, boolean clear_locals, boolean clear_listeners)(Code)



close
protected void close(Function f, Object[] args)(Code)
Tracks stack depth (function return) in pure interpreter. This method overrides Context.close().



fireCommandEvent
void fireCommandEvent(int type, Object arg)(Code)



getBeginLine
protected int getBeginLine()(Code)



getCallDepth
public int getCallDepth()(Code)
Get the stack depth (in pure interpreter)



getDebugger
public Debugger getDebugger()(Code)
Returns the debugger that controls this debug context



getEndLine
protected int getEndLine()(Code)



getEvalDepth
public int getEvalDepth()(Code)
Get the depth of evaluation. This value increases when load(), loadFile(), or eval() is called.



getScriptSource
protected Object getScriptSource()(Code)



onError
protected void onError(Throwable t)(Code)
This method is called when some exception is thrown.



onExit
protected void onExit(Object arg)(Code)
This method is called when an evaluation is terminated normally.



open
protected void open(Function f, Object[] args)(Code)
Tracks stack depth (function call) in pure interpreter. This method overrides Context.open().



removeCommandListener
public synchronized void removeCommandListener(CommandListener listener)(Code)



setDebugger
public void setDebugger(Debugger debugger)(Code)
Registers the specified debugger as the controller of this debug context



updateLine
protected void updateLine(SimpleNode node, int beginLine, int beginColumn)(Code)
This method is called when line number is changed.



Fields inherited from pnuts.lang.Context
protected int beginColumn(Code)(Java Doc)
protected int beginLine(Code)(Java Doc)
final public static PrintWriter defaultErrorStream(Code)(Java Doc)
final public static PrintWriter defaultOutputStream(Code)(Java Doc)
final public static PrintWriter defaultTerminalStream(Code)(Java Doc)
protected int depth(Code)(Java Doc)
protected int endLine(Code)(Java Doc)
protected SymbolTable environment(Code)(Java Doc)
protected ImportEnv importEnv(Code)(Java Doc)
protected Cell loadingResource(Code)(Java Doc)
protected ModuleList moduleList(Code)(Java Doc)
protected SymbolTable provideTable(Code)(Java Doc)
protected Hashtable unitTable(Code)(Java Doc)

Methods inherited from pnuts.lang.Context
public void autoload(String name, String file)(Code)(Java Doc)
public void autoload(String name, AutoloadHook hook)(Code)(Java Doc)
public synchronized void clearPackages()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public Object clone(boolean clear_attributes, boolean clear_locals)(Code)(Java Doc)
protected void close(Function func, Object args)(Code)(Java Doc)
public boolean defined(String name)(Code)(Java Doc)
public Object get(String symbol)(Code)(Java Doc)
public ClassLoader getClassLoader()(Code)(Java Doc)
public ClassLoader getCodeLoader()(Code)(Java Doc)
public Configuration getConfiguration()(Code)(Java Doc)
public Package getCurrentPackage()(Code)(Java Doc)
public PrintWriter getErrorStream()(Code)(Java Doc)
public PrintWriter getErrorWriter()(Code)(Java Doc)
public Executable getExitHook()(Code)(Java Doc)
public Object getId(String interned)(Code)(Java Doc)
public Implementation getImplementation()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public OutputStream getOutputStream()(Code)(Java Doc)
public PnutsImpl getPnutsImpl()(Code)(Java Doc)
public String getScriptEncoding()(Code)(Java Doc)
protected Object getScriptSource()(Code)(Java Doc)
public PrintWriter getTerminalStream()(Code)(Java Doc)
public PrintWriter getTerminalWriter()(Code)(Java Doc)
protected Object getValue(String symbol)(Code)(Java Doc)
public PrintWriter getWriter()(Code)(Java Doc)
public boolean isVerbose()(Code)(Java Doc)
public Enumeration keys()(Code)(Java Doc)
protected void loadModule(String name, Package pkg) throws IOException(Code)(Java Doc)
protected void onError(Throwable t)(Code)(Java Doc)
protected void onExit(Object arg)(Code)(Java Doc)
protected void open(Function f, Object args)(Code)(Java Doc)
public void registerQuantityFactory(String unit, QuantityFactory fac)(Code)(Java Doc)
public Class resolveClass(String symbol)(Code)(Java Doc)
public Object resolveSymbol(String interned)(Code)(Java Doc)
public void set(String symbol, Object value)(Code)(Java Doc)
public void setClassLoader(ClassLoader loader)(Code)(Java Doc)
public void setCodeLoader(ClassLoader loader)(Code)(Java Doc)
public void setConfiguration(Configuration config)(Code)(Java Doc)
public void setCurrentPackage(Package pkg)(Code)(Java Doc)
public void setErrorStream(Object errorStream, boolean autoFlush)(Code)(Java Doc)
public void setErrorStream(Object errorStream)(Code)(Java Doc)
public void setErrorWriter(Writer w, boolean autoFlush)(Code)(Java Doc)
public void setErrorWriter(Writer w)(Code)(Java Doc)
public void setExitHook(Executable hook)(Code)(Java Doc)
public void setImplementation(Implementation impl)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setOutputStream(Object out, boolean autoFlush)(Code)(Java Doc)
public void setOutputStream(Object outputStream)(Code)(Java Doc)
public void setOutputStream(OutputStream out)(Code)(Java Doc)
public void setPnutsImpl(PnutsImpl impl)(Code)(Java Doc)
public void setScriptEncoding(String encoding)(Code)(Java Doc)
public void setTerminalStream(Object str, boolean autoFlush)(Code)(Java Doc)
public void setTerminalStream(Object stream)(Code)(Java Doc)
public void setTerminalWriter(Writer w)(Code)(Java Doc)
public void setTerminalWriter(Writer w, boolean autoFlush)(Code)(Java Doc)
protected void setValue(String symbol, Object obj)(Code)(Java Doc)
public void setVerbose(boolean b)(Code)(Java Doc)
public void setWriter(Writer out)(Code)(Java Doc)
public void setWriter(Writer out, boolean autoFlush)(Code)(Java Doc)
public synchronized boolean unusePackage(Package pkg)(Code)(Java Doc)
protected void updateColumn(int column)(Code)(Java Doc)
protected void updateLine(SimpleNode node, int beginLine, int beginColumn)(Code)(Java Doc)
protected void updateLine(int line)(Code)(Java Doc)
public boolean usePackage(Package pkg, boolean checkException)(Code)(Java Doc)
public boolean usePackage(String name)(Code)(Java Doc)
public boolean usePackage(String name, boolean checkException)(Code)(Java Doc)
public String[] usedPackages()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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