• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

firebug is not breaking on breakpoints

 
Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just installed firebug on firefox in Vista, but firebug is not breaking on breakpoints. Is there anything that i have to set up?

Please help
 
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How are you sure that the code is being reached?
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
set breakpoint at start of script and check.
 
Alejandro Barrero
Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For example, I am using a javascript file like:

var caracterSeparador = "/";
2var diasEnMes = new makeArray0(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
3
4function esFecha(laFecha) {
5 var posicion1 = laFecha.indexOf(caracterSeparador);
6 var posicion2 = laFecha.indexOf(caracterSeparador, posicion1 + 1);
7 ...

I put break points at 2 and 5 above, but it doesn't break when it executes. It does execute correctly, but I had to fix the problems with alert.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sometimes it is better to use debugger; where you want it to break.

Some explaination here:
http://www.ddj.com/development-tools/196802787;jsessionid=DMJRXCEUB32SAQSNDLOSKH0CJUNN2JVN?pgno=5

Eric
 
Alejandro Barrero
Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I used the keyword debugger at the end of one line in the js file and in a line by itself and still the break points don't work.
More confusing is that break points started to work for some reason, but after I closed firebug and reopened again they stopped working???
Is it possible that this is a Widows Vista thing?
 
Bryce Martin
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As much as I would love to blame it on Vista, I can't be certain that it is. What version of FF are you using? Or are you doing this in IE?
 
Ranch Hand
Posts: 471
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bryce Martin:
As much as I would love to blame it on Vista, I can't be certain that it is.



Well, I like blaming vista for a lot of things too, but I think that vista has nothing to do with this at all.
 
Alejandro Barrero
Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Alaa:

What shall I look for?
 
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic