This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unknown Source????????" Watch "Unknown Source????????" New topic

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.

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
I think that is the difference. I'll try it out. Thanks.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Unknown Source????????
It's not a secret anymore!