[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1127) External vars do not appear if you hve a break point on the first line
Ahti Kitsik (JIRA)
jira-events at lists.jboss.org
Sat Aug 25 16:28:22 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1127?page=comments#action_12373857 ]
Ahti Kitsik commented on JBRULES-1127:
--------------------------------------
For the reference, this is used in debugger code:
get the list of vars:
return getFactory().getKnownVariables()
get the value for a given varName:
return getVariableResolver(varName).getValue()
Unfortunately I don't have a control to get global vars registered before first line of mvel code is evaluated.
I think it's possible to make this preparation in mvel code (before line=1 breakpoint would be triggered).
> External vars do not appear if you hve a break point on the first line
> ----------------------------------------------------------------------
>
> Key: JBRULES-1127
> URL: http://jira.jboss.com/jira/browse/JBRULES-1127
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Mark Proctor
> Assigned To: Ahti Kitsik
> Fix For: 4.0.1
>
> Attachments: debugvars1.jpg, debugvars2.jpg
>
>
> if I add a break point to the second line all external vars are visible, but not on the first line.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list