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

  • Home
  • SEARCH
  • 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 7945253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:48:22+00:00 2026-06-04T00:48:22+00:00

How can I step through my javascript code line by line using Google Chromes

  • 0

How can I step through my javascript code line by line using Google Chromes developer tools without it going into javascript libraries?

For example, I am heavily using jQuery on my site, and I just want to debug the jQuery I have written, and not the javascript/jquery within the jquery libraries. How do I only step through my own jquery/javascript and not have to step through the millions of lines in the jquery libraries?

So if I have the following:

function getTabFrame() {
    $.ajax({
        url: 'get_tab_frame.aspx?rand=' + Math.random(),
        type: 'GET',
        dataType: 'json',
        error: function(xhr, status, error) {
            //alert('Error: ' + status + '\nError Text: ' + error + '\nResponse Text: ' + xhr.responseText);
        },
        success: function(data) {
            $.each(data, function(index, item) {
                // do something here
            });
        }
    });
}

if I place the breakpoint at $.ajax({, if I them start debugging that it where it stops, if I then press F11, it goes straight into the jQuery libraries. I don’t want that to happen, I want it to go to the next line which is url: 'get_tab_frame.aspx?rand=' + Math.random(),.

I have tried pressing F10 instead, but that goes straight to the closing } of the function. And F5 just goes to the next breakpoint without stepping through each line one by one.

  • 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-06-04T00:48:23+00:00Added an answer on June 4, 2026 at 12:48 am

    Assuming you’re running on a Windows machine…

    1. Hit the F12 key
    2. Select the Scripts, or Sources, tab in the developer tools
    3. Click the little folder icon in the top level
    4. Select your JavaScript file
    5. Add a breakpoint by clicking on the line number on the left (adds a little blue marker)
    6. Execute your JavaScript

    Then during execution debugging you can do a handful of stepping motions…

    • F8 Continue: Will continue until the next breakpoint
    • F10 Step over: Steps over next function call (won’t enter the
      library)
    • F11 Step into: Steps into the next function call (will
      enter the library)
    • Shift + F11 Step out: Steps out of the current
      function

    Update

    After reading your updated post; to debug your code I would recommend temporarily using the jQuery Development Source Code. Although this doesn’t directly solve your problem, it will allow you to debug more easily. For what you’re trying to achieve I believe you’ll need to step-in to the library, so hopefully the production code should help you decipher what’s happening.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to step through a javascript as it happens, but skipping the steps
Can anyone point to a step-by-step tutorial on how to configure a remotely-accessible service
Is there a way that i can save data on each step in wizard
How would I validate the Third Step on my multi-stage jQuery form? It can
In SAS 9, how can I in a simple data step, rearrange the order
can anyone help me in trying to check whether JavaScript is enabled in client
I have a strange issue with my code I can't seem to figure out.
I am building wizard step demo application with MVC3 and using razor view engine
I'm having an interesting but difficult problem with my JavaScript code. Basically, I'm trying
Users have been able to log into my website using their Facebook account, but

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.