Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I get info about SUB inside SUB?
#3
If you can't figure out debug 

DIM Shared Debug as Long
DIM Shared SubName$ 
in all your subs set that name SubName$ = ... in  Sub (and maybe set to "main" or "" when exit sub?)

have a clause If Debug Then Print "Sub is ";SubName$

When Debug is set to -1 then it prints
If turn off, ie Debug = 0
then that clutter is removed.

Notice you can also comment out 'If Debug Then Print "Sub is ";SubName$
to pin down just the subs you are interested in.

Or Instead of print, try out MessageBox so dont mess up screen. Caveat - this does not work well in a fast loop!
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
RE: Can I get info about SUB inside SUB? - by bplus - 05-08-2023, 05:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  More info about Random Access files PhilOfPerth 28 962 02-25-2026, 01:50 PM
Last Post: ahenry3068
  Exiting sub while inside a loop PhilOfPerth 5 525 12-05-2025, 09:40 AM
Last Post: PhilOfPerth
  Making the content list of files inside a Zip ? euklides 13 2,406 02-08-2024, 03:52 PM
Last Post: euklides
  0.71 Info on compilation error krovit 7 1,761 06-11-2022, 04:28 PM
Last Post: DSMan195276

Forum Jump:


Users browsing this thread: 1 Guest(s)