Wednesday, August 31, 2011

Show temporary table content


Run the following and you will be able to see the contents of a temporary table during runtime, which I find very helpful when debugging:

new SysTableBrowser().run(tmpTable.TableId, tmpTable);

To get it running, you need to overwrite the run method on SysTableBrowser with a new parameter profile:
public void run(tableId tableId, common tmpBuffer = null)
 and add the following line before formRun.run();
if (tmpBuffer.TableId < 60535)
    formRun.parmTmpData(tmpBuffer);

2 comments: