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 8824627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:40:51+00:00 2026-06-14T06:40:51+00:00

After using functionality from this question for debugging I am wondering is there a

  • 0

After using functionality from this question for debugging I am wondering is there a way to get the file name from which the function was invoked and may be the line.

May be I am asking for too much, but I know that in some of the languages it is possible.

If this is not possible can anyone mention why his functionality was not implemented?

I will try to rephrase the question, because I think I didn’t make myself clear.

I have file.js in which on the 17-th line there is a declaration of the function:

...
function main()
{
   Hello();
}

I have another file test.js, where I define function hello

function Hello()
{
  ...
  which tells me the name of the file and a line in which the function which evoked it was defined
}

So for example if I will call
main(), it will tell me file.js, 17 line

It has nothing to do with firebug

  • 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-14T06:40:52+00:00Added an answer on June 14, 2026 at 6:40 am

    If all your doing is debugging, hy not just use the debugger built into modern browsers?

    debugger
    

    That line is all you need. You can examine the callstack, inspect variable values, and even run code in the current scope.

    Such functionality makes your request kind of unnecessary.

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

Sidebar

Related Questions

This was a question about testing file upload functionality using a local java server
After using this code to get my link to show me 3 database entrys
I asked this question earlier today. After trying out suggestions from a few members,
There are many variants on this kind of question. However I am specifically after
I'm using set_cookie() on a site. After adding some functionality, I'm getting Warning: Cannot
I have just started using RadControls so this question might be basic for you,
This might be a subjective question, but I'll give it a go. There are
I'm using ASP.NET MVC2 and C#, but this question applies to ASP.NET in general.
When using the AmazonS3 object for the first time after the application starts, there
I have created a tool which offers similar functionality as the PSExec tool from

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.