English 中文(简体)
分散多管齐下的应用
原标题:Debugging a multi-threaded application

我继承了一开始扔下100条read子的申请。 这使我的生活变得极为trick。 是否有办法让视觉演播室接下一线镜子?

最佳回答

您是否在视力演播室(Debug/Windows menu)使用Threads窗?

你们可以冻结read子,相互交换

问题回答

如果可能的话,我建议,在“ De”模式中,你将创造的read数目限制在可管理得多的床位上,例如,3. 由于read之间的相互作用,你仍然能够诊断出泡沫,但你并不完全知情。

该建议还载于here。 我的问题刚刚得到解决。

if you hit a breakpoint, disable it, and then begin stepping you should not stop on a different thread




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签