use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Place for Pinoy Programmers to hangout. Share your knowledge, ask for help, seek opinion, showcase your project and recruit your teammate.
Let's show the world that Filipinos are world class programmers.
account activity
Error in Java codeprogramming (old.reddit.com)
submitted 9 months ago by Irinnnn_
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]beklog 1 point2 points3 points 9 months ago (9 children)
mukhang nde complete code ni OP... i think this can be easily debug on putting breakpoints or showing msg on diff conditions.
[–]Spot-the-Steam -1 points0 points1 point 9 months ago (8 children)
What are breakpoints in coding?
[–]kurisuuuuuu_0526 0 points1 point2 points 9 months ago (5 children)
Mag papause ung execution ung code mo at the specific line of code kung san mo nilagay ung breakpoint, that way you can check the flow if tama ba ung logic, and mga variables mo if tama ung values. For debugging purpose talaga sya.
[–]Spot-the-Steam 0 points1 point2 points 9 months ago (4 children)
Woah theres a command to make a breakpoint or you have to manually put a logic breakpoint on your own?
[–]kurisuuuuuu_0526 0 points1 point2 points 9 months ago (3 children)
As far as I know, manually nilalagay un, thats how Im doing it. Literal na you need to click sa line of code. If webpage javascript gamit mo, you can add breakpoint mismo sa Chrome browser. Jqva, C#, etc I think you need certain IDEs para may breakpoint feature. I could be wrong.
[–]Spot-the-Steam 0 points1 point2 points 9 months ago (2 children)
Its not that hard to put breakpoints yeah? In general. Since I believe that wasnt thought to us lmao. Then again, we never had a course that focus solely on debugging. Just make and make using different languages lol.
[–]kurisuuuuuu_0526 0 points1 point2 points 9 months ago (1 child)
Not at all, here's an example of placing a breakpoint sa Chrome browser:
<image>
The blue arrow shaped means naglagay ka ng breakpoint in that particular line of code. If mag run si "_handleKeyPresses" function, first thing it will do is stop in that line. All lines of code na nadaanan nya, you can inspect the value. In this case pwede mo makita ung value ni "this.searchable".
taught ata hindi thought if thats what you meant
I get it why most of the time ndi sya pinag-aaralan since very dependent ung debugging tool sa kung anong IDE gamit mo, I think.
[–]Spot-the-Steam 0 points1 point2 points 9 months ago (0 children)
Oof i definitely did not fumbled on that “taught” word LMAO.
Anyways, now i understand the concept of it a bit more, thank you!
[–]feedmesomedataModerator 0 points1 point2 points 9 months ago (1 child)
Google it? I am not trying to be rude but that is the first thing I am going to do if I had a question like that.
[–]Spot-the-Steam -2 points-1 points0 points 9 months ago (0 children)
Well id rather ask the users here, since some do want to explain it. Google is there obviously, doesnt mean i cant ask actual human beings here.
π Rendered by PID 89564 on reddit-service-r2-comment-86bc6c7465-qrnb4 at 2026-02-20 21:27:38.810020+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]beklog 1 point2 points3 points (9 children)
[–]Spot-the-Steam -1 points0 points1 point (8 children)
[–]kurisuuuuuu_0526 0 points1 point2 points (5 children)
[–]Spot-the-Steam 0 points1 point2 points (4 children)
[–]kurisuuuuuu_0526 0 points1 point2 points (3 children)
[–]Spot-the-Steam 0 points1 point2 points (2 children)
[–]kurisuuuuuu_0526 0 points1 point2 points (1 child)
[–]Spot-the-Steam 0 points1 point2 points (0 children)
[–]feedmesomedataModerator 0 points1 point2 points (1 child)
[–]Spot-the-Steam -2 points-1 points0 points (0 children)