Diagnostics tutorial

  1. Introduction
  2. Main classes
  3. Obtaining & using Diagnostics instances
  4. Obtaining & using Diagnosis instances
  5. Look-through Diagnosis
  6. Outro & todo list
<< | >>
Outro & todo list

Summing up - to make Diagnostics work properly you need to:
  1. import diagnostic packages
  2. Create at least one Diagnostics instance
  3. call beginWork() for one of instances
  4. mark some code blocks for analysis, remember about loopBlocks
  5. call endWork() for instance that you've been working with
  6. repeat 3, 4, 5 as long as you need.
  7. get Diagnosis instances from Diagnostics objects
  8. use setDocumentName() for Diagnosis instances you need to be saved
  9. use saveToFile() for Diagnosis instances you need to be saved, changing default options map for html instances you want
I hope as for now you have enough knowledge about how Diagnostics works, that you can use it but yourself. If anything is unclear, just try - it's always the best way to learn.
If still there will be any troubles - try asking through SourceForge.

If I made any language mistakes - I apologize. I'm not native english speaker, I'm still learning.

TODO:
  • Clean-up the code. Remove unused variables and constants, move methods as high in inheritating hierarchy as possible, put some locks and errors for situations of wrong use.
  • Work on documentation. Add annotations and package-info's.
  • Develop loop blocks further and introduce loop counters.
  • Write last part of page 4