LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Netbeans 7.3: Program does not break at break points when debugging JavaScript (https://www.linuxquestions.org/questions/programming-9/netbeans-7-3-program-does-not-break-at-break-points-when-debugging-javascript-4175451013/)

OtagoHarbour 02-20-2013 05:48 PM

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.


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