Can I step into custom tags?
You can step into custom tags, functions and also CFCs. Here is a simple example. I have the following code (which has a breakpoint set and which I have run).
The page is very simple. I call a tag which returns me an employee component. I then call a method on that component. When the break point first fires, the stack trace looks like this:
Now, I "Step Over" the code until I get to the cf_getEmployee tag. Once that tag is highlighted I then "Step Into" it. You will see the code for this new tag and the stack trace will look like this:
OK. Let's "Step Out" again and return to the first file. As well as being able to step into functions and CFCs, you can also look into them. If we have a look in the variables view and open up out emp component, you can see exactly what's inside:
Finally, we will step into the emp.promote() method and have another look at the stack trace.
As you can see here, to help you work out what is going on, as well as the file and line number, we also show you which function has been called.


