there are a couple steps before or instead of "open the debugger"

step two for me would be get FireBug its a firefox plugin if you
are using firefox3 you need firebug 1.2, when a page has
an error it shows a little red icon in the bottom right corner
of the page you can click on which opens a window
with the errors described by Rossko. It wouldnt help
you interpret the errors you see but it makes it obvious
where the browser thinks they might be

(there is also an error console under tools.. which shows an error
that has been hit
and an approximate line number even if you havent installed FireBug)

On Sep 10, 10:15 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> When using firefox, and go to tools, javascript debugger, the open
> windows pane, and then go to the current open document
>
> It opens up the source code for the page I am wanting to fix.  What is
> the next stop to figuring out whats wrong?  I go to look at the help
> file and I'm not sure where to start with this.  Any tips?  I'd like
> to learn, I just need a little push in the right direction.
>
> On Sep 10, 10:53 am, Rossko <[EMAIL PROTECTED]> wrote:
>
>
>
> > > I know enough how to move some things around and
> > > see if it works, but not why or why not it is or isn't working.
>
> > Unfortunately, cut'n'paste won't get you very far in this game, that's
> > just the way it is.  You can become a programmer, hire one, or adjust
> > expectations :)
>
> > Let me try a bigger clue.  You added this line
> >    map.addControl(new google.maps.LocalSearch());
> > to your code.  That's going to look for a GMap2 object called 'map'
> > and add a search bar to it.
> > It fails, complaining it can't find an object called 'map' - it tells
> > you so, by ' map is not defined '.
>
> > Now look through your code to see where you DO define your map
> > object ... "something = new GMap2"
> > The 'something' is what your object is really called, so you need to
> > change the .addControl() to match, so that it tacks the LocalSearch
> > onto the right object.
>
> > cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to