This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229582 - Javascript debugging does not work on mobile devices
Summary: Javascript debugging does not work on mobile devices
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-10 13:10 UTC by Jan Becicka
Modified: 2013-05-16 02:28 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2013-05-10 13:10:32 UTC
Probably regression introduced by issue 228181. Need to investigate.
Comment 1 Petr Jiricka 2013-05-10 13:46:42 UTC
Product Version: NetBeans IDE Dev (Build web-main-10485-on-20130510)
Java: 1.7.0_15; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03
System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb)

Interesting, works fine for me on Android device (in HTML5 project - I did not try Java or PHP project).
Comment 2 Jan Becicka 2013-05-10 13:52:54 UTC
> Interesting, works fine for me on Android device (in HTML5 project - I did not
> try Java or PHP project).

So you can set breakpoint and then the breakpoint turns green, when debugger stops there?
Comment 3 Jan Becicka 2013-05-10 14:09:19 UTC
Definitely does not work for PhoneGap applications
Comment 4 Petr Jiricka 2013-05-10 14:13:51 UTC
> So you can set breakpoint and then the breakpoint turns green, when debugger
> stops there?

Yes. If it appears as broken for you, could you be hitting issue 229383?

> Definitely does not work for PhoneGap applications

This never worked for me (on iOS simulator), so I can't tell.
Comment 5 Jan Becicka 2013-05-10 14:24:22 UTC
Never mind. I see lot of bugs url mappings...
Comment 6 Jan Becicka 2013-05-13 14:07:00 UTC
Changeset: b42d807a7976
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-05-13 16:03
Message:   partial fix
Comment 7 Jan Becicka 2013-05-13 15:04:00 UTC
Debugging has still some issues after the fix. Will do pair debugging with Martin again.
Comment 8 Quality Engineering 2013-05-14 02:24:18 UTC
Integrated into 'main-golden', will be available in build *201305132300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b42d807a7976
User: Jan Becicka <jbecicka@netbeans.org>
Log: partial fix
Issue #229582 - Javascript debugging does not work on mobile devices
Comment 9 David Konecny 2013-05-15 01:59:25 UTC
> Changeset: http://hg.netbeans.org/main-golden/rev/b42d807a7976

This looks OK to me. The only thing which should be improved is this line in ConrdovaURLMapper:

   15.67 +        browserURLMapper.setServerURLRoot("http://localhost:8383/" + p.getProjectDirectory().getName() + "/");
Comment 10 Jan Becicka 2013-05-15 15:12:12 UTC
Changeset: cf3e54b0ccb6
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-05-15 17:04
Message:
Comment 11 Jan Becicka 2013-05-15 15:23:54 UTC
(In reply to comment #9)
> > Changeset: http://hg.netbeans.org/main-golden/rev/b42d807a7976
> 
> This looks OK to me. The only thing which should be improved is this line in
> ConrdovaURLMapper:
> 
>    15.67 +        browserURLMapper.setServerURLRoot("http://localhost:8383/" +
> p.getProjectDirectory().getName() + "/");

Tracked as issue 229798
Comment 12 Quality Engineering 2013-05-16 02:28:52 UTC
Integrated into 'main-golden', will be available in build *201305152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/cf3e54b0ccb6
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #229582 - Javascript debugging does not work on mobile devices