IntelliJ Flash Debugger

已回答

Hi I recently downloaded the new Flex SDK. The debugger no longer works and exits with exit code 1. The application runs fine, but wont debug.

C:\Users\Abhinay\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\172.2103.15\jre64\bin\java.exe -Dapplication.home=C:\Users\Abhinay\Documents\FLEXSDK -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -classpath C:/Users/Abhinay/Documents/FLEXSDK/lib/fdb.jar flex.tools.debugger.cli.DebugCLI -ide
Apache fdb (Flash Player Debugger) [build 20170305]
Copyright 2017 The Apache Software Foundation. All rights reserved.
Waiting for Player to connect
C:\Users\Abhinay\Documents\FLEXSDK\bin\adl.exe -profile extendedDesktop "C:\Users\Abhinay\Boss Project Info\Implementation\Client\out\production\Workflow\Workflow-descriptor.xml" "C:\Users\Abhinay\Boss Project Info\Implementation\Client\out\production\Workflow"
Unexpected debugged player communication problem
[AIR Debug Launcher]: Process finished with exit code 1

0
正式评论

The problem seems to be caused by the jre64 included in the IntelliJ IDEA installation.

As a workaround you may create a file [Flex SDK]\bin\jvm.config with the following content:

java.home=c:/java/jdk1.8.0_112

where c:/java/jdk1.8.0_112 is a path to some valid JDK installation on your computer.

请先登录再写评论。