Thank you for the wonderful Firebug tool.

 I have a question about how to use 'Open Editor' to debug javascript
in the 'Script' tab.   I've configured Firebug to open my favorite
text editor via the 'Open Editor' menu (View->Open With Editor-
>Configured Editors') but now I need to figure out how to pass the
line number to my editor.  There's a field in the configuration dialog
for launch arguments but I don't know how to set these in conjunction
with whatever arguments Firebug can pass.   Let's say my editor
expects to be invoked as:   myeditor.exe -n linenumber filename, is
there a way configure the launch arguments to do this, i.e. are there
placeholders for filename and line number perhaps?   What arguments
does Firebug pass to the editor and in what order?  If Firebug passes
'filepath linenumber', I could configure it to invoke a script that
expects the line number as the second parameter and then calls my
favorite editor using its expected argument syntax.  Hopefully Firebug
will invoke a .bat file and not just an .exe file (haven't tried this
yet)?    I need to do this anyway since I need to post-process the
file name of the javascript file and change the path to not be in
\temp (my Javascript files are not local, they are served by a servlet
so right now when I 'open with editor' it gives me a copy of the file
in C:\temp).  Today, after debugging a problem in Firebug, I have to
manually find and open the specific JavaScript file in my source code
control tree view and manually go to the specific line when I want to
make and save a fix, and it would be very nice to streamline these
steps.   I know I'd still need to reload the page or perhaps restart
Firefox after saving the fix but I always do that anyway.

 In short, I'd like to know what arguments Firebug is passing to the
editor when you 'Open With Editor'.  I really hope it includes the
line number.  It would be nice if the 'Open With Editor' option were
included in the context menu if you right click on a line of code in
the Script panel.  (BTW, I'm using Firefox 2, out of necessity on my
project, and Firebug 1.2.1).   This quick and easy 'go to line X in my
source file' feature would help anyone like me who is developing and
debugging a web app (as opposed to local JS files), and needs to be
able to quickly edit the source wherever it may be and using the
user's favorite IDE.

 If anyone can help, please post to this forum since I don't check the
Google email account frequently.

Thanks in advance!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to