How to debug Fbx Importer?


I am trying to understand how FBX file is imported. The importer is implemented in python. So, how to debug it?

I am actually implementing an application which takes a fbx file, creates a cycles scene and bakes the scene. I am using fbx sdk to read the file. It is working fine but I must improve a couple of things which went wrong.

  1. The Cycles Transform which I am computing is wrong. Need to understand how to do it from Fbx SDK’s Matrix
  2. Need to generate shaders more properly than hard-coding here and there.

Thanks in advance.