Any clues on how to debug AST objects?
I'm having to debug some Odoo 10.0 views, which are now AST objects.
Whenever I interrupt inside one with <t t-debug="wdb"/>, I get to a blank view and see no source code:

Not sure if I should modify some things for the AST, if this is expected behavior, or if wdb could actually be improved to debug such objects. Could anybody help me here please?
I think it's because there's no filename and therefore no source attached to the current frame. If it's possible to access the current template source from the frame maybe it's possible to display it but I never used this framework so I don't really know.
@Yajo Havn't we got file reference in the ir_ui_view table? Any way you could see to plug that into wdb? Maybe a fix to odoo upstream? Just thinking loud...
You could perhaps take a look at how jinja2 rewrite the stack https://github.com/pallets/jinja/blob/master/jinja2/debug.py
Le sam. 11 févr. 2017 à 08:08, David Arnold [email protected] a écrit :
@Yajo https://github.com/Yajo we have file reference in the ir_ui_view table, any way you could see to plug that into wdb? Maybe a fix to odoo upstream? Just thinking loud...
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/Kozea/wdb/issues/92#issuecomment-279126788, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQjKIrswsVQM7z1UujzsnBWNGNTcxrBks5rbV5wgaJpZM4LvzBa .
I submitted https://github.com/odoo/odoo/issues/15468, let's see if there's any activity.