Monday, October 13, 2008

Getting line numbers in dunit test

I forget this every time:(

By default, dunit gives the the address of where your unit tests failed.
To get the line numbers instead, do the following:

  1. Install the JCL from http://sourceforge.net/projects/jcl
  2. In your test project settings, add the conditional define USE_JEDI_JCL (Directories/Conditionals page)
  3. In your test project settings, set Map File to detailed (Linker page)
  4. Rebuild your project

No comments: