
(resolved) Debugger not starting for Haxe in 4.0.2-4 / 4.1.0
Problem:
FlashDevelop no longer starts the Haxe debugger.
I have tried versions 4.0.2, 4.0.3, 4.0.4, and the latest development - 4.1.0.
This works as expected in version 4.0.1.
Output:
Code:
Running process: C:\Program Files (x86)\FlashDevelop\Tools\fdbuild\fdbuild.exe "L:\projects\*****\Source_hx\*****.hxproj" -ipc 5db76b86-94cf-4d1e-b4c1-12636265f6b0 -version "2.09" -compiler "C:\Motion-Twin\haxe" -library "C:\Program Files (x86)\FlashDevelop\Library" -cp "C:\Program Files (x86)\FlashDevelop\Library\HAXE\classes"
Building ITS3D
Running Pre-Build Command Line...
cmd: taskkill /f /fi "IMAGENAME eq adl.exe"
INFO: No tasks running with the specified criteria.
Running Post-Build Command Line...
cmd: compile.bat C:\Motion-Twin\haxe L:\projects\*****\Source_hx
L:\projects\*****\Source_hx>C:\Motion-Twin\haxe\haxe.exe L:\projects\*****\Source_hx\compile.hxml
Build succeeded
Done(0)
------------------------
Windows 7 Professional SP1

Quote:
How to find your .NET version?
1) Open a random page in IE (just not about:blank)
2) Enter 'javascript:alert(navigator.userAgent);' in the address bar and press enter
The .NET version is shown in the dialog.
Code:
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2)
Haxe:
Flex SDK:
Adobe AIR SDK (pre-release):
Code:
archive_air_3.4_withdrm_sdk_iOS6_06202012
Platform:
Compilation Target:
Pre-Build Command Line:
Code:
taskkill /f /fi "IMAGENAME eq adl.exe"
Post-Build Command Line:
Code:
compile.bat $(CompilerPath) $(ProjectDir)
compile.bat:
Code:
%1\haxe.exe %2\compile.hxml
compile.hxml:
Code:
## ------------------------------------------------------------------------
## TARGET
## ------------------------------------------------------------------------
-swf L:/projects/*****/Source_hx/bin/*****.swf
-swf-header 1280:720:60:000000
-swf-version 11.4
## ------------------------------------------------------------------------
## SOURCE/ LIBRARIES
## ------------------------------------------------------------------------
-cp src
-cp C:\Program Files (x86)\FlashDevelop\Library\HAXE\classes
-main com.*****.Application
-lib air3
## ------------------------------------------------------------------------
## CONFIGURATION
## ------------------------------------------------------------------------
-D native_application
-D fast_math
--dead-code-elimination
--flash-strict
-D haxe3
## ------------------------------------------------------------------------
## DEBUG
## ------------------------------------------------------------------------
-debug
-D fdb
-D enable_logger
Test Project = Run Custom Command...:
Code:
packaging\launchAIR.bat 1
launchAIR.bat:
Code:
@echo off
if %1==1 cd packaging
:: XML
set APP_XML=application.xml
:: Path to Flex SDK
set FLEX_SDK=../../SDKs/flex_air/bin
if not exist "%FLEX_SDK%" goto flexsdk
set PATH=%PATH%;%FLEX_SDK%
echo.
echo Starting AIR Debug Launcher...
echo.
::adl -profile mobileDevice -screensize 1280x720:1280x720 %APP_XML% ../bin
::adl -profile mobileDevice -screensize 1024x768:1024x768 %APP_XML% ../bin
::adl -profile mobileDevice -screensize 768x1004:768x1024 %APP_XML% ../bin
::adl -profile mobileDevice -screensize 480x762:480x800 %APP_XML% ../bin
::adl -profile mobileDevice -screensize 800x400:800x400 %APP_XML% ../bin
adl %APP_XML% ../bin
if errorlevel 1 goto error
goto end
:flexsdk
echo.
echo ERROR: Incorrect path to Flex SDK
echo.
echo %FLEX_SDK%
echo.
if %1==1 pause
exit
:error
pause
:end