Home All Groups Group Topic Archive Search About

Is there some way to tell the debugger not to stop at WndProc?

Author
5 Dec 2006 3:36 PM
Franky
when I'm debugging (single stepping) I keep getting to WndProc which I do
not want to step through.



Is there some way to tell the debugger not to stop at WndProc?



Thanks

Author
5 Dec 2006 4:31 PM
Mudhead
Put this above the WndProc Function
<DebuggerStepThrough()> _


Show quoteHide quote
" Franky" <frankieNOSPAM@a-znet.com> wrote in message
news:uc7fwMIGHHA.1064@TK2MSFTNGP04.phx.gbl...
> when I'm debugging (single stepping) I keep getting to WndProc which I do
> not want to step through.
>
>
>
> Is there some way to tell the debugger not to stop at WndProc?
>
>
>
> Thanks
>
>
Author
5 Dec 2006 4:59 PM
Franky
Thanks just what I need

In the debugger I know about F5, F10 and F11

I've been looking in Help - I don't know where they are documented.

What I'm looking for is a F key that would move me through a routine once
I'm in it. Is there one?

Thanks again




Show quoteHide quote
"Mudhead" <noth***@yourhouse.com> wrote in message
news:OVuwTrIGHHA.3976@TK2MSFTNGP05.phx.gbl...
> Put this above the WndProc Function
> <DebuggerStepThrough()> _
>
>
> " Franky" <frankieNOSPAM@a-znet.com> wrote in message
> news:uc7fwMIGHHA.1064@TK2MSFTNGP04.phx.gbl...
>> when I'm debugging (single stepping) I keep getting to WndProc which I do
>> not want to step through.
>>
>>
>>
>> Is there some way to tell the debugger not to stop at WndProc?
>>
>>
>>
>> Thanks
>>
>>
>
>
Author
5 Dec 2006 5:37 PM
Robinson
Ctrl-Shift-F8 (Step out).


Show quoteHide quote
" Franky" <frankieNOSPAM@a-znet.com> wrote in message
news:OMGZD7IGHHA.4652@TK2MSFTNGP04.phx.gbl...
> Thanks just what I need
>
> In the debugger I know about F5, F10 and F11
>
> I've been looking in Help - I don't know where they are documented.
>
> What I'm looking for is a F key that would move me through a routine once
> I'm in it. Is there one?
>
> Thanks again
>
>
>
>
> "Mudhead" <noth***@yourhouse.com> wrote in message
> news:OVuwTrIGHHA.3976@TK2MSFTNGP05.phx.gbl...
>> Put this above the WndProc Function
>> <DebuggerStepThrough()> _
>>
>>
>> " Franky" <frankieNOSPAM@a-znet.com> wrote in message
>> news:uc7fwMIGHHA.1064@TK2MSFTNGP04.phx.gbl...
>>> when I'm debugging (single stepping) I keep getting to WndProc which I
>>> do not want to step through.
>>>
>>>
>>>
>>> Is there some way to tell the debugger not to stop at WndProc?
>>>
>>>
>>>
>>> Thanks
>>>
>>>
>>
>>
>
>
Author
5 Dec 2006 6:33 PM
Franky
After I posted that I keep looking and thought I found on the internet that
shift-F11 did that.
I'll now have to find out what is different about shift-F11 and
Ctrl-Shift-F8

Thanks


Show quoteHide quote
"Robinson" <robinsnewsgro***@hotmail.remove.this.co.uk> wrote in message
news:el4ap7$b64$1$8300dec7@news.demon.co.uk...
> Ctrl-Shift-F8 (Step out).
>
>
> " Franky" <frankieNOSPAM@a-znet.com> wrote in message
> news:OMGZD7IGHHA.4652@TK2MSFTNGP04.phx.gbl...
>> Thanks just what I need
>>
>> In the debugger I know about F5, F10 and F11
>>
>> I've been looking in Help - I don't know where they are documented.
>>
>> What I'm looking for is a F key that would move me through a routine once
>> I'm in it. Is there one?
>>
>> Thanks again
>>
>>
>>
>>
>> "Mudhead" <noth***@yourhouse.com> wrote in message
>> news:OVuwTrIGHHA.3976@TK2MSFTNGP05.phx.gbl...
>>> Put this above the WndProc Function
>>> <DebuggerStepThrough()> _
>>>
>>>
>>> " Franky" <frankieNOSPAM@a-znet.com> wrote in message
>>> news:uc7fwMIGHHA.1064@TK2MSFTNGP04.phx.gbl...
>>>> when I'm debugging (single stepping) I keep getting to WndProc which I
>>>> do not want to step through.
>>>>
>>>>
>>>>
>>>> Is there some way to tell the debugger not to stop at WndProc?
>>>>
>>>>
>>>>
>>>> Thanks
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Author
5 Dec 2006 7:12 PM
Franky
I found a site that listed keys for VS (including F11) and keys for VB
(including F8)




Show quoteHide quote
" Franky" <frankieNOSPAM@a-znet.com> wrote in message
news:uIWRovJGHHA.1248@TK2MSFTNGP03.phx.gbl...
> After I posted that I keep looking and thought I found on the internet
> that shift-F11 did that.
> I'll now have to find out what is different about shift-F11 and
> Ctrl-Shift-F8
>
> Thanks
>
>
> "Robinson" <robinsnewsgro***@hotmail.remove.this.co.uk> wrote in message
> news:el4ap7$b64$1$8300dec7@news.demon.co.uk...
>> Ctrl-Shift-F8 (Step out).
>>
>>
>> " Franky" <frankieNOSPAM@a-znet.com> wrote in message
>> news:OMGZD7IGHHA.4652@TK2MSFTNGP04.phx.gbl...
>>> Thanks just what I need
>>>
>>> In the debugger I know about F5, F10 and F11
>>>
>>> I've been looking in Help - I don't know where they are documented.
>>>
>>> What I'm looking for is a F key that would move me through a routine
>>> once I'm in it. Is there one?
>>>
>>> Thanks again
>>>
>>>
>>>
>>>
>>> "Mudhead" <noth***@yourhouse.com> wrote in message
>>> news:OVuwTrIGHHA.3976@TK2MSFTNGP05.phx.gbl...
>>>> Put this above the WndProc Function
>>>> <DebuggerStepThrough()> _
>>>>
>>>>
>>>> " Franky" <frankieNOSPAM@a-znet.com> wrote in message
>>>> news:uc7fwMIGHHA.1064@TK2MSFTNGP04.phx.gbl...
>>>>> when I'm debugging (single stepping) I keep getting to WndProc which I
>>>>> do not want to step through.
>>>>>
>>>>>
>>>>>
>>>>> Is there some way to tell the debugger not to stop at WndProc?
>>>>>
>>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Author
5 Dec 2006 8:18 PM
Chris Dunaway
Franky wrote:
> After I posted that I keep looking and thought I found on the internet that
> shift-F11 did that.
> I'll now have to find out what is different about shift-F11 and
> Ctrl-Shift-F8
>

I think the difference is how you have your editor set up.
Ctrl-Shift-F8 is the control scheme use by VB6 and carried over into
VB.Net.  Whereas the Shift-F11 is probably a carry over from Visual C.
In the settings you can set up your profile as a VB developer or C#
developer and that affects the default key mappings.  Of course, you
can change any command to any keystroke combo you want.

Chris
Author
5 Dec 2006 10:41 PM
Franky
That explains it. Some of the options are VB6, C#2005 and (Default)

I'm using (Default) and use F5, F10, F11 and now Shift-F11.

I don't remember what I used for VB6 but I do remember having to adapt after
moving to VS2003 so it was probably not F10 and F11.

Thanks

and thanks Robinson



Show quoteHide quote
"Chris Dunaway" <dunaw***@gmail.com> wrote in message
news:1165344360.098410.122200@80g2000cwy.googlegroups.com...
>
> Franky wrote:
>> After I posted that I keep looking and thought I found on the internet
>> that
>> shift-F11 did that.
>> I'll now have to find out what is different about shift-F11 and
>> Ctrl-Shift-F8
>>
>
> I think the difference is how you have your editor set up.
> Ctrl-Shift-F8 is the control scheme use by VB6 and carried over into
> VB.Net.  Whereas the Shift-F11 is probably a carry over from Visual C.
> In the settings you can set up your profile as a VB developer or C#
> developer and that affects the default key mappings.  Of course, you
> can change any command to any keystroke combo you want.
>
> Chris
>