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.
and ignores other scopes like "closure". See. org.netbeans.modules.web.javascript.debugger.locals.VariablesModel.getVariables(). The Variables view should probably show all scopes available. To test "closure" scope just define a function within a function, eg: function DepartmentController($scope, $routeParams, Shop, Cart) { function a() { var aa = "dddd"; $scope.aaa = "aaa"; Console.log("asss"); } a(); } and put breakpoint for example at "Console.log..." line - the closure scope will list "$scope" and "Cart" variables etc.
Reproduced.
Fixed by changeset: 258464:c36213d71df9 http://hg.netbeans.org/web-main/rev/c36213d71df9
Integrated into 'main-silver', will be available in build *201307152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c36213d71df9 User: mentlicher@netbeans.org Log: #232581: Additional variable scopes defined.