Re: __FUNCTION__ in a Watch Window?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Jos Groot Lipman" <dontspam@xxxxxxx> wrote in message
news:MPG.1e3194c4e279b165989686@xxxxxxxxxxxxxxxxxxxxx

>> But is there a convenient way of gettiung the function name in the watch
>> window *wiithout* adding unsightly debugging code to the function itself?
>
> You might add the 'Call stack' window to the IDE. This will always show
> the current function
> at the top.

Hmmmm! Thanks. This will do nicely. I use it all the time - asking
this question must be due to the spots I'm getting before the eyes at the
moment debugging a particularly unpleasant problem :-(

Still it *would* be nice to be able to get the info in a watch window too.

Dave

--
David Webber
Author MOZART the music processor for Windows -
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mzusers/mailinglist.htm


.



Relevant Pages

  • Re: Application.screenupdating always True?
    ... Application.Screenupdating can have no effect while single stepping - each step releases control to the OS, which will refresh every application window - and it is, in effect, True at every breakpoint. ... It seems possible that the Watch Window might be reflecting this - if you set a break on change it does break, and then breaks again after the next statement so it seems as though it might be getting a little confused. ... I wrote a test routine that set Screenupdating to false and then retested it then back to true 100 times - no break occurred; the question is essentially: if someone else has code that sets screenupdating to false and looks at the value in the watch pane while single stepping, do they see the value become false? ... Instead I try to use the Range object ...
    (microsoft.public.word.vba.general)
  • RE: debugger IDE hangs when stepping with properties in watch wind
    ... Thanks - but as I'm typically changing context with each step (from one ... adding and then removing items from the watch ... window before each step isn't really very helpful - basically, ... > watch window, it will cost debugger much time to resolve these variables, ...
    (microsoft.public.vsnet.debugging)
  • Re: Float a window over sheet
    ... If you're using Excel 2002, or later version, you can use the Watch ... Choose Tools>Formula Auditing>Show Watch Window ... To go to a watched cell, double-click its name in the watch list. ...
    (microsoft.public.excel.programming)
  • Re: Problem with debug watch with "empty" web project in solution
    ... When VS pauses at the break point click on the first line of the Watch ... If the watch window is not displayed, ... In the first cell of the Watch 1 window enter "Request". ... be able to drill down on the Request object. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Problem with debug watch with "empty" web project in solution
    ... When VS pauses at the break point click on the first line of the Watch ... If the watch window is not displayed, ... In the first cell of the Watch 1 window enter "Request". ... be able to drill down on the Request object. ...
    (microsoft.public.dotnet.framework.aspnet)