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 243201 - Debugging JavaME: NetBeans
Summary: Debugging JavaME: NetBeans
Status: REOPENED
Alias: None
Product: javame
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 08:38 UTC by BorisUlasevich
Modified: 2014-03-25 10:42 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
debugging windows and buttons are jumping on/off, see attached picture (58.37 KB, image/png)
2014-03-24 08:38 UTC, BorisUlasevich
Details
debug attach blinking (7.54 MB, video/avi)
2014-03-25 10:38 UTC, BorisUlasevich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BorisUlasevich 2014-03-24 08:38:20 UTC
Created attachment 146263 [details]
debugging windows and buttons are jumping on/off, see attached picture

When JavaME emulator fails to start, or user kills it soon after its start, NetBeans shows convulsions with the following messages in Output window:

KdpDebugTask connecting to debugger 3 ..
KdpDebugTask connecting to debugger 4 ..
KdpDebugTask connecting to debugger 5 ..
KdpDebugTask connecting to debugger 6 ..
KdpDebugTask connecting to debugger 7 ..
KdpDebugTask connecting to debugger 8 ..
KdpDebugTask connecting to debugger 9 ..
KdpDebugTask connecting to debugger 10 ..
KdpDebugTask connecting to debugger 11 ..
KdpDebugTask connecting to debugger 12 ..
KdpDebugTask connecting to debugger 13 ..
KdpDebugTask connecting to debugger 14 ..
KdpDebugTask connecting to debugger 15 ..
KdpDebugTask connecting to debugger 16 ..
KdpDebugTask connecting to debugger 17 ..
Connecting JPDA Debugger to emulator timed out after 17 attempts and 30 seconds.
Comment 1 Martin Entlicher 2014-03-24 14:06:26 UTC
I guess that this is about how the J2ME project is written. It likely starts the debugger up, which then waits for the application to start up. If it does not start up successfully, there seems to be some task, that periodically attempts to start it up again.
Comment 2 Roman Svitanic 2014-03-24 14:11:08 UTC
This is not an issue, it is expected behavior. IDE is trying to attach the debugger to the device. If there is a problem with an emulator/device, NetBeans obviously can't attach the debugger. Default timeout is set to 30 sec.
Comment 3 BorisUlasevich 2014-03-25 10:38:19 UTC
Created attachment 146297 [details]
debug attach blinking
Comment 4 BorisUlasevich 2014-03-25 10:42:45 UTC
Please have a look at video attached. The behavior seems not very strange.
I am Ok to see diagnostic error messages in Debugger output, but it is not correct when IDE start blinking and be irresponsible for 30 sec.