Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 767911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:05:57+00:00 2026-05-14T18:05:57+00:00

I am having a debugging test, as part of an interview.. I thought if

  • 0

I am having a debugging test, as part of an interview.. I thought if any one can help with the approach, when I am faced with a large code base and have to find bugs inside that within an hour or two.This is going to be Core java based app (I guess) on Eclipse 3.2+

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T18:05:58+00:00Added an answer on May 14, 2026 at 6:05 pm

    The answer the interviewer is likely watching for is “what is your overall strategy?” You better have an approach that makes sense to him or her. This is the overall approach I recommend for debugging (regardless of if it’s for a test):

    1. Recreate the bug, documenting additional findings as you go along.
    2. Bonus points for writing a unit test to automatically recreate the bug.
    3. Categorize the bug – is it a crash, or incorrect behavior? Your analysis will likely be different.
    4. Crank up the debug/logging level as detailed as it will go.
    5. Look for log files/artifacts that the app may have generated to help pinpoint the fault.
    6. Do an initial skim through the likely code, looking for anything suspicious.
    7. Take a divide and conquer approach. Use a rough binary search to identify where the code works, and where it fails. Maybe use breakpoints or print statements.
    8. After you find it, add unit test cases to narrow it down explicitly.
    9. Add documentation to explain what you found, comments in the unit test code would be great.
    10. Fix the bug. Comments regarding the fix would also be good.
    11. TEST YOUR FIX. Test it in a logical, methodical manner (boundary conditions, etc.)
    12. When done, ask the interviewer to do a code review of your bug fix solution.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problems debugging a failing mysql 5.1 insert under PHP 5.3.4. I can't
I'm having trouble debugging test classes when using TestNG Factories. It seems like, when
Here's part of an integration test that I'm having: user = User.first assert !user.is_active?
I'm having trouble debugging a multi-process application (specifically using a process pool in python's
I'm having trouble debugging a C++ program in Eclipse (the latest RC of Helios,
I'm having troubles debugging a POST request I'm making from my web server to
I am having difficulties debugging a django/python application that requires a public key to
I'm having a problem debugging an Eclipse Application from Eclipse. When I launch the
I'm having a tricky debugging issue, perhaps due to my lack of understanding about
I'm having trouble with debugging a PHP project through NetBeans using XDebug, and was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.