Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26782

Automatically restored default session looses breakpoints

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 7.0.0-beta1
    • All Other Issues
    • None

      If I set the session manager up to restore the last session up on startup, and that session is the "default" session:

      ...the session "looses" the breakpoints entries

      The .qws file is rewritten on startup with empty values for breakpoints. Only after that, they are restored from the (now rewritten) .qws file and are of course empty.

      Note: This does does also happen with ActiveMode, ProjectTree.ExpandData, etc. Basically with all values that are listed under valueKeys in the .qws file. For some reason, Bookmarks escape that fate, as they get restored prior to the .qws rewriting.

      Note 2: After reporting this, I realized that this issue occurs depending on which plugins are loaded. I reproduce the issue when launching Q Creator with -noload all -load CMakeProjectManager -load Android -load QmakeProjectManager. When launching the default set of plugins, the order of the initial empty-default.qws rewriting and restoring from default.qws is different, and the Breakpoints, ActiveMode, etc. are successfully restored :/

      Should we prevent the default.qws from being rewritten during startup?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            con Eike Ziller
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes