Debugger Feature
ClosedPublic

Authored by eliakinalmeida on Jan 12 2017, 6:03 AM.

Details

Summary

After so long time without a commit, finally this feature has a functional version.
This version includes:

  • A new controller interface to management the debugger(DebugController)
  • A new Action to start the debugger(Starts a new process)
  • A QToolBar with debug actions
  • The actions are asynchronously executed
  • The DebugProcess is represented for a bdb.Bdb subclass
  • A Icon can point the current line in the debugger
  • Changes in the UI was maked
    • It was created a StackWidget to comport outputs in the scripter
    • The stack widgets can be accessed from the uicontroller
    • the output can be wrapped for another features in the scripter

Fixes T4551

Ref T1625

Test Plan

None

Diff Detail

Repository
R37 Krita
Branch
eliakinalmeida/T4551-interactive-python-scripting
Lint
No Linters Available
Unit
No Unit Test Coverage
eliakinalmeida retitled this revision from to Debugger Feature.
eliakinalmeida edited the test plan for this revision. (Show Details)
eliakinalmeida added a reviewer: rempt.
eliakinalmeida updated this object.
eliakinalmeida added a subscriber: eliakinalmeida.
rempt edited edge metadata.Jan 12 2017, 9:00 AM

Looks like excellent work! I'll be testing it now, after merging my branch into yours (so there's some real working API to play with).

plugins/extensions/pykrita/plugin/plugins/scripter/ui_scripter/actions/runaction/runaction.py
26

I wonder what that means :-)

rempt added a comment.Jan 12 2017, 9:12 AM

Looks like the buttons are a bit hidden without icons?

rempt added a comment.Jan 12 2017, 9:14 AM

Something else doesn't work: when I press the debugger button, I get an error message "AttributeError: 'DocWrapper' object has no attribute 'flush'

woltherav accepted this revision.Dec 7 2017, 3:08 PM
This revision is now accepted and ready to land.Dec 7 2017, 3:08 PM
woltherav closed this revision.Dec 7 2017, 3:08 PM

This was pushed :)