FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

debug javascript

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
Pet
Posted via mailing list.





PostPosted: Sat Aug 29, 2009 7:33 am    Post subject: debug javascript Reply with quote

Hi,

I'm not able debug javascript. There used to be menu in project
properties to configure debuging (define browser etc.), but it is not
there anymore.

How can I enable debugging of Javascript again?

Thanks, Pet
Back to top
Petr Jiricka
Posted via mailing list.





PostPosted: Tue Sep 01, 2009 10:39 pm    Post subject: debug javascript Reply with quote

In the NB 6.8 Dev builds, you can get the JavaScript debugger plugin
from the update center. It is not included in the IDE by default now.

Petr

On Aug 29, 2009, at 9:33 AM, Pet wrote:

Quote:
Hi,

I'm not able debug javascript. There used to be menu in project
properties to configure debuging (define browser etc.), but it is not
there anymore.

How can I enable debugging of Javascript again?

Thanks, Pet





Back to top
Pet
Posted via mailing list.





PostPosted: Wed Sep 02, 2009 5:43 am    Post subject: debug javascript Reply with quote

On Wed, Sep 2, 2009 at 12:39 AM, Petr Jiricka<address-removed> wrote:
Quote:
In the NB 6.8 Dev builds, you can get the JavaScript debugger plugin from
the update center. It is not included in the IDE by default now.

Thanks, I've installed that plugin, but it doesn't work. Does it work
for you? I have a clean installation.

after installing javascript debug plugin, firefox starts javascript
debug session and php debug session. I can see them in debug sessions
window. However, read only tab with client side code does not popup
and there is no way to debug javascript.
I've already filed that issue

Pet

Quote:

Petr

On Aug 29, 2009, at 9:33 AM, Pet wrote:

Quote:
Hi,

I'm not able debug javascript. There used to be menu in project
properties to configure debuging (define browser etc.), but it is not
there anymore.

How can I enable debugging of Javascript again?



Quote:
Quote:

Thanks, Pet












Back to top
Pet
Posted via mailing list.





PostPosted: Thu Sep 03, 2009 8:25 am    Post subject: debug javascript Reply with quote

If I set Firebug "On for all pages", then Firebug stops at breakpoint
which I've set in NB .js file and I can debug in firebug, but not
inside of NetBeans. Would mean firebug has stolen debug session from
NB.

Pet

On Wed, Sep 2, 2009 at 7:43 AM, Pet<address-removed> wrote:
Quote:
On Wed, Sep 2, 2009 at 12:39 AM, Petr Jiricka<address-removed> wrote:
Quote:
In the NB 6.8 Dev builds, you can get the JavaScript debugger plugin from
the update center. It is not included in the IDE by default now.

Thanks, I've installed that plugin, but it doesn't work. Does it work
for you? I have a clean installation.

after installing javascript debug plugin, firefox starts javascript
debug session and php debug session. I can see them in debug sessions
window. However, read only tab with client side code does not popup
and there is no way to debug javascript.
I've already filed that issue

Pet

Quote:

Petr

On Aug 29, 2009, at 9:33 AM, Pet wrote:

Quote:
Hi,

I'm not able debug javascript. There used to be menu in project
properties to configure debuging (define browser etc.), but it is not
there anymore.

How can I enable debugging of Javascript again?



Quote:
Quote:

Thanks, Pet













Back to top
rafaelsantini



Joined: 14 Sep 2009
Posts: 5
Location: Brazil

PostPosted: Mon Sep 14, 2009 3:08 pm    Post subject: Reply with quote

I have the same problem.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
abernaus



Joined: 15 Jul 2009
Posts: 3

PostPosted: Mon Sep 28, 2009 1:43 pm    Post subject: Reply with quote

I have the same problem and I haven't found a solution. I know that we could work and debug using this way, but it's a mess.
Back to top
View user's profile Send private message
Pet
Posted via mailing list.





PostPosted: Thu Oct 01, 2009 4:55 pm    Post subject: debug javascript Reply with quote

On Thu, Sep 3, 2009 at 10:24 AM, Pet <address-removed> wrote:
Quote:
If I set Firebug "On for all pages", then Firebug stops at breakpoint
which I've set in NB .js file and I can debug in firebug, but not
inside of NetBeans. Would mean firebug has stolen debug session from
NB.


Does anyone else have this issue with javascript debugger? Firebug is
simply stealing debug session from NB... For IE it works fine.

Pet

Quote:
Pet

On Wed, Sep 2, 2009 at 7:43 AM, Pet<address-removed> wrote:
Quote:
On Wed, Sep 2, 2009 at 12:39 AM, Petr Jiricka<address-removed> wrote:
Quote:
In the NB 6.8 Dev builds, you can get the JavaScript debugger plugin from
the update center. It is not included in the IDE by default now.

Thanks, I've installed that plugin, but it doesn't work. Does it work
for you? I have a clean installation.

after installing javascript debug plugin, firefox starts javascript
debug session and php debug session. I can see them in debug sessions
window. However, read only tab with client side code does not popup
and there is no way to debug javascript.
I've already filed that issue

Pet

Quote:

Petr

On Aug 29, 2009, at 9:33 AM, Pet wrote:

Quote:
Hi,

I'm not able debug javascript. There used to be menu in project
properties to configure debuging (define browser etc.), but it is not
there anymore.

How can I enable debugging of Javascript again?



Quote:
Quote:

Thanks, Pet














Back to top
Peter Swietoslawski



Joined: 30 Oct 2009
Posts: 1

PostPosted: Fri Oct 30, 2009 11:49 am    Post subject: Reply with quote

The same problem in FF 3.5 on Mac with NB 6.8 Beta. On top of that I can't even set breakpoints for javascript if it's in php file. They appear as broken.
Back to top
View user's profile Send private message
Petr Jiricka
Posted via mailing list.





PostPosted: Fri Oct 30, 2009 3:24 pm    Post subject: debug javascript Reply with quote

The JavaScript debugger is not included in NetBeans 6.8. To get it,
you need to download the module from the update center (Tools ->
Plugins).

Also, you can not directly put breakpoints in PHP source - the
breakpoints are put into the generated code that is sent to the
browser. See also: http://www.netbeans.org/kb/docs/web/js-debugger-ug.html

Petr


On Oct 30, 2009, at 12:49 PM, Peter Swietoslawski wrote:

Quote:
The same problem in FF 3.5 on Mac with NB 6.8 Beta. On top of that I
can't even set breakpoints for javascript if it's in php file. They
appear as broken.









Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB