• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stack Trace Link / line number

 
Mark Binau
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using WSAD 5.1. When my code prints a stack trace to the console, most the lines are hot links and display the line number. The lines that display (Unknown Source) are the ones that pertain to the code I have written. There must be a way to make it recoginize my code, but I have not been able to find it yet. Can someone point me in the right direction? What keyword should I search for in the help.

Thanks,
Mark
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34218
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark,
Debugging and stack traces use the same paths. It's a bit easier to setup using debugging though. Try to debug into your class. When WSAD says it can't find the source, there is a button to add the jar.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34218
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alternatively, you can go the the project's build path and set the source path for a jar.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should also check that in your compiler settings you have debug informations enabled.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic