[Scons-users] How to debug infinite loop?
Daan De Meyer
daan.j.demeyer at gmail.com
Fri Jan 24 03:27:13 EST 2020
I debugged the issue by using `pgrep -P <scons-pid>` to list the child
pid's of scons which gave me the pid of the process that was hanging. `ps
-aux | grep <child-pid>` then gave me the command line of the process that
was hanging. Of course this only works if a separate process is spawned for
the hanging command.
Regards,
Daan De Meyer
On Thu, 23 Jan 2020 at 17:49, Bill Deegan <bill at baddogconsulting.com> wrote:
> Sounds like one of your processes was hanging?
>
> On Thu, Jan 23, 2020 at 10:07 AM Mats Wichmann <mats at wichmann.us> wrote:
>
>> On 1/23/20 4:17 AM, Daan De Meyer wrote:
>> > I tried that but it doesn't tell me which tasks are still running when
>> > scons blocks. However, I managed to find the problematic commands by
>> > simply checking the child processes spawned by scons when it blocked.
>>
>> And were you able to resolve the issue?
>>
>> If so, a quick analysis might be something we should drop onto the wiki
>> for future generations....
>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200124/7f79a683/attachment.html>
More information about the Scons-users
mailing list