Kozea / Kozea/wdb

Any clues on how to debug AST objects?

Open
#92 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
120
PR merge metrics
No merged PRs in 30d

Description

I'm having to debug some Odoo 10.0 views, which are now AST objects.

Whenever I interrupt inside one with ``, I get to a blank view and see no source code:

![captura de pantalla de 2017-01-27 15-03-18](https://cloud.githubusercontent.com/assets/973709/22373362/c43fd044-e4a1-11e6-8740-d8beb0383e16.png)

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Odoo 10.0 view with and observe the blank debugger view shown in the report. Determine whether AST objects are expected to lack source display or whether wdb should support them; done means documenting the limitation or defining the required debugging behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.