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 157166 - step into steps over at times
Summary: step into steps over at times
Status: CLOSED DUPLICATE of bug 155097
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-20 22:54 UTC by emiddio
Modified: 2010-04-29 09:46 UTC (History)
0 users

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 emiddio 2009-01-20 22:54:40 UTC
in the following code fragment -- from code i was trying to debug/step through,
i dont know where the code wants to go next -- so the requirement to choose 1 of 4 options
defeats the desire to step-into;

i like being able to choose(a new feature) -- but dont like being forced to choose -- since i dont
always know what to choose -- i want to step into !!!

RPCMessage msg = isResponse
                     ? (fault == null
                        ? (RPCMessage)new Response(fullTargetObjectURI, methodName,
                                                   returnValue, params, null,
                                                   declMsgEncStyle, ctx)
                        : (RPCMessage)new Response(fullTargetObjectURI, methodName,
                                                   fault, params, null,
                                                   declMsgEncStyle, ctx))
                     : (RPCMessage)new Call(fullTargetObjectURI, methodName,
                                            params, null, actualMsgEncStyle, ctx);
Comment 1 Daniel Prusa 2009-03-24 13:17:28 UTC
Yes, this is a bug, Step Into should be smarter for ternary operators.
As a workaround, use the former implementation of Step Into, now called Step Into Next Method, its shortcut is Shift+F7

*** This issue has been marked as a duplicate of 155097 ***
Comment 2 Quality Engineering 2010-04-29 09:46:54 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.