Flash and debug fail in Visual Studio Code.

Hi,

I tried building and debugging the sample "https_client" using the method described here.
But debugging fails. Debugging stops prematurely because the source file cannot be found.

Module: nRF9160-DK
SDK: Connect SDK v2.0.0
firmware: mfw_nrf9160_1.3.2.zip

The settings and extended functions when creating the application, and the contents of the output are as follows.

Settings

extension

output

We will also send you the logs output during build, flash, and debug, so please check them.

3113.log_build.txt

build settings

I would be very happy if you could tell me how to solve it.

(In this state, nothing was displayed even when connected to LTE Link Monitor.)

Parents
  • Hi Norio,

    Did you recently update the Cortex Debug? Could you try downgrading to the previous version of this?

    Best Regards,

    Priyanka

  • Hi Priyanka,

    The version of Cortex Debug was the latest v1.6.0.

    I changed to the previous v1.4.4, but unfortunately it didn't improve.

    Even if I debug it, it stops in the middle and I get an error "cannot open source file".

    Is my setting wrong?

  • Hi Norio,

    Is it possible to Generate Support Information and attach it here? Also, is this the only sample with which you face this issue?

    -Priyanka

Reply
  • Hi Norio,

    Is it possible to Generate Support Information and attach it here? Also, is this the only sample with which you face this issue?

    -Priyanka

Children
  • Hi,

    How can I obtain support information?

    "Show capture in folder" in Trace Collector v1.1.2 only had empty files.

    Another sample "at_client" sent an AT command with LTE Link Monitor and confirmed that there was a response.

  • Hi,

    thank you for your answer.
    Attach support information.

  • Hi Norio,

    I have asked internally and will get back to you soon.

    -Priyanka

  • Hi Norio,

    From your debug log,

    It looks like your debugging is working.

    -Priyanka