but when i want to debug renderer process, use --renderer-startup-dialog flag, and attached the renderer process id in the lldb, then chromium crashed, here is the out put :
wy@yuwangs-mbp-2 chromium % src/out/Default/Chromium.app/Contents/MacOS/Chromium --renderer-startup-dialog --renderer-process-limit=1
[21432:775:1205/162642.250869:INFO:content_main_runner_impl.cc(1006)] Chrome is running in full browser mode.
[21432:775:1205/162643.962869:WARNING:account_consistency_mode_manager.cc(63)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[21469:775:1205/162648.497530:WARNING:vt_video_decode_accelerator_mac.cc(267)] VTDecompressionSessionCreate(): Error Domain=NSOSStatusErrorDomain Code=-12906 "(null)" (-12906)
[21478:775:1205/162650.584462:ERROR:content_switches_internal.cc(112)] Renderer (21478) paused waiting for debugger to attach. Send SIGUSR1 to unpause.
[21432:775:1205/162809.772377:FATAL:scoped_observation.h(69)] Check failed: source_ != nullptr (0x0 vs. nullptr)
0 libbase.dylib 0x000000010c0db1cf base::debug::CollectStackTrace(void**, unsigned long) + 31
1 libbase.dylib 0x000000010bdea718 base::debug::StackTrace::StackTrace(unsigned long) + 72
2 libbase.dylib 0x000000010bdea79d base::debug::StackTrace::StackTrace(unsigned long) + 29
3 libbase.dylib 0x000000010bdea775 base::debug::StackTrace::StackTrace() + 37
4 libbase.dylib 0x000000010be3fad3 logging::LogMessage::~LogMessage() + 179
5 libbase.dylib 0x000000010be40a35 logging::LogMessage::~LogMessage() + 21
6 libbase.dylib 0x000000010be40a59 logging::LogMessage::~LogMessage() + 25
7 libbase.dylib 0x000000010bda800b logging::CheckError::~CheckError() + 43
8 libbase.dylib 0x000000010bda7ac5 logging::CheckError::~CheckError() + 21
9 libchrome_dll.dylib 0x000000011e3e1763 base::ScopedObservation<content::RenderProcessHost, content::RenderProcessHostObserver, &(content::RenderProcessHost::AddObserver(content::RenderProcessHostObserver*)), &(content::RenderProcessHost::RemoveObserver(content::RenderProcessHostObserver*))>::RemoveObservation() + 147
10 libchrome_dll.dylib 0x000000011eeb167d HungPagesTableModel::Reset() + 29
11 libchrome_dll.dylib 0x000000011eeb3978 HungRendererDialogView::CloseDialogWithNoAction() + 40
12 libchrome_dll.dylib 0x000000011eeb392a HungRendererDialogView::EndForWebContents(content::WebContents*, content::RenderWidgetHost*) + 218
13 libchrome_dll.dylib 0x000000011eeb2465 HungRendererDialogView::Hide(content::WebContents*, content::RenderWidgetHost*) + 69
14 libchrome_dll.dylib 0x000000011f06a031 TabDialogsViews::HideHungRendererDialog(content::RenderWidgetHost*) + 33
15 libchrome_dll.dylib 0x000000011e78ff4a Browser::RendererResponsive(content::WebContents*, content::RenderWidgetHost*) + 42
16 libcontent.dylib 0x000000014ee51139 content::WebContentsImpl::RendererResponsive(content::RenderWidgetHostImpl*) + 329
17 libcontent.dylib 0x000000014e8a2488 content::RenderWidgetHostImpl::RendererIsResponsive() + 72
18 libcontent.dylib 0x000000014e89ee49 content::RenderWidgetHostImpl::StopInputEventAckTimeout() + 41
19 libcontent.dylib 0x000000014e89eb12 content::RenderWidgetHostImpl::WasHidden() + 322
20 libcontent.dylib 0x000000014f026ab4 content::RenderWidgetHostViewMac::WasOccluded() + 68
21 libcontent.dylib 0x000000014ee0ce2c content::WebContentsImpl::UpdateVisibilityAndNotifyPageAndView(content::Visibility) + 924
22 libcontent.dylib 0x000000014ee5afd8 content::WebContentsImpl::UpdateWebContentsVisibility(content::Visibility) + 456
23 libcontent.dylib 0x000000014f052e77 content::WebContentsViewMac::OnWindowVisibilityChanged(remote_cocoa::mojom::Visibility) + 183
24 libcontent.dylib 0x000000014f27fd1d -[WebContentsViewCocoa updateWebContentsVisibility] + 237
25 libcontent.dylib 0x000000014f280415 -[WebContentsViewCocoa windowChangedOcclusionState:] + 37
26 CoreFoundation 0x00007fff20412fdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
27 CoreFoundation 0x00007fff204ae89b ___CFXRegistrationPost_block_invoke + 49
28 CoreFoundation 0x00007fff204ae80f _CFXRegistrationPost + 454
29 CoreFoundation 0x00007fff203e3bce _CFXNotificationPost + 723
30 Foundation 0x00007fff2114fabe -[NSNotificationCenter postNotificationName:object:userInfo:] + 59
31 AppKit 0x00007fff234e9ed6 _withUncaughtExceptionHandler + 9
32 AppKit 0x00007fff22eaf60f _windowBecameOccluded + 77
33 SkyLight 0x00007fff24b9a685 (anonymous namespace)::notify_datagram_handler(unsigned int, CGSDatagramType, void*, unsigned long, void*) + 1071
34 SkyLight 0x00007fff24e3639c CGSDatagramReadStream::dispatchMainQueueDatagrams() + 202
35 SkyLight 0x00007fff24e362c3 ___ZN21CGSDatagramReadStream15mainQueueWakeupEv_block_invoke + 18
36 libdispatch.dylib 0x00007fff201795dd _dispatch_call_block_and_release + 12
37 libdispatch.dylib 0x00007fff2017a7c7 _dispatch_client_callout + 8
38 libdispatch.dylib 0x00007fff20186b86 _dispatch_main_queue_callback_4CF + 940
39 CoreFoundation 0x00007fff2045a960 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
40 CoreFoundation 0x00007fff2041c842 __CFRunLoopRun + 2731
41 CoreFoundation 0x00007fff2041b6be CFRunLoopRunSpecific + 563
42 HIToolbox 0x00007fff28687fd0 RunCurrentEventLoopInMode + 292
43 HIToolbox 0x00007fff28687dcc ReceiveNextEventCommon + 709
44 HIToolbox 0x00007fff28687aef _BlockUntilNextEventMatchingListInModeWithFilter + 64
45 AppKit 0x00007fff22c34f85 _DPSNextEvent + 883
46 AppKit 0x00007fff22c3374b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
47 libchrome_dll.dylib 0x000000011b0f9e1b __71-[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke + 91
48 libbase.dylib 0x000000010c110ca2 base::mac::CallWithEHFrame(void () block_pointer) + 10
49 libchrome_dll.dylib 0x000000011b0f9cd8 -[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 312
50 AppKit 0x00007fff22c25bda -[NSApplication run] + 586
51 libbase.dylib 0x000000010c12fdcf base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 255
52 libbase.dylib 0x000000010c12d717 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 167
53 libbase.dylib 0x000000010c003964 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) + 580
54 libbase.dylib 0x000000010bf2cf16 base::RunLoop::Run() + 678
55 libchrome_dll.dylib 0x000000011a2f855c ChromeBrowserMainParts::MainMessageLoopRun(int*) + 236
56 libcontent.dylib 0x000000014d8024f0 content::BrowserMainLoop::RunMainMessageLoopParts() + 80
57 libcontent.dylib 0x000000014d810bfd content::BrowserMainRunnerImpl::Run() + 253
58 libcontent.dylib 0x000000014d7fc9a3 content::BrowserMain(content::MainFunctionParams const&) + 211
59 libcontent.dylib 0x000000015001a65f content::RunBrowserProcessMain(content::MainFunctionParams const&, content::ContentMainDelegate*) + 127
60 libcontent.dylib 0x000000015001bf3f content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 1647
61 libcontent.dylib 0x000000015001b7fa content::ContentMainRunnerImpl::Run(bool) + 618
62 libcontent.dylib 0x00000001500174ee content::RunContentProcess(content::ContentMainParams const&, content::ContentMainRunner*) + 974
63 libcontent.dylib 0x00000001500181ab content::ContentMain(content::ContentMainParams const&) + 75
64 libchrome_dll.dylib 0x0000000116d74421 ChromeMain + 369
65 Chromium 0x00000001089671c7 main + 567
66 libdyld.dylib 0x00007fff20340631 start + 1
67 ??? 0x0000000000000003 0x0 + 3
zsh: trace trap src/out/Default/Chromium.app/Contents/MacOS/Chromium --renderer-startup-dialog