is there a fix so that cmd+. on mac open a debugger when we get a loop?

John M McIntosh johnmci at smalltalkconsulting.com
Sun Feb 13 20:17:24 UTC 2005


Is 12672 the process number for the squeak you are running?


On Feb 13, 2005, at 12:04 PM, stéphane ducasse wrote:

> John
>
> I got
>
> gdb /Volumes/OSX/Applications/Squeak\ 3.8.6Beta5\  
> copy.app/Contents/MacOS/Squeak\ VM\ Opt 12672
>
> dyld: /usr/libexec/gdb/gdb-powerpc-apple-macos10 can't open library:  
> /System/Library/PrivateFrameworks/bfd.framework/Versions/A/bfd  (No  
> such file or directory, errno = 2)
> Trace/BPT trap
>
>> At the command prompt issue
>> break checkForInterrupts
>> then
>> c
>> to continue
>> which should start Squeak running again and give you
>> Continuing.
>> [Switching to process 12672 thread 0x593b]
>>
>> Breakpoint 1, 0x000c383c in checkForInterrupts ()
>> then at the comand prompt issue
>>  call (int) printAllStacks()
>>
>> and then look at your console.log either via the console application  
>> found in Applications/Utilities or in
>> /Library/Logs/Console/userid/console.log
>>
>> You should find stack traces of all running processes (one hopes).
>> You can then say
>> quit
>> at the command prompt to detach and let the squeak process continue  
>> running.
>>
>>
>> Technically checkForInterrupts() routine should be called with a 3 or  
>> 4 ms window. If not when
>> you first start gdb you can invoke the call (int) printAllStacks()
>>
>> On Feb 13, 2005, at 11:06 AM, stéphane ducasse wrote:
>>
>>> Thanks
>>>
>>> is it in 3.8 gamma 6548?
>>> I guess so. This means that it does not solve my problem :(
>>>
>>> Stef
>>>
>>> On 13 févr. 05, at 17:17, David T. Lewis wrote:
>>>
>>>> 6293LowSpaceWatcherFix-dtl
>>>
>>>
>> --
>> ====================================================================== 
>> =====
>> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
>> Corporate Smalltalk Consulting Ltd.   
>> http://www.smalltalkconsulting.com
>> ====================================================================== 
>> =====
>>
>>
>>
>
>
>
--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===




More information about the Squeak-dev mailing list