Compile Code Throws - Unknown Source rather than line number

I have setup following options to turn on debug information in code but still when some error occurs i get “Unknown Source” rather than Line number where the error is thrown from.

options.debug = 'on'
options.debugOptions.debugLevel = 'lines,vars,source'