output infer source locations on --debug-exceptions

Reviewed By: martinoluca

Differential Revision: D2937568

fb-gh-sync-id: f651926
shipit-source-id: f651926
master
Jules Villard 9 years ago committed by facebook-github-bot-5
parent e0fe2af712
commit 07822ff16e

@ -527,7 +527,7 @@ class Infer:
if self.javac.annotations_out is not None:
infer_print_options += [
'-local_config', self.javac.annotations_out]
if self.args.debug:
if self.args.debug or self.args.debug_exceptions:
infer_print_options.append('-with_infer_src_loc')
exit_status = subprocess.check_call(
infer_print_cmd + infer_print_options

Loading…
Cancel
Save