aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java b/src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java
index 801013b207..b584c5dc34 100644
--- a/src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java
+++ b/src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java
@@ -198,18 +198,6 @@ public class BuildFileAST extends ASTNode {
* @return true if no error occurred during execution.
*/
public boolean exec(Environment env, EventHandler eventHandler) throws InterruptedException {
- try {
- // Handles debugging BUILD file evaluation
- // TODO(bazel-team): add support for debugging skylark file evaluation
- return DebugServerUtils.runWithDebuggingIfEnabled(
- env, () -> Thread.currentThread().getName(), () -> doExec(env, eventHandler));
- } catch (EvalException e) {
- // runWithDebuggingIfEnabled() shouldn't throw EvalException, since doExec() does not
- throw new AssertionError("Unexpected EvalException", e);
- }
- }
-
- private boolean doExec(Environment env, EventHandler eventHandler) throws InterruptedException {
boolean ok = true;
for (Statement stmt : statements) {
if (!execTopLevelStatement(stmt, env, eventHandler)) {