git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 0/1] contrib/vscode/: debugging with VS Code and gdb

From
COGONI Guillaume <cogoni.guillaume@gmail.com>
Date
Apr 6, 2022, 23:39 UTC
Message-ID
<20220406233946.45778-1-cogoni.guillaume@gmail.com>
In-Reply-To
<xmqqbkxex8oy.fsf@gitster.g>
On 4/6/2022 18:03 PM, Derrick Stolee wrote:
> Sorry for not getting to this in v1.

No problem, I take this opportunity to get a better view of the review process.

> Thanks for working on this!
Thanks for your help and reviewing.
COGONI Guillaume (1):
  contrib/vscode/: debugging with VS Code and gdb
 Documentation/MyFirstContribution.txt | 20 ++++++++++++++++++++
 contrib/vscode/README.md              |  6 +++++-
 contrib/vscode/init.sh                |  1 -
 3 files changed, 25 insertions(+), 2 deletions(-)
Diff-intervalle between v2 and v3 :
1:  367a478855 ! 1:  0600ab64f8 contrib/vscode/: debugging with VS Code and gdb
@@ Commit message
     MyFirstContribution.txt and a part to convince a newcomer that VS Code
     can be helpful.
     
-    Signed-off-by: COGONI Guillaume <cogoni.guillaume@gmail.com>
-    Co-authored-by: BRESSAT Jonathan <git.jonathan.bressat@gmail.com>
     Helped-by: Matthieu Moy <Matthieu.Moy@univ-lyon1.fr>
     Helped-by: Derrick Stolee <derrickstolee@github.com>
+    Co-authored-by: BRESSAT Jonathan <git.jonathan.bressat@gmail.com>
+    Signed-off-by: COGONI Guillaume <cogoni.guillaume@gmail.com>
     
     ## Documentation/MyFirstContribution.txt ##
     @@ Documentation/MyFirstContribution.txt: against the appropriate GitGitGadget/Git branch.
@@ Documentation/MyFirstContribution.txt: against the appropriate GitGitGadget/Git
+[[Bonus-useful-tools]]
+== Bonus - useful tools
+
-+=== VS Code
+=== Visual Studio Code (VS Code)
+
+The contrib/vscode/init.sh script creates configuration files that enable
+several valuable VS Code features. See contrib/vscode/README.md for more
+information on using the script.
+
+In particular, this script enables using the VS Code visual debugger, including
+setting breakpoints, logpoints, conditional breakpoints in the editor.
+In addition, it includes the ability to see the call stack, the line of code that
+is executing and more. It is possible to visualize the variables and their values
+and change them during execution.
+
-A script that creates the configuration files is available in contrib/vscode/init.sh. Useful links
-and explanation of how to use the script are available in contrib/vscode/README.md.
-Using the integrate debugger can be particularly helpful to understand how Git works internally.
-It can be used to isolate some parts of code, with this you may be able to ask more precises
-question when you are stuck. (See getting-help sections).
- \ No newline at end of file
+In sum, using the built-in debugger can be particularly helpful to understand
+how Git works internally.
+It can be used to isolate certain parts of code, with this you may be able to ask
+more precises question when you are stuck. (See getting-help sections).
     
     ## contrib/vscode/README.md ##
     @@ contrib/vscode/README.md: code editor which runs on your desktop and is available for
-- 
2.25.1
Previous: Junio C HamanoNext: COGONI Guillaume
Message 17 of 24 in “contrib/vscode/: debugging with vscode and gdb”
  1. Jonathan BressatMar 24, 2022
  2. Derrick StoleeMar 25, 2022
  3. Matthieu MoyMar 25, 2022
  4. Derrick StoleeMar 25, 2022
  5. Jonathan BressatMar 26, 2022
  6. Guillaume CogoniApr 3, 2022
  7. Matthieu MoyApr 5, 2022
  8. 0/1 contrib/vscode/: debugging with VS Code and gdbCOGONI Guillaume, Apr 5, 2022
  9. 1/1 contrib/vscode/: debugging with VS Code and gdbCOGONI Guillaume, Apr 5, 2022
  10. Ævar Arnfjörð BjarmasonApr 6, 2022
  11. Matthieu MoyApr 6, 2022
  12. Matthieu MoyApr 6, 2022
  13. 0/1 contrib/vscode/: debugging with VS Code and gdbCOGONI Guillaume, Apr 6, 2022
  14. 1/1 contrib/vscode/: debugging with VS Code and gdbCOGONI Guillaume, Apr 6, 2022
  15. Derrick StoleeApr 6, 2022
  16. Junio C HamanoApr 6, 2022
  17. 0/1 contrib/vscode/: debugging with VS Code and gdbCOGONI Guillaume, Apr 6, 2022
  18. 1/1 contrib/vscode/: debugging with VS Code and gdbCOGONI Guillaume, Apr 6, 2022
  19. Ævar Arnfjörð BjarmasonApr 7, 2022
  20. Derrick StoleeApr 7, 2022
  21. Junio C HamanoApr 7, 2022
  22. 0/1 contrib/vscode/: debugging with VS Code and gdbCOGONI Guillaume, Apr 7, 2022
  23. 1/1 contrib/vscode/: debugging with VS Code and gdbCOGONI Guillaume, Apr 7, 2022
  24. Matthieu MoyApr 7, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.