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

Cannot set breakpoints in template code. Attempting to do so while debugging causes Qt Creator to hang.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.0.0
    • Debugger
    • None
    • Windows Vista 64

      I am unable to set breakpoints in template code. In non-template code, breakpoints work as expected. I am able to step through template code as normal.

      Attempting to set a breakpoint in template code while debugging causes Qt Creator to issue an Execution Error, e.g.: "Cannot continue debugged process: Warning: Cannot insert breakpoint 13. Error accessing memory addres 0x95ab0074: Input/output error."

      Setting (or forgetting to remove!) a non-disabled breakpoint in template code before starting a debugging session makes Qt Creator issue a warning, "Cannot insert breakpoint 12. Error accessing memory address 0x0. Input/output error," after which the requested debug session does not start, but cannot be killed without re-starting Qt Creator.

      My template code is instantiated in the same dll as the non-template code it is called from.

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

            hjk hjk
            major_tom3 Tom Boddington
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes