LinuxQuestions.org
Register a domain and help support LQ
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, 06:48 PM   #1
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 302

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:01 AM
[Debugging] how break points work in GDB? skaushal_lk Programming 3 03-25-2011 12:42 PM
javascript line break secretlydead Programming 1 02-25-2011 10:12 AM
break while [...] loop when a program finishes throughthegreens Linux - Newbie 6 02-18-2010 12:12 PM
!? element names beginning with number break javascript??? UMG:Chicken_Sop Programming 1 01-28-2008 12:12 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration