Problem debugging local variable names

Hello,

I have a problem when debugging my application compiled on ant. The local variable names shown by the debugger window of IntelliJ is not the actual variable names I've used on the code. For example, I am seeing local variable names arg1, arg2, temp1, temp2 .. etc. instead of firstName, lastName, age, address.

I tried changing all the configuration concerning debugging but nothing affects the variable names. When I tried compiling using IntelliJ then it works as expected. Is this a limitation or a bug?

Thanks in advance.

Best regards,
Carlos

5 comments

Have you set the debug option of the ANT javac task?

0

Should be a compiler issue - please check javac options used in the ant script.
Also this may happen if you use a kind of obfuscator that instruments the bytecode.

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Are you referring to debug and debuglevel option of the javac task?
debug is already set to true and debug level have values "lines, vars, sources" but still not working .. :(

please help me .. thank you.

0
	
		
		
	

]]>


Can you see what is wrong with the task? What is the correct one? Thank you.

0

The task is ok.
Are there any obfuscators or other class-instrumenting stuff in your build script?

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Carlos Lising Jr." <carloslisingjr@yahoo.com> wrote in message news:14100099.1184037306986.JavaMail.itn@is.intellij.net...

 
> 
> 
> 
> 
> 
> ]]>

>

Can you see what is wrong with the task? What is the correct one? Thank you.



0

Please sign in to leave a comment.