English 中文(简体)
C# Exbugging - How to go re andrecovery special line
原标题:C# Exception Debugging - How to go back and resume exception line

在整整整整整整整整整整整整整整整整整整整整整整整整整天,我会暂时在错误的手里恢复我,把我带回造成错误的线。

是否有办法在C#中做同样的事? 我并不是说是永久的回路,这正好是你正在bu忙的时候。 你们想知道,哪一条线造成你目前在渔获量说明中的例外。

因此,这只是显而易见的。

  1. I know something is causing an exception so I put a break point on the catch statement
  2. The debugger hits the break point in the catch, I want to know which line caused it and take the debugger back to it.

我可以不使用“灯塔”; 选择——放弃所有例外,因为无声发生时有其他例外(我没有书写)。

成就

最佳回答

例外中的ack痕将告诉你它所发生的一切。 然后,你可以把黄色的箭 back拖到这条线上,然后从那里恢复脱硫。

问题回答

你们需要继续取消渔获量表,然后,你可以“下限声明”或将黄arrow拖到审判前。

最好的想法可能是在试场开始时打断点,如果你随后走到这块路障上,就会在错误发生的地方显示你。

或者,排除审判和捕获临时和视觉演播室,将停止执行,因为这一例外胜诉。





相关问题
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. ...

热门标签