By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,741 Members | 2,009 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,741 IT Pros & Developers. It's quick & easy.

newbie: how to set a breakpoint

P: n/a
Hello,
I have a page index.php and a file functions.js. The page index.php
conatins:
* * * * <script type="text/javascript" src="include/functions.js">
I need to set breakpoint in some function from functions.js (the function is
called onclick in index.php) and I need to run index.php to the breakpoint.
Because I use Firefoxa (inpod Linuxem), I installed Web Developer and
Firebug. Now I enter:
* * * * http://localhost/~robert/rozgloszenia/index.php
and I open Firebug window looking at contents of functions.js file (which I
can see after clicking "plus" sign at "script" tag). I can find there my
functions. Following Firebug documentation, I click line number where I
want to set breakpoint but nothing happends. I also tried to double-click
or right-click the line number but nothing happends.
I need you help - how to set a breakpoint and run page to the breakpoint.
Thanks in advance.
Oct 28 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Oct 28, 5:55*am, Jivanmukta <jivanmu...@poczta.onet.plwrote:
Hello,
I have a page index.php and a file functions.js. The page index.php
conatins:
* * * * <script type="text/javascript" src="include/functions..js">
I need to set breakpoint in some function from functions.js (the functionis
called onclick in index.php) and I need to run index.php to the breakpoint.
Because I use Firefoxa (inpod Linuxem), I installed Web Developer and
Firebug. Now I enter:
* * * *http://localhost/~robert/rozgloszenia/index.php
and I open Firebug window looking at contents of functions.js file (whichI
can see after clicking "plus" sign at "script" tag). I can find there my
functions. Following Firebug documentation, I click line number where I
want to set breakpoint but nothing happends. I also tried to double-click
or right-click the line number but nothing happends.
I need you help - how to set a breakpoint and run page to the breakpoint.
Thanks in advance.
Note that there is a group specific to Firebug, at <http://
groups.google.com/group/firebug/topics>.
Oct 28 '08 #2

P: n/a
On Oct 28, 1:55*pm, Jivanmukta <jivanmu...@poczta.onet.plwrote:
Hello,
I have a page index.php and a file functions.js. The page index.php
conatins:
* * * * <script type="text/javascript" src="include/functions..js">
I need to set breakpoint in some function from functions.js (the functionis
called onclick in index.php) and I need to run index.php to the breakpoint.
Because I use Firefoxa (inpod Linuxem), I installed Web Developer and
Firebug. Now I enter:
* * * *http://localhost/~robert/rozgloszenia/index.php
and I open Firebug window looking at contents of functions.js file (whichI
can see after clicking "plus" sign at "script" tag). I can find there my
functions. Following Firebug documentation, I click line number where I
want to set breakpoint but nothing happends. I also tried to double-click
or right-click the line number but nothing happends.
I need you help - how to set a breakpoint and run page to the breakpoint.
Thanks in advance.
Enable fireBug for local files, then click to the left of the line
number, on the script's listing in the scripts tab (not in html's tab,
not in the script's listing that appears in html's tab), *and* reload
the page.

--
Jorge.
Oct 28 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.