There’s code included to mimic the MR framework. You just paste it into the debugger and it acts like a single-processor map/reduce.
d
D17339
03/18/2020, 3:37 PM
@mattdahse is it like just copy-paste the code from IDE to Script Debugger editor and Debug Script?
m
mattdahse
03/18/2020, 3:39 PM
Pretty much. I mean if you have dependent modules imported, you’ll need to kind of merge that into the framework.
d
D17339
03/18/2020, 3:43 PM
Are you talking about( custom Module) dependant Modules?
D17339
03/18/2020, 3:52 PM
@mattdahse its not stopping at my break points ?
Steps follwed
copy pasted my MR script to Script debugger
replaced Define with Require
selected my Break Points
Clicked Debug Script Button
Once i click execute it didnt stop at my break points
m
mattdahse
03/18/2020, 3:56 PM
@D17339 You can’t just paste your raw map/reduce script into the debugger. Your entry points will never be called. I wrote a framework script to paste into the debugger to mimic map/reduce scripts. That’s the only way it will work.
d
D17339
03/18/2020, 3:58 PM
@mattdahse Can u share the Framework Script file and let me know how to use it?
m
mattdahse
03/18/2020, 4:03 PM
The code and the instructions are bundled with my book. I can’t spare the time to offer a bunch of personal help, I’m afraid. My day job keeps me pretty busy.