Filter by Tags

Remote Debug Java part of the Flex/Java application within Flash Builder 4.7

Votes

1

1 0

I have a Flex/Java application. The build is done using Maven. My IDE is Flash Builder 4.7. The server is a tomcat wrapper (vFabric tcserver).


Based upon the many google searches, I added the following lines in my wrapper.conf.


wrapper.java.additional.11="-Xdebug" 
wrapper
.java.additional.12="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"

In my Flash Builder, I have set up a debug configuration to use port 8000 on host localhost and the connection type is Socket Attach. I am using Internet Explorer to do the debugging and I DO have the debug version of the Flash player as confirmed by some Flash player debugger web site.


When I try to debug, the tomcat log shows that it is listening on port 8000. netstat shows that tcp 0.0.0.0:8000 is established (it would be listening when the debug is not in progress). Within Flash Builder, in the debug perspective, it shows that it is using port 8000.


The problem that I am having is, I have set breakpoints in both the Flex part and the Java part of the application. The breakpoints in the Flex get right into the Debug mode without any problem. However, the breakpoints in the Java part don't break at all.


What am I missing here? Any other modifications that I need to make in order to debug the Java part of the application?


The application was created using Flex SDK 4.5.1A. When I tried to import the existing maven project, it said that I needed Flash Player 10.2. The version of my Flash Player debugger is 10.2. I understand that the current version of Flash player is 11.x. If I were to upgrade my Flash player debugger version to 11.x (whatever the current version is), would I still be able to debug the Flex/Java application?

Sanampreet Aulakh
Posted on : Wed, Jun 21, 2017
Views : 154
Comments

Ask Question

If you want to ask question you must LogIn or SignUp
Login SignUp
To Add your Answer Please
LogIn | SignUp

Quick Links

E-Magazines

@

Total Followers
Study Group Created
Study Group Joined
Following Teacher
Following Organization
Blog Articles Added
Questions Asked
Questions Answered
Jobs Posted
Total Members in Group
Questions asked by members
Tasks added in this Group

Please wait..

Ok

Login to Open ESchool OR Create your account    Login   SignUp