#Debug

2025-06-17

Let's Build a Golang Debugger From Scratch!

Hey everyone! I'm excited to share my new eBook, "Debugger101: The Art of Debugging in Go", where we’ll build a debugger from the ground up.

🔍 ​What’s inside?​​

A deep dive into debugging concepts
Step-by-step guidance on crafting your own Go debugger
Practical insights to level up your debugging skills
📖 ​Read it here:​​ hitzhangjie.github.io/debugger

2025-06-13

Wrote a blog post on how to use strace to better debug programs:
rrampage.github.io/2025/06/13/

#linux #strace #debug

Andrea Grandi 🦕andreagrandi
2025-06-11

If you want to connect Claude Code to Sentry, the command you are looking for is:

claude mcp add-json Sentry '{"command":"npx","args": ["mcp-remote@latest","mcp.sentry.dev/sse"], "env": {"SENTRY_AUTH": "*********"}}'

Where SENTRY_AUTH is a personal token (read permission is fine to investigate issues)

2025-06-06

Une alternative à Sentry pour aggreger les erreurs qui se produisent dans le navigateur des utilisateurs de votre site ou votre application web.

🔗 telebugs.com/

#web #erreur #debug #frontend #javascript

2025-06-06

Une alternative à Sentry pour aggreger les erreurs qui se produisent dans le navigateur des utilisateurs de votre site ou votre application web.

🔗 telebugs.com/

#erreur #debug #web #frontend

2025-06-06

Une alternative à Sentry pour aggreger les erreurs qui se produisent dans le navigateur des utilisateurs de votre site ou votre application web.

🔗 telebugs.com/

#erreur #debug #web #frontend

stiller_leserstiller_leser
2025-06-06

I just spend three hours to a . ON MY F**** VACATION BECAUSE OF AN I DID NOT WANT!

Sivarion AnantornelSivar@pixelfed.social
2025-06-05
Sometimes you need to make a pact to really debug the code.
#duck #debug #rubberduckdebugging

If moving platform doesn't have target location set it displays big X above itself. I think it's good idea to add those small markers to remind your designer or your future self when something needs further setup in your levels.

#UE5 #indiedev #debug #LevelDesign #GameDev

Christian Beerchbeer
2025-06-01

My mightiest SwiftUI debug tool: Shift+Cmd+7 aka "Comment Section“

2025-05-31
🕶️ A view of its UI (on a dark theme) with its menus at the top in the form of buttons and a few indicators, and on the rest of the screen a timeline over a few ms, the operating chronology of the processor threads, below the details of the operation of thread 336, below and to the sides tables and curves describing the processes in progress.

📚️ A libre, multi-platform real-time profiler for game development, with nanosecond resolution, remote telemetry, hybrid pre-sampling and framing. By integrating calls to the library in the source code of an application, developers can measure the performance of their code and detect sources of slowdown, with a view to optimizing speed and fluidity. It supports CPU and GPU profiling, memory allocation, locks, context switching, automatic assignment of screenshots to captured images, and much more.
2025-05-30

Teach You to Use the FMZ Extended API to Batch Modify Parameters of the Bot
In this article, we will explore the group control of the bot, update some details of the parameters.

fmz.com/bbs-topic/10316

2025-05-28

How people can #code and #debug issues without the use of @Xdebug and similar tools will always be a mystery for me.

🇺🇸 🇺🇦 🇮🇱 🐧 🥦Methylcobalamin
2025-05-25

Debugging Help Please!

I have 2 mastodon.social accounts. One is an informational feed and one is just for fun.

I can no longer see the posts from the informational feed account on my fun account.

I have many filters. I tried to see if the filters were a problem by setting them to "Hide With A Warning".

I still don't see the posts from my informational account.

Any tips on debugging this situation?

2025-05-23
@Laird_Dave@chaos.social

#VibeCoding democratize the creation of #software... that nobody can hope to #debug. 🤷‍♂️

Good luck with your customers' #privacy, #security and #DataProtection! 🤣

@tante@tldr.nettime.org
2025-05-14

Error Busters: Guide to Solving Flow and Apex Trigger Errors in Salesforce

Hey there, fellow Trailblazers! Ever hit a snag with a Flow or an Apex trigger and felt like you needed a magnifying glass and a detective hat? You’re not alone! Errors happen, but luckily, Salesforce gives us some fantastic tools and strategies to figure out what went wrong. Think of troubleshooting less like a chore and more like some fun detective work.

Last week I attended MidAtlantic Dreamin where I presented on this topic. You can download my slides using the link on the bottom of this page. But before that, let me give you an overview of the content.

Here are my tips for solving flow and Apex trigger errors in Salesforce.

Starting Your Detective Work: The Essential First Steps

When an error pops up, don’t panic! Take a deep breath and start with the basics:

  1. Read the Error Message Carefully:This might sound obvious, but error messages are your first clue! For Flows, check the error message at the top and bottom of any fault emails you receive – they can be super descriptive. For Apex, you’ll get unhandled exception emails; make sure to read these closely too. Sometimes the message itself tells you exactly what happened.
  2. Inspect Your Test Data: Make sure the data you’re using for testing is appropriate. If you’re working with Flows, try not to reuse old records. Why? They might have weird field value combinations due to recent changes in automation or validation rules. For Apex, your test classes should generate appropriate test data.
  3. Become a Debug Log Pro: The debug log is your absolute best friend! It shows you exactly what happened during the execution of your Flow or Apex trigger. For Flows, try reading the log like a book from top to bottom to trace the path. For Apex, the log shows variable values and exceptions. You can set up a detailed user trace for the user running the automation to capture all the gory details.
  4. Check Fault Emails (and Failed Flow Interviews): If a production Flow fails and doesn’t have a fault path (more on those later!), an administrator or the creator gets a fault email. This email is golden! It has a link directly to the failed interview, showing you a stop sign icon, and often highlights the failing element. You can also check the Paused and Failed Flow Interviews screen in Setup for details and debug log links. Apex failures send unhandled exception emails. Read those emails carefully.

Flow-Specific Super Skills

Flows have some unique debugging powers. Make sure you use them!

  • Debug As You Build: Don’t wait until your Flow is a giant spaghetti monster! Debug it in meaningful parts right after saving each section. This keeps the debug log manageable and helps you catch issues early.
  • Use the Flow Debugger Extensively: This built-in tool is fantastic! You can skip start conditions, run as a different user (great for checking permissions!), and inspect variable values at every step.
  • Look for Stop Signs: When debugging, if you see a stop sign, that means an error happened during that debug run. Also, make sure the path followed is highlighted all the way to the end for a successful execution.

  • Test Activated Flows in a Sandbox: Debugging is awesome, but the real test is when the Flow is activated and running in a sandbox environment. This simulates production better.
  • Understand Transaction Boundaries: Be aware that errors in one part of a screen Flow transaction might not roll back changes from a previous successful step unless you use a Roll Back Records element. This is especially important with screen Flows and data manipulation. Know that you may get a partial save and commit for collection operations, when using the fault path in a flow.
  • Reverting Versions: If an error started happening after a recent change, consider reverting to a previous working version. Sometimes, a Flow can even become corrupt and you might need to clone a working version or build a new one.
  • Scheduled Path Flow Testing: For these, debug each scheduled path separately. When initially testing, set the schedule to run one minute later for quick results. You can monitor pending actions in the Time-Based Workflow screen.

Apex Trigger Troubleshooting Tactics

Apex triggers require a slightly different approach:
  • Isolate the Trigger: If you have several triggers on the same object, try to figure out which one is causing the error.
  • Review Your Logic: Go through the code carefully, looking at conditions, loops, and DML operations to pinpoint the source of the error.
  • Consider a Trigger Handler Framework: If you have many triggers on an object, using a framework can help manage and orchestrate them, making isolation, testing and debugging easier.

Tips for Both Flows and Apex: The Universal Rules

These gems apply whether you’re building with clicks or code:
  • Master the Order of Execution: Salesforce has specific steps it follows when a record is saved. Understanding how Flows, Apex, Workflow Rules, and Process Builders interact is crucial. Knowing the order helps you find conflicts.
  • Respect Governor Limits: Salesforce sets limits on things like how many SOQL queries or DML operations you can do in a transaction. Going over these limits causes errors! A common mistake is doing operations inside loops. Flows and Apex even have some separate limits (e.g. scheduled jobs).

  • Simplify or Isolate Complex Automation: If your automation is huge and complicated, try breaking it down or isolating the specific part where you think the error is happening.
  • Check Permissions and Access: Does the user running the Flow or trigger have the right permissions for the objects and fields involved? Test running Flows as different users to check this.
  • Look at Related Automation: Sometimes, an error in your Flow or trigger is actually caused by a validation rule or another piece of automation running on the same object. Deactivate or examine related automation to see if they’re the culprits. Using Custom Metadata Type switches can help with temporarily disabling automation for testing (see Using Custom Metadata Types in Flows Without Get).
  • Search Online! If you get a weird error message, chances are someone else has seen it before! Search Salesforce forums, Stack Exchange, and other communities. Leverage AI LLM models.
  • Ask for Help: Don’t bash your head against the wall alone! Collaborate with other admins or developers. Sometimes a fresh pair of eyes is all you need. Join the Flownatic Slack Workspace.
If you experience frequent issues, consider setting up a logger like Nebula logger (Jonathan Gillespie – jongpie on GitHub). Troubleshooting might seem a bit daunting at first, but with these strategies, you’ll be zapping those errors like a pro! Just remember to be Sherlock Holmes, look for the little signs, and enjoy the process! Download my slideset from MidAtlantic Dreamin here. Happy Debugging! Explore related content: How to Set Up Automated Email Alerts in Salesforce Flow 15 Effective Salesforce Flow Debug Strategies Is Your Salesforce Flow Too Big?

#Apex #ApexTrigger #Debug #MidAtlanticDreamin #Salesforce #SalesforceAdmins #SalesforceDevelopers #SalesforceTutorials

Error Busters Guide to Solving Flow and Apex Trigger Errors in Salesforce blog image. A man is looking at his computer with a magnifying glass, and he is wearing detective clothes.User Trace Debug LogPaused and Failed Flow Interviews Screen
N-gated Hacker Newsngate
2025-05-07

🎩 "Behold the revelation: can actually errors! 🕵️‍♂️ Who knew?! Apparently, the entire was just waiting for this genius to grace their screens. 🤡"
qodo.ai/blog/java-unit-testing

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst