Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] Expression Eval Support for standalone debug

Yes, we would need to surface org.eclipse.jdt.internal.compiler.env.
INameEnvironment that you would have to implement.
Please enter a feature request.

Jerome



|---------+------------------------------>
|         |           "Darin Wright"     |
|         |           <Darin_Wright@oti.c|
|         |           om>                |
|         |           Sent by:           |
|         |           jdt-core-dev-admin@|
|         |           eclipse.org        |
|         |                              |
|         |                              |
|         |           08/29/2002 06:35 PM|
|         |           Please respond to  |
|         |           jdt-core-dev       |
|         |                              |
|---------+------------------------------>
  >--------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                    |
  |        To:      jdt-core-dev@xxxxxxxxxxx                                                                           |
  |        cc:      jdt-debug-dev@xxxxxxxxxxx                                                                          |
  |        Subject: [jdt-core-dev] Expression Eval Support for standalone debug                                        |
  >--------------------------------------------------------------------------------------------------------------------|




I am trying to determine if it is possible to perform expression
evaluations without a project context (to support stand alone debugging).
What does the compiler need to perform binding resolution? Rather than
providing an IJavaProject, could we provide you with some sort of "name
lookup" facility from our runtime, that would provide the required
information.

Specifically, I am looking at the "AST.parseCompilationUnit(...)" API, that
we use to generate an AST for snippets (which is then traversed and
interpretted).

Darin





Back to the top