Hello,
Wondering what everyone's experience with breakpoint debugging is
here. I've been using firebug for a few years and, while I'm delighted
to have _some_ debugging ability, I've found it to be very fussy,
difficult to know when it's going to work or not. I'm curious how
others approach debugging, and if anyone here feels they are able to
use a breakpoint debugger reliably.
thanks,
-Morgan 6 2047
On Aug 19, 3:53 pm, Morgan Packard <hellomorganpack...@gmail.com>
wrote:
Hello,
Wondering what everyone's experience with breakpoint debugging is
here. I've been using firebug for a few years and, while I'm delighted
to have _some_ debugging ability, I've found it to be very fussy,
difficult to know when it's going to work or not. I'm curious how
others approach debugging, and if anyone here feels they are able to
use a breakpoint debugger reliably.
thanks,
-Morgan
If I need lots of output to debug I make a floating div on the page
and add output to it, like a terminal window.
Otherwise it's just the good old fashioned alert.
I've never used firebug in my life and don't intend to. http://cylo.co.uk
Morgan Packard wrote:
Hello,
Wondering what everyone's experience with breakpoint debugging is
here. I've been using firebug for a few years and, while I'm delighted
to have _some_ debugging ability, I've found it to be very fussy,
difficult to know when it's going to work or not. I'm curious how
others approach debugging, and if anyone here feels they are able to
use a breakpoint debugger reliably.
thanks,
-Morgan
I completely agree on Firebug's unreliable approach to breakpointing.
It's completely random whether it will work or not. You can't tell them
(on their google forum) about anything like that though. They get all
defensive and attack you for casting doubt on their great tool. It's at
least an improvement on the worst debugging tool ever invented - Venkman.
I find that Microsoft Visual Studio is the only reliable debugger. If
you set a breakpoint, you're 99% sure that it will stop if that line of
code is executed. The 1% doubt is for code that's conditionally loaded
into scope and VS can be unsure. It's mostly good though. I use the 2003
..NET version. It can even let you set breakpoints in code that was
brought into existence via an eval statement (which Firebug can't do).
Neither of them let's you debug code that was created dynamically in the
parent page from a createElement from inside an iframe though. If any of
that code has an error, you get things like Error on line 21489513.
Aptana is a plugin which I believe lets you debug JS in Eclipse. I tried
it once but gave up after a short time. I should have put the time in to
get it working but never did.
Laser Lips wrote:
On Aug 19, 3:53 pm, Morgan Packard <hellomorganpack...@gmail.com>
wrote:
>Wondering what everyone's experience with breakpoint debugging is here. I've been using firebug for a few years and, while I'm delighted to have _some_ debugging ability, I've found it to be very fussy, difficult to know when it's going to work or not. I'm curious how others approach debugging, and if anyone here feels they are able to use a breakpoint debugger reliably.
I've never used firebug in my life and don't intend to.
Why? You don't like making your job easier?
Stevo meinte:
Morgan Packard wrote:
>Hello,
Wondering what everyone's experience with breakpoint debugging is here. I've been using firebug for a few years and, while I'm delighted to have _some_ debugging ability, I've found it to be very fussy, difficult to know when it's going to work or not. I'm curious how others approach debugging, and if anyone here feels they are able to use a breakpoint debugger reliably. thanks, -Morgan
I completely agree on Firebug's unreliable approach to breakpointing.
It's completely random whether it will work or not. You can't tell them
(on their google forum) about anything like that though. They get all
defensive and attack you for casting doubt on their great tool. It's at
least an improvement on the worst debugging tool ever invented - Venkman.
Firebug is - IMO - still the most "direct" tool for debugging. Apart
from the breakpoints you still have console.log...
I find that Microsoft Visual Studio is the only reliable debugger. If
you set a breakpoint, you're 99% sure that it will stop if that line of
code is executed. The 1% doubt is for code that's conditionally loaded
into scope and VS can be unsure. It's mostly good though. I use the 2003
.NET version. It can even let you set breakpoints in code that was
brought into existence via an eval statement (which Firebug can't do).
I found Opera's Dragonfly more reliable with breakpoints, but haven't
used it too much, yet.
Gregor
-- http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie http://web.gregorkofler.com ::: meine JS-Spielwiese http://www.image2d.com ::: Bildagentur für den alpinen Raum
On Aug 19, 4:28 pm, Stevo <n...@mail.invalidwrote:
Laser Lips wrote:
On Aug 19, 3:53 pm, Morgan Packard <hellomorganpack...@gmail.com>
wrote:
Wondering what everyone's experience with breakpoint debugging is
here. I've been using firebug for a few years and, while I'm delighted
to have _some_ debugging ability, I've found it to be very fussy,
difficult to know when it's going to work or not. I'm curious how
others approach debugging, and if anyone here feels they are able to
use a breakpoint debugger reliably.
I've never used firebug in my life and don't intend to.
Why? You don't like making your job easier?
Just never had the need to use it. I can do all my debugging without
it. Firebug has'nt always been arround, alerting was the only way to
see data at certain points in the code, AND can actually act as a
break point to a certain degree because while an alert is active,
javascript code stops.
Why do you feel the need to use it?
Morgan Packard wrote:
Wondering what everyone's experience with breakpoint debugging is
here. I've been using firebug for a few years and, while I'm delighted
to have _some_ debugging ability, I've found it to be very fussy,
difficult to know when it's going to work or not. I'm curious how
others approach debugging, and if anyone here feels they are able to
use a breakpoint debugger reliably.
I found breakpoints for client-side scripts (along with those for the
corresponding server-side script) quite useful when debugging a virtually
undocumented XHR-based Web application a while ago. I used Firebug < 1.2 at
that time (IIRC 1.0.x), when there was no indication yet as to at which
lines execution could be suspended. Firebug 1.2.x now marks the
corresponding line numbers with green foreground color here, and I would say
debugging works reliable for me then. (Still, I had hoped that Joe
implemented my suggestion of setting the breakpoint on the next available
line instead.) If you need more than simple debuggign, you can install
Venkman, the original JavaScript debugger on which Firebug's debugger is based.
Of course, it is a PITA to debug minified code (although Venkman can
pretty-print it). Which is one of several reasons why I strongly recommend
against minifying.
HTH
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
by: John Kutsor |
last post by:
I have been working on a ASP.NET project with VB Code
behind for a while
now, and it ran perfectly up until now. When I try to set
a breakpoint or a
watch at certain parts of the project, even...
|
by: Bob |
last post by:
In a particular project that I'm debugging (compiled as debug, not release)
I cannot set a breakpoint inside a particular function. I click to set it,
and magically, another file from another...
|
by: DCC-700 |
last post by:
I am using ASP.Net with VB on the 1.1 Framework running on Win XP Pro.
I am trying to gauge the time it takes to sort a datagrid using different
code sets. But when I am debugging the page there...
|
by: Ole |
last post by:
Hi,
Using VS2005 and a windows CE 5.0 device running CF2. Suddenly I can't debug
my C# program from VS2005 - when setting a breakpoint I only see a ring
instead of the normal red dot and when...
|
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?
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |