• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to put debugger in Eclipse when you dont know where(which class) to put debugger breakpoint?

 
Ranch Hand
Posts: 2925
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know how to put debugger breakpoint on a class when you know which class is having that problem code.and then move the debugger forward with F6 keys and F8 keys (in ECLIPSE). But what about a case when you dont know where to put debugger breakpoint. When you dont know which class to put the debugger breakpoint in. So in such a case how to do debugging.where to put debugger which keys to use to move forward.

thanks
 
Greenhorn
Posts: 9
Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you don't get any exceptions (so that you don't know where the problem is) and your code still doesn't work as expected then you should probably think of where the problem may exists inside the code, then put some breakpoints there and debug the code step-by-step, verifying expected results at each step. Can't see any other way.
 
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic