facebook

unable to debug application client in myeclipse blue 8.6

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #316222 Reply

    Hi,

    I am using application client newly provided in myeclipse blue 8.6. I want to debug application client and I am able to put break points and get the execution stop at break points but I am not able to see green line and not able to inspect variables etc.

    While debugging application client I am passing following “-Xdebug -Xrunjdwp:transport=dt_socket,address=127.0.0.1:7784” in VM arguments.

    PLeae let me know how can I debug application client in myeclipse.

    #316274 Reply

    support-swapna
    Moderator

    saurabhtaurus,

    Can you answer some more questions for me to be able to replicate the issue at my end?

    1) Can you share your build id from Help > About MyEclipse Blue Edition. Paste the build id here for me.

    2) Which application server are you working with ?

    3) Where are you setting your breakpoints ? Is it in Java class files or in JSP/JavaScript ?

    4) Do you see any errors of interest logged in the .log file which is located at <workspace dir>/.metadata/.log ? If yes then paste them here for me.

    5) Also send me detail steps on how you are trying to debug the application client.

    #316313 Reply

    Hi,

    Below is the reply of your queries:-

    1) Build id:- 8.6-Blue-20100723

    2) Application server:- websphere 7 fix pack 11

    3) I am setting breakpoints in java files only.

    4) No error in .log file

    5) Steps I am following:-

    a) EAR is deployed on websphere server and server is running in debug mode with breakpoints.

    b) Now I am running application client in debug mode.
    .
    So, I am getting code execution halting at breakpoint and debug step by step but not able to see the green line and inspect variables. This problem is only coming with myeclipse application client. I am having web application also and it is working fine.
    So, please confirm at your end that is it possible to debug myeclipse application client properly as it is a new feature in myeclipse. Do we need to follow anything else?

    #316338 Reply

    support-swapna
    Moderator

    saurabhtaurus,

    Thank you for the details.

    1) The steps are similar for both web application and application client project.

    2) Where exactly are you placing the break point in the application client project ? Is it in the main class created in the application client project ?

    3) Can you please list out detail steps right from creating the project to debug, along with exact breakpoints for me to be able to replicate it at my end ?

    #319940 Reply

    I have an EAR which contains EJB project and Application client. When I run application client, it uses EJB. I am putting break points in method in EJB & not in application client mainclass. So, it executes the method in bean class but it do not debug at the breakpoint in method in EJB.

    If possible please test it on your end by having an EJB and an application client in an EAR. Application client should call method in EJB. And should be able to debug the method called in EJB

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: unable to debug application client in myeclipse blue 8.6

You must be logged in to post in the forum log in