TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Print is your best debugging tool

3 点作者 Hamatti将近 3 年前

2 条评论

Bostonian将近 3 年前
You can add a line of code to print a few variables, but it may be easier to add a breakpoint at the same place and use the &quot;info locals&quot; and &quot;info args&quot; commands of gdb to display local variables and arguments.<p>When do people use print statements vs. gdb? I use print statements out of inertia but wonder if I should gdb more.
评论 #31666654 未加载
pseingatl将近 3 年前
How would you use this for LaTeX?
评论 #31666625 未加载