3 ms·
Without nonblocking mode in py-spy (which is amazing, by the way!), I had a case where some compiled code froze until I manually sent a SIGCONT.
by cozzyd 5y ago
Without nonblocking mode in py-spy (which is amazing, by the way!), I had a case where some compiled code froze until I manually sent a SIGCONT.
- benfrederickson 5y agoSorry about leaving your program suspended - I believe that was because of a bug that should be fixed now https://github.com/benfred/py-spy/issues/390 https://github.com/benfred/py-spy/issues/390 =(
- cozzyd 5y agoWell look at that! I guess I'll try it again with a newer version when I get a chance, thanks!
- baq 5y agothank you so much! it wasn't a big deal (if you remembered to check after using py-spy, granted). i'd take py-spy with this bug vs not having py-spy at all any day :)
- lathiat 5y agoInteresting I’ve had this happen with strace and/or gdb before when hitting control-c a few times.
- no_time 5y agoSlight tagent but do you and many others here appear mere hours after their project is mentioned? Pure luck or a large percentage of HN users are querying the api to see who mentions their projects?
- baq 5y agoi've seen this multiple times, happens especially when detaching py-spy. have to be very careful to check if the process isn't stopped when debugging in prod ^_^