Looking for a syntax that would catch and argument upon runtime. I'm having issues with with my schema upgrade program where everything works just fine unless I have to do a "force" upgrade argument, then my program doesn't update my util.schema. I have multiple arguments, so trying to narrow it down to the force argument.
Also since this schema upgrade program is an executable is there a way to test this without pushing an actual upgrade?
Loading
VulpesPosted Oct 30, 2014, 12:14 PM
You could do this by (for example) returning prematurely from the update method or by using 'goto' to jump over the relevant part of the code.
By adding breakpoints, you could then use the debugger to check that relevant variables have the correct values at critical points in your code and, hopefully, track down the bug in that way.