LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2013, 05:48 PM   #1
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Rep: Reputation: 3
Netbeans 7.3: Program does not break at break points when debugging JavaScript


I have Netbeans 7.3 running on OpenSUSE 12.1 and am developing PHP and JavaScript in the PHP module.

I am using two files: a php file called index.php and a JavaScript file called example.js. They both run fine and I am able to set break points in the JavaScript (.js) file. However the program never stops at the break points when I run the program in debug mode. For example, I try a simple function


Code:
function buttonClick()
{
    alert("Hello World!");
}
and set the break point at the only line in this function. The program runs in debug mode and executes the alert() function without breaking.

Any assistance with resolving this problem would be greatly appreciated.

Peter.
 
  


Reply

Tags
break, debugging, javascript, netbeans



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show break when debugging with gdb? chinabenjamin66 Linux - Software 1 12-01-2012 09:01 AM
[Debugging] how break points work in GDB? skaushal_lk Programming 3 03-25-2011 11:42 AM
javascript line break secretlydead Programming 1 02-25-2011 09:12 AM
break while [...] loop when a program finishes throughthegreens Linux - Newbie 6 02-18-2010 11:12 AM
!? element names beginning with number break javascript??? UMG:Chicken_Soüp Programming 1 01-27-2008 11:12 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration