Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Tracing method calls

Hi,

Rather than getting every detail about variables' values et cetera, I would
like to use the debugger to show the chain of methods I call, for example
(Java syntax), "main" calls "run" which calls "process_char" repeatedly then
calls "clean_up" then returns to "main." I am looking at someone else's
large program and having trouble following it. Is there a way to do this?

THanks,

Jamie


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 280
Default Tracing method calls

You can view the call stack (View menu, Ctrl+L, or icon on Debug toolbar)
but there is no other trace functionality built into the IDE, even in Visual
Studio. I have been known to write print statements (Debug.Print "...") into
complicated code I needed to trace or to track events whose order I wasn't
sure about. It is not too awfully difficult to write code that will insert
code (e.g., print statements) into every procedure throughout a project.

--
Bob Kilmer

"Jamie Martin" wrote in message
...
Hi,

Rather than getting every detail about variables' values et cetera, I

would
like to use the debugger to show the chain of methods I call, for example
(Java syntax), "main" calls "run" which calls "process_char" repeatedly

then
calls "clean_up" then returns to "main." I am looking at someone else's
large program and having trouble following it. Is there a way to do this?

THanks,

Jamie




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracing Dependents dhstein Excel Discussion (Misc queries) 2 April 8th 09 08:36 AM
Please post this thread a correct full method, method about Nast Runsome New Users to Excel 8 February 25th 08 03:29 PM
Please post this thread a complete correct method, method about te Nast Runsome New Users to Excel 0 February 23rd 08 09:42 PM
Tracing precedents johnston Excel Worksheet Functions 0 May 18th 07 12:21 PM
Tracing into a Function Adrian McCray Excel Programming 1 July 9th 03 03:06 PM


All times are GMT +1. The time now is 06:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"