-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any clues on how to debug AST objects? #92
Comments
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 |
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
<#92 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAQjKIrswsVQM7z1UujzsnBWNGNTcxrBks5rbV5wgaJpZM4LvzBa>
.
|
I submitted odoo/odoo#15468, let's see if there's any activity. |
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?
The text was updated successfully, but these errors were encountered: