When in break mode, selecting the Call Stack button in the Debug toolbox displays the Call Stack window. The call stack window displays the subs/functions called in sequence to get to the current line of code.
![Call Stack Call Stack](https://envisioncad.com/wp-content/uploads/2013/11/CallStack1.png)
The current function is displayed at the top of the listing.
![Call Stack Call Stack](https://envisioncad.com/wp-content/uploads/2013/11/CallStack2.png)
This is very useful in determining how your macro got the current line of code.
Last Month’s Tips:
MicroStation: Mouse InRoads: RWK File AutoCAD Civil 3D: VBA: Variable Declaration Mechanics Mask or Boundary? Wha…Don’t want to miss out on other great information? Subscribe to this blog or our monthly eNewsletter now! Learn More ◊ Contact us today ◊ Newsletter ◊
![EnvisionCADs Linkedin Group EnvisionCAD Group](https://envisioncad.com/wp-content/uploads/2012/02/LinkedinLogo.png)
![EnvisionCADs YouTube Channel EnvisionCAD YouTube Channel](https://envisioncad.com/wp-content/uploads/2012/02/YouTubeLogo.png)
![EnvisionCADs Facebook Page](https://envisioncad.com/wp-content/uploads/2012/02/FaceBookLogo1.png)
![EnvisionCAD Twitter](https://envisioncad.com/wp-content/uploads/2012/02/TwitterLogo.png)
![Newsletter Archive](https://envisioncad.com/wp-content/uploads/2012/02/NewsletterGraphic.png)