VSCode Unity Debugger - How to set breakpoints, watch expressions, and use the debug console?

VSCode Unity Debugger - How to set breakpoints, watch expressions, and use the debug console?

Dilmer Valecillos

5 лет назад

24,080 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@1jum7hae
@1jum7hae - 10.01.2023 04:06

thxxxxxxx

Ответить
@kepazino
@kepazino - 08.07.2022 13:02

thank you for the id, I attach the debugger but it wont stay running Im on linux

Ответить
@marcinziajkowski3870
@marcinziajkowski3870 - 11.04.2022 15:58

I do not have half of the features on windows. How to debug on windows ?

Ответить
@piyealar4395
@piyealar4395 - 15.02.2021 10:30

Can you take a video of how to do it for the 2020 version

Ответить
@xantablkot
@xantablkot - 15.01.2021 06:51

thank you so much for this video. i just transferred from visual studio to vscode and cant even understand the official document from MS, you are truly lifesavior

Ответить
@ersinerdem7285
@ersinerdem7285 - 01.07.2020 11:03

Thanks Dilmer!
In new edition of the debugger extension, they combined the run and debug icon together as I see. I was struggling to find the bug icon..
Actually I am surprised to see that we need to start the debugger as a separate process and start the game in Unity at the same time. Normally in generic programming, you would just run the program(the game) and the code falls onto the breakpoint automatically.

Ответить
@nati7728
@nati7728 - 27.04.2020 22:57

This extension has not been updated for over a year, and VSCode UI has changed a lot (v1.44.2). This tutorial is no longer useful.

Ответить
@clifflin7149
@clifflin7149 - 15.04.2020 03:55

Is it possible for VSCode to be attached to a Unity player instance? e.g. Runing a unity app on iOS/Android and debug in VSCode?

Ответить
@boggledeggnoggler5472
@boggledeggnoggler5472 - 27.03.2020 19:27

I don't have the debugger menu on the left. I'm on windows

Ответить
@valentinmariatti3180
@valentinmariatti3180 - 24.03.2020 06:17

Hey brother, really cool video, thanks for the help. However i have a problem while trying to use the debugger.


The thing is, in order to debug, i must initialize the debugger first and then start the game. But when i do that and i hit a breakpoint, Unity freezes and doesn't works until i stop the debugger. Any idea how can i possibly fix this?

Ответить
@ryanyoon2160
@ryanyoon2160 - 04.02.2020 22:09

having trouble with hovering while running. I just installed vs code today, restarted the application after installing Unity Debugger extension, but running it won't show me values whenever I hover over the codes. Any suggestions?

Ответить
@clifflin7149
@clifflin7149 - 27.12.2019 14:17

Question: How to debug a Unity->Android application with VSCode. I mean the application is built for Android, how to debug while application is running in a real android device (with USB connected to laptop) ?

Ответить
@2dinunity10
@2dinunity10 - 15.12.2019 15:12

<3

Ответить
@CodingWithUnity
@CodingWithUnity - 08.02.2019 00:48

Cool video!

Ответить
@phambaoha170
@phambaoha170 - 07.02.2019 09:19

Very good

Ответить