F
F
Frodo2012-11-29 22:35:44
.NET
Frodo, 2012-11-29 22:35:44

Dynamic breakpoints?

It may be a rather strange question, but I think I'm not the first who thought about it.
Imagine a situation - there is a project running in debug, there is a form in it, a button on the form, what will happen when I click on it - I have no idea. That is, I suspect that somewhere in the code there is a handler, but where exactly is unknown. Or not a button, but some other control. It doesn't matter.
My question is the following: is it possible to somehow determine which part of the code will be executed when I perform any actions on the form.
Such a dynamic breakpoint or something. Ideally, I see it like this - I do something on the form, the program execution immediately stops and the studio shows me a line of code, as if there is a breakpoint on it.

Is it real or just my dreams?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Domansky, 2012-11-29
@Doman

Here is a similar question: stackoverflow . You will see what is happening, but without stopping. Fortunately, finding the right place and manually putting a break there is not difficult.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question