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 
  

Confused about JavaScript Debug. - Newbie Question

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
userpingz



Joined: 10 Aug 2009
Posts: 2

PostPosted: Mon Aug 10, 2009 4:49 am    Post subject: Confused about JavaScript Debug. - Newbie Question Reply with quote

Hi,

Good day.


I already installed Microsoft Script Debugger just now.

If when i want to debug my Javascript, How it works?
I just need copy or edit my Javascript code in NB IED editor and set breakpoint some where. Or the NB IDE will lannch the Microsoft Script Debug and set breakpoint at the MS Script Debug IDE?

I am a newbie.
// OS: WinXP Pro SP3
// XAMPP: Windows Version 1.7.1
// PHP: 5.2.9
// IE: V6.0
// PHP.ini config
Code:

[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="D:\xampp\php\ext\php_xdebug-2.0.5-5.2.dll"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="D:\xampp\tmp"

Code:

[Zend]
;zend_extension_ts = "D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "D:\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:


Now, i already could debug PHP code with server side option.
I want to debug Javascript too.
I also read some topics from this NB PHP user sub forum. But i still get the question...

Any help will be appreciated.[/code]
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Mon Aug 10, 2009 8:46 am    Post subject: Confused about JavaScript Debug. - Newbi Question Reply with quote

Hi,

Dne pondělí 10 srpna 2009 06:49:23 userpingz napsal(a):
Quote:
If when i want to debug my Javascript, How it works?

does this URL [1] help?

Tomas
[1] http://www.netbeans.org/kb/docs/web/js-debugger-ug.html
--
Tomas Mysik
address-removed
Back to top
userpingz



Joined: 10 Aug 2009
Posts: 2

PostPosted: Tue Aug 11, 2009 12:33 am    Post subject: Reply with quote

Dear Mr Mysik,

Thank you very much!

BR!
Pingz
Back to top
View user's profile Send private message
Troy Giunipero
Posted via mailing list.





PostPosted: Tue Aug 11, 2009 11:40 am    Post subject: Confused about JavaScript Debug. - Newbi Question Reply with quote

Hi,

Please take a look at the JavaScript Debugger User's Guide. The debugger will suspend on a breakpoint (if, when executing, it reaches the line on which the breakpoint is set). You can also configure the debugger to suspend on errors, or the first line of JavaScript code. See Configuring the Debugger.

hope this helps,
troy



On 08/10/09 06:49, userpingz wrote:
Quote:
Quote:
Hi,



Good day.



I am confused with JavaScript Method.

I already installed Microsoft Script Debugger just now.



If when i want to debug my Javascript, How it works?

I just need copy or edit my Javascript code in NB IED editor and set breakpoint here. Or the NB IDE will lannch the Microsoft Script Debug and set breakpoint at the MS Script Debug IDE?



I am a newbie.

// OS: WinXP Pro SP3

// XAMPP: Windows Version 1.7.1

// PHP: 5.2.9

// PHP.ini config


Code:


[XDebug]

;; Only Zend OR (!) XDebug

zend_extension_ts="D:\xampp\php\ext\php_xdebug-2.0.5-5.2.dll"

xdebug.remote_enable=1

xdebug.remote_host=127.0.0.1

xdebug.remote_port=9000

xdebug.remote_handler=dbgp

xdebug.profiler_enable=1

xdebug.profiler_output_dir="D:\xampp\tmp"




Code:


[Zend]

;zend_extension_ts = "D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"

;zend_extension_manager.optimizer_ts = "D:\xampp\php\zendOptimizer\lib\Optimizer"

;zend_optimizer.enable_loader = 0

;zend_optimizer.optimization_level=15

;zend_optimizer.license_path =

; Local Variables:

; tab-width: 4

; End:







Now, i could debug PHP code with server side option.

I want to debug Javascript too.

I also read some topics from this NB PHP user sub forum. But i still get the question...



Any help will be appreciated.[/code]






([email]address-removed[/email])
([email]address-removed[/email])

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