title: The best way to debug Mojarra and Primefaces in eclipse?
body: <p>PF 3.5.10, Mojarra 2.1.21, JBoss 7.1.1, Omnifaces 1.5</p>
  
  <p>Sometimes I have problems with JSF which are complicated to understand, and difficult to solve. E.g. my question <a href="https://stackoverflow.com/questions/18468378/duplicate-id-error-with-primefaces-dialog-in-template">Duplicate id error with primefaces dialog in template</a> . So my question(s) is what do I need to debug Mojarra. </p>
  
  <p>Now I can set debug points in Mojarra sources.</p>
  
  <p>a) What Mojarra (or primefaces) Methods are a good start point to begin the debugging ?</p>
  
  <p>b)  As in my example if I want to find out why JSF (or primefaces) generate  duplicate id, which methods should I observe (and debug) to find out the reason.</p>
  
  <p>c) Do you have any tips for debugging ?</p>