This was hitting:
Assertion failed: (_messageQueue), function -[ProtocolClient sendCommandWithFormat:handler:], file /Users/rsesek/Projects/MacGDBp/Source/ProtocolClient.m, line 85.
MacGDBp CHANGE LOG
================================================================================
+2.0.2
+#####################
+- Fix: Crash when selecting stack frames after disconnecting.
+
2.0.1
#####################
- Change: Draw the source view gutter in a way that is dark-mode compatible.
- (void)loadStackFrame:(StackFrame*)frame {
if (frame.loaded)
return;
+ if (!self.model.connected)
+ return;
// Get the source code of the file. Escape % in URL chars.
if ([frame.filename length]) {
NSLog(@"INVALID SELECTION");
StackFrame* frame = [selection objectAtIndex:0];
- if (!frame.loaded) {
+ if (!frame.loaded && self.model.connected) {
[_connection loadStackFrame:frame];
return;
}