Tip: var-scoping with ColdFusion debugger
If you want to verify if all your method variables where var-scoped correctly just launch a debug session and set a break point at the end of your function and then run your app which will make the cfc call.
Once the debugger stops in the breakpoint, go to the variables panel and expand variables and function_variables (var-scoped) nodes.
You can then verify if each variable if they are in the right scope.
If those scopes don't show up in the variables panel go to Window> Preferences > ColdFusion > Debug Settings and then enable the missing scopes.


There are no comments for this entry.
[Add Comment]