1

I have a spring mvc project in eclipse which uses maven. I want to compile the java source code in debug info mode in order to get method parameter names at runtime.

How can I do this ?

tereško
  • 58,060
  • 25
  • 98
  • 150
Soumya
  • 1,833
  • 5
  • 34
  • 45
  • 1
    see here http://stackoverflow.com/questions/9483315/where-do-you-configure-eclipse-java-compiler-javac-flags – PSR Mar 18 '13 at 13:16

2 Answers2

1

Windows->Preferences->Installed JRE's. Add JDK(Yes, you have to add JDK) like(C:\Program Files\Java\jdk1.6.0_34). Set it as default, so that you can see java source code OR

Window -> Preferences -> Java -> Compiler

Click all check boxes under headline "Classfile Generation".

Sachin
  • 3,424
  • 3
  • 21
  • 42
-1

Run the server in debug mode.add breakpoint in your code.Then navigate it with F6

Biswajit
  • 2,434
  • 2
  • 28
  • 35