ctietze, to random
@ctietze@mastodon.social avatar

What!

The!

Weren't we all complaining that the #Xcode console would be nicer if it detached for #debugging?

What about using Terminal?

I did not notice this setting, ever!

image/png

I'm looking for a debugger for Windows after the Visual Studio one no longer works for me

After a software update, VS2022 stopped working correctly. When I hit a break point, I don't get any local variables and their values, instead I get a "wait..." label that looks like a button, and also VS is growing in memory size until it crashes my Windows, or I either stop the debugging or VS itself....

amadeus, (edited ) to Blog
@amadeus@mstdn.social avatar
fell, to gamedev
@fell@ma.fellr.net avatar

Oh man, let me tell you a #GameDev story...

Last night, I received a task to investigate a massive #performance regression in certain parts of the game.

So today I began investigating and ran the latest build on my 4 testing machines. And indeed, the machines that had an #Intel #GPU only achieved ~10% of the FPS they usually had. "Oh no!" I thought, and spent all day profiling and disabling various engine features, but no matter what I did, the performance didn't improve much.

And then I found it. Those Intel machines still had #Mesa DLLs in their build directories from the last time I was investigating a graphics driver issue. Which means they have been using a #software implementation of #OpenGL all this time! :drgn_stare:

I removed the DLLs and the performance returned to normal.

And now I'm back to square one, unable to reproduce the performance issue. :drgn_weary_sob:

#GameDevelopment #GameProgranming #programming #debugging #gaming

wrstscrnnm6, to programming
@wrstscrnnm6@mastodon.social avatar

I was getting an error "failed to allocate XXXXXX b"

I copy the number into wolfram alpha to see how much data that really is.

5.3 Zettabytes.

How the hell is this program trying to allocate the equivalent of ... all of the data sent over the internet in a year, five times over?

Somewhere between my terminal and the browser the string of numbers got doubled.

Never have I been so relieved to find out my program was only trying to allocate 53Gb of ram.

derickr, to php
@derickr@phpc.social avatar

This week has been a "find one bug, fix one bug, find another bug" kinda week in @Xdebug land. I'm now on the 5th one, I think.

#php #debugging #xdebug

happyborg, to rust
@happyborg@fosstodon.org avatar

My first attempt to find memory leaks in #rustlang and I'm using #Valgrind for the first time.

Sensible?
#Rust #debugging

aral, to SmallWeb
@aral@mastodon.ar.al avatar
amadeus, to bitwig
@amadeus@mstdn.social avatar

I wonder what #ardour is doing different to #bitwig in terms of their #flatpak builds. I noticed that some #plugins run just fine in Ardour while Bitwig Studio reports problems with reading metadata or glibc version conflicts. 🙄️ #sandboxing #debugging #daw #linuxdaw

PickyBurrito49, to godot

The best advice @Cyzaine ever game me was to put print statements everywhere. Some times I get lucky and the 1st one shows me the issue. Today it was 3rd times the charm!

Xdebug, to php

🎉 Xdebug 3.3.0alpha3 Released!

🔥 This alpha release introduces flamegraphs and the step debugger optimisations that @derickr wrote about.

🔗 https://xdebug.org/announcements/2023-10-19

🐘 @Xdebug

barubary, to haskell

Today I spent a few hours trying to track down a problem deep in a helper module of a complex production application written in . Among other things, it involves threads, a monad transformer stack (3 or 4 levels deep, I think?), an SQL database, and HTTP calls to an external service.

In the end, I managed to boil one issue in the code down to the following crucial lines:

forever_mpl :: Monad m => m a -> m b<br></br>forever_mpl m = fix (m >>)<br></br><br></br>forever_mpf :: Monad m => m a -> m b<br></br>forever_mpf m = fix (self -> m >> self)<br></br>

In theory, both of these should be equivalent to forever from the base library. However ...

In one place in the code, using forever_mpl (the first definition) works correctly: It repeats an action forever. But switching to forever_mpf (the second definition) makes the code hang instead (at 0% CPU). Why?!

I know the answer now, so here's a challenge: Can you think of a reason why these two definitions should behave differently? Can you implement a Monad instance with a >> that distinguishes between them somehow?

amadeus, (edited ) to linux
@amadeus@mstdn.social avatar

Are some of you users, like me, taking the rocky road, using your via to strengthen this novel with sometimes elaborate for vendors to help package their (s) so they work in a flatpak DAW?

poppastring, (edited ) to random
@poppastring@dotnet.social avatar

A post from the archive 📫:

Debug & Analyze Dump Files in Visual Studio
https://www.poppastring.com/blog/debug-analyze-dump-files-in-visual-studio

#debugging #diagnostics #visualstudio

harris, to 3DPrinting

Attempting to calibrate my printer using SuperSlicer’s calibration models and the retraction calibration tower is just stringy all the way up. Is there some other factor I should be playing with here? (Each step is +.5 retraction length. At the top it’s 7!)

Prusa Mini+ with Hatchbox PLA

djpeacher, (edited ) to random
@djpeacher@fosstodon.org avatar

Nice, spent the last two hours #debugging an upstream #dependency issue, only for the issue to be “yanked” upstream. Thankful, but dang does my head hurt!

rfnix, to linux

I initially wanted to work on some photos this afternoon, but I instead spent some time #debugging a bug that appeared in #darktable 4.4.1.

By the way overlay filesystems are a nice way to test a dev version on #linux without accidentally messing things up or having to manually copy tons of data!

orhun, to rust
@orhun@fosstodon.org avatar

WE NEED THIS SWAG!

🦀 Perfect for Rust developers
🌱 Eco-friendly crochet Ferris
🦆 Alternative to rubber-duck debugging
🧶 Handcrafted from 100% crochet materials

🚀 Kickstarter: https://www.kickstarter.com/projects/ferris-rust/ferris-rust-debugging-tool

fell, to programming
@fell@ma.fellr.net avatar

Sometimes I wish I could put a "Bellpoint" in the code that just makes a little bell sound when it's executed.

#programming #debugging #gamedev #debugger #debug

derickr, to php
@derickr@phpc.social avatar

:xdebug: I've spent more time optimising Xdebug's debugger. This time I focussed on breakpoints.

🚫 Before these changes, Xdebug would check after every statement for line breakpoints.

✔️ Now, it only checks for them, if we already have concluded that the function contains any breakpoint.

🎈 This means that setting a breakpoint incurs a small performance impact, while almost no impact exists while running your PHP code.

🆕 To sponsor my work: https://xdebug.org/support

debugagent, to Java
noneuclideandreamer, to genart German
@noneuclideandreamer@mathstodon.xyz avatar

Alright! I think the code is almost ready to do something like protein folding... I may still need a repelling force for overlapping particles...

Dots gradually appearing from left to right, most white, som red and blue in between. They start vibrating&shifting, the red attract each other, the blue repell each other.

amoroso, to Lisp
@amoroso@fosstodon.org avatar

Dynamic and interactive programming environments like those of Lisp and Smalltalk make it easy to fix programs while they're running. How cool is that?

To demosntrate fixing a bug in an executing Lisp function from the debugger of Medley Interlisp, I recorded this screencast:

https://spectra.video/w/r69m8gnTU24BbDtPeVjpfm

and posted some accompanying notes:

https://journal.paoloamoroso.com/a-demostration-of-fixing-a-bug-from-medleys-debugger

#interlisp #lisp #debugging

nekohayo, to GNOME
@nekohayo@mastodon.social avatar

I don't know if anyone actually does testing with (Epiphany) on , but if you've found the web inspector to be infuriatingly clunky everytime you open it, these fresh tickets are for you:

poppastring, to random
@poppastring@dotnet.social avatar

A post from the archive 📫:
Collecting dumps anywhere with dotnet-monitor

https://www.poppastring.com/blog/collecting-dumps-anywhere-with-dotnetmonitor

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • khanakhh
  • mdbf
  • magazineikmin
  • modclub
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • Durango
  • tacticalgear
  • megavids
  • ngwrru68w68
  • everett
  • tester
  • cubers
  • normalnudes
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • lostlight
  • All magazines