Hi
I ran into a weird issue. I have set up the remote debug target in Eclipse (Mars) according to the instructions of the developer.atlassian tutorial. Now, when I start remote debugging, it successfully connects to my local JIRA distribution. However, when I want to debug through my Java code, i.e. step over, the debugger seems to execute another code than visible in the code editor. It skips lines which I am sure they have to be executed, it stops at comments and so on. Somehow the code being executed is out of sync with the server. Cleaning, refreshing and rebuilding does not solve the problem.
Steps to reproduce:
Help would be much appreciated
Fabian
Community moderators have prevented the ability to post new answers.
Hi Tomasz Thanks for your reply. There problem was a different one: By default, the remote debugger in eclipse that I had to configure hat a wrong souce look up path configured in the Source tab. Cheers
Did you run atlas-mvn eclipse:eclipse?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Firstly, make sure the code you are looking at in eclipse is exacltly the same taken for compilation during atlas-debug. I recomend:
Secondly, i am not an expert but i would check if your eclipse Mars and JIRA (atlas-debug) is using the same version of JVM. For instance you could pass an extra parameter in options.ini file of your Mars such:
-vm C:/Program Files/Java/jdk1.8.XXX/bin
but your system environment Path variable points to a different (i.e older) one:
Path=C:/Program Files/Java/jdk1.7.XXX/bin
Then you might suffer behviour you described.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.