473,320 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

newbie: how to set a breakpoint

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
2 2890
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
3
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
4
by: Wal Turner | last post by:
Consider the following simple class: public class ClassA { public static string VAR = "hello"; } public void MethodA() { while(true)
4
by: Jay | last post by:
Guess this has probably been reported already. Seems if you don't use {} with for/while etc., the debugger stops at the wrong line. In the example below, I had a breakpoint at line 6 but the...
5
by: lawrencelee | last post by:
My purpose is to know which code reads value from a certain address. So I want to set a memory breakpoint and when cpu reads from the address, the breakpoint will be hit. But in the "Data breakpoint"...
2
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
7
by: AC [MVP MCMS] | last post by:
Wierd situation here. Running ASP.NET 1.1 on Win2003. I have to manually attach the debugger to a process in order to debug. So I set a breakpoint in an obvious place (like within the Page.Load...
5
by: One Handed Man [ OHM# ] | last post by:
Pressing Button2 does cause the breakpoint shown in Button1's handler to be active the first time. After stopping the program and restarting it it break as soon as you start Button1, Any ideas...
5
by: Max2006 | last post by:
Hi, I am using Visual C# 2005 and I like to setup breakpoint that pause execution upon a class variable change. Is that possible?
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.