kfgodel / bean2bean

Github repository for Bean2Bean project
Other
0 stars 0 forks source link

Allow debugging mode to pinpoint problems #18

Open kfgodel opened 5 years ago

kfgodel commented 5 years ago

It could be useful to create a plan of how the conversion is done, or have something like a tree during execution. This may be something that is not enabled or useful by default but facilitates understanding what's going on when multiple levels of conversion nesting is happening

kfgodel commented 5 years ago

Indirectly addressed on https://github.com/kfgodel/bean2bean/issues/100 A task can access its parent task which ends up defining higher abstraction stack than the actual stack. Due to the circular dependency problem not being addressed, the actual stack is useful enough for normal debugging.

If more debugging information is needed, a tree can be created if parent tasks retain information to their children as well

kfgodel commented 5 years ago

Creating a tree may have memory issues for collections of many elements. I'll hold this task until needed as the "debugging option" shoud be turned off by default and activated on a case by case basis.