+ 8

Pydroid special window

Actually I use pydroid for my python coding because I dont have laptop 😅 I searched it everywhere but found nothing. But from several days I amazed with a specific feature . Where a red highlighted line come over a coding part (see the img below) https://ibb.co/1Lx9KqD And when I run this code then special window comes with many features. I dont what exactly they are (see the image below) https://ibb.co/z5ms0zX Can anyone tell me what exactly is it ? How to use it ?

13th Jul 2020, 11:36 AM
Ayush Kumar
Ayush Kumar - avatar
10 Respostas
+ 3
those are called breakpoints. when debugging, the code will stop at your breakpoints so you can see whats going on in your code at that moment. From here you can also usually "single-step" your code and see exactly how it works
13th Jul 2020, 12:05 PM
Slick
Slick - avatar
+ 2
When you touch the space around the line index,the red line appears. Click on the space around the line index a second time and everything will be ok
13th Jul 2020, 11:42 AM
Julmiste Fils Noel
Julmiste Fils Noel - avatar
+ 2
Yes I know NoĂ«l Julmiste Fils 😅😅😅😅 But I want to know about this feature
13th Jul 2020, 11:44 AM
Ayush Kumar
Ayush Kumar - avatar
+ 2
Not really but i can give an explination. I'm sure you've wrote code where there's just SOMETHING wrong with it and you dont know what!!! Well thats when debugging comes in. (Try this with a simple program like a for loop printing numbers 1 - 10) Once you see an area that may be troublesome you add a breakpoint right before it. (put the breakpoint right on the for loop statement) Then when you run the program it will stop at your breakpoint! It will then allow you to look at what your code does one step at a time in real time. Here's where youre problem will most likely show. As you watch your code jump around pay attension to your variables and the values of everything. Ive found several things i thought were "impossible" and learned a lot through using breakpoints and the debugger.
13th Jul 2020, 12:21 PM
Slick
Slick - avatar
+ 1
F҉R҉O҉N҉T҉ 🔚& 🔙🔚/ 𝔾𝕣𝕕𝕩𝕚𝕟𝕠 Lover I don't know too😂
13th Jul 2020, 11:47 AM
Julmiste Fils Noel
Julmiste Fils Noel - avatar
0
Oo but unfortunately I dont know about debugging Slick and 𝐊𝐱𝐱𝐛𝐹 𝐆𝐡𝐚đČđšđ„ . Can you provide me some source for it
13th Jul 2020, 12:08 PM
Ayush Kumar
Ayush Kumar - avatar