This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes Unknown Source???????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unknown Source????????" Watch "Unknown Source????????" New topic
Author

Unknown Source????????

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
I used to use smake and I never had a problem reading the line numbers in my stack trace when run time exceptions occured. Now that i've converted to another make tool, I get exceptions without line numbers. Instead they read....(Unknown Source)....why is that? What can i do to fix this?
Jon Strayer
Ranch Hand

Joined: Dec 04, 2002
Posts: 133
Make sure the compiler compiles with debugging turned on (commandline option -g). ANT (for exapmle ) defaults to no debugging info.


Jon
Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
I think that is the difference. I'll try it out. Thanks.
 
Don't get me started about those stupid light bulbs.
 
subject: Unknown Source????????