saw prior post with similar (shows fixed - Google Groups)
The Error Occurred in
C:\home\freshrvads.com\wwwroot\modules\cbdebugger\interceptors\Debugger.cfc: line 71
69:
70: // end the request timer
71: debuggerService.timerEnd( request.cbdebugger.processHash );
72: request.fwExecTime = getTickCount() - request.fwExecTime;
73: // record the profilers
If I write dump request.cbdebugger immediately prior line 71 it’s an empty struct
The Error Occurred in
C:\home\freshrvads.com\wwwroot\modules\cbdebugger\interceptors\Debugger.cfc: line 71
called from C:\coldbox\system\web\context\InterceptorState.cfc: line 370
called from C:\coldbox\system\web\context\InterceptorState.cfc: line 260
called from C:\coldbox\system\web\context\InterceptorState.cfc: line 121
called from C:\coldbox\system\web\services\InterceptorService.cfc: line 139
called from C:\coldbox\system\web\Controller.cfc: line 377
called from C:\coldbox\system\FrameworkSupertype.cfc: line 327
Apparently this was fixed. I’m not using CommandBox properly to update a Coldbox app I believe. I did just “update” within CommandBox which now seems obvious means updating CommanBox itself, not the CB folder I’m in.
No, “update” will update the dependencies in the package that is in your current working directory. The command to upgrade the version of CommandBox is “upgrade”. Run the following to see the difference:
Yep, sorry. Just figured that out from the docs. So what I can’t figure out is why when I updated yesterday it said everything was up to date (including cbdebugger) yet I had the “old” line 71 without the isNull addition? When I manually removed cbdebugger a bit ago after checking it against a fresh copy and then used CommandBox to go get it I got the new fixed version. Either something wrong with what I did with CommandBox or cbdebugger was changed sometime today.
It’s also possible that the ForgeBox entry for it is messed up and while the download URL points to the correct version of the code, the version didn’t get updated. That could make CommandBox think you had the latest version but in reality, you didn’t and a fresh install grabbed updated code. When you reinstalled the module, did the version increment in your box.json. This data is also easily viewed using the “list” command from the package root.
List shows 1.1.0 for cbdebugger whereas what I had yesterday was ColdBox Debugger v1.0.0+00028. I’m not getting the 2nd “prior” value from use of “list” but rather whatever I was looking at yesterday. No idea what list would have shown yesterday but it seems to have thought cbdebugger was current. I need to read up on CommandBox. My guess is I copy/pasted cbdebugger from another app so therefore wasn’t in box.json at all and thus not checked??
That’s actually quite possible. CommandBox only tracks the dependencies in your box.json. If you manually install a package, you’d need to manually add it to the dependencies or devdependencies “struct” in box.json. If “update” isn’t finding a new version of a package, you can use the “list” command to see what packages are listed, or add --verbose to the update command to get more details output.
CommandBox documentation and API docs are linked here: