Changes

Jump to: navigation, search

BELK-AN-009: Using Visual Studio Code for remote debugging

756 bytes added, 08:48, 19 February 2020
no edit summary
{{Applies To Bora}}
{{Applies To BoraX}}
{{AppliesToVisualStudioCode}}
{{InfoBoxBottom}}
 
{{WarningMessage|text=This application note was validated against specific versions of the kit only. It may not work with other versions. Supported versions are listed in the ''History'' section.}}
!Notes
|-
|4.0.0/21.0.0
|June 2019
|[[BELK/BXELK_software_components#BELK_4.0.0_.2F_BXELK_2.0.0|4.0.0 / 2.0.0]]
== Introduction ==
[https://code.visualstudio.com/ Visual Studio Code] (VSCode for short) is a powerful integrated development environment (IDE). In the last years, it has gotten growing grown in popularity among software developers of any kind, thanks to its excellent flexibility. [https://marketplace.visualstudio.com/VSCode Numerous extensions], native git support, availability for all of the most common platforms are some of the features that have made it so successful.
Even though it was not designed for embedded software development specifically, it is so versatile that it can be used for this purpose as well. This application note shows, for instance, how to configure it in order to remotely debug an application running on the Bora/BoraX platform. As host machine, the Virtual Machine released along with the BELK/BXELK kit was used.
It is assumed that the reader is familiar with at least one of [[Bora_Embedded_Linux_Kit_(BELK/)|Bora Embedded Linux Kit]] (BELK for short) or [[BoraX_Embedded_Linux_Kit_(BXELK)|BoraX Embedded Linux Kit]] (BXELK kit for short), and with VSCode.
==Host configuration==
[[File:BELK-AN-009-extensions.png|thumb|center|600px|The two required extensions]]
 
 
The procedure described in this document was tested specifically with the following version of VSCode:
<pre>
Version: 1.35.0
Commit: 553cfb2c2205db5f15f3ee8395bbd5cf066d357d
Date: 2019-06-04T01:13:26.790Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 3.13.0-170-generic
</pre>
==Target configuration==
[[File:BELK-AN-009-cross-debug.png|thumb|center|800px|Cross-debugging session]]
 
[[File:BELK-AN-009-native-debug.png|thumb|center|600px|Native debugging session]]
==Download==
The source file associated with this application note can be downloaded [https://cloud.dave.eu/ws-reserved-area-belk/AN/009 here]. For accessing the <b><i>BELK Reserved area</i></b>, please contact our [mailto:sales@dave.eu sales department].
4,650
edits

Navigation menu