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 78106 - Watches does not show local variables
Summary: Watches does not show local variables
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Alexander Zgursky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 14:57 UTC by bugbridge
Modified: 2006-08-31 02:02 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-06-16 14:57:46 UTC
Description:
Steps to reproduce:
- start the IDE
- open the TravelReservationService sample project
- start PXE server
- deploy the project
- start a new debug session (right-click on the project node and call "Debug
Project" from the context menu)
- set a breakpoint in the Assign statement line of the BPEL source view 
- run HasHotel test scenario, wait until it stops at the breakpoint
- add a new watch for the "ItineraryIn" variable
- switch to the "ItineraryIn" variable in the "Watches" view 
Result: Fields "Type" and "Value" are empty for the "ItineraryIn" watch whereas
they are not empty in the "Local Variables" view

Evaluation:
This is desired functionality but it is out of scope for now.
Comment 1 Alexander Zgursky 2006-08-03 17:01:20 UTC
Fixed, but not exectly as described. The Watches view implemented so now it's
showing the values for xpath expressions. BPEL Variable names are not valid
xpath expressions - it needs to use the "$var_name" syntax (or
"$var_name.part_name" in the case of message type variables) to display variable
values in the Watches view.
A new inhancement request (http://www.netbeans.org/issues/show_bug.cgi?id=81828)
is issued for Watches View to be able to evaluate expressions which are just
BPEL variable names.
Comment 2 Alexander Pepin 2006-08-08 14:41:51 UTC
verified in build 060806_1