Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 VS Step Filter / Step Into Outermost Call
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Marc Kamradt
Junior Member

10 Posts

Posted - Jul 15 2014 :  07:09:09 AM  Show Profile  Reply with Quote
The VS Step Filter is a really cool new feature. There is one very common use case for me, however, that could be handled even more elegant: Stepping into the outermost call with a single key combination, e.g. Alt+Shift+F11.

Consider a piece of code like this:


UFatBullBlueprintLibrary::ApplyFatBullDamage( hitResult.Actor.Get(),
					hitResult.Component.Get(),
					CollisionDamageToOther.StandardDamage,
					CollisionDamageToOther.StandardDamageEffectivenessOnShield,
					CollisionDamageToOther.StandardDamageEffectivenessOnHealth,
					CollisionDamageToOther.DirectShieldDamage,
					CollisionDamageToOther.DirectHealthDamage,
					GetOwner()->GetInstigatorController(),
					GetOwner() );


99% of the time I want to debug the outermost call. I could go ahead and add all those Getters to the Step Filter but that would probably even take longer than those annoying F11 / Shift-F11 combinations.

Also, I may want to debug one of those Getters the next time I get here or encounter it somewhere else.

Thus a new key combination such as Alt+Shift+F11 could simply step into the outermost call and skip all other calls.

A feature like this would really make debugging a lot more comfortable for me.

Marc

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jul 15 2014 :  4:47:34 PM  Show Profile  Reply with Quote
I see the appeal of this idea, I am just wondering if this is the best solution here. Have you considered Alt-G on the function you want to debug, and the pressing Shift-F10, which is the IDE command for "Run To Cursor"?

This is two key presses, which is about as fast as a VA command is likely to get.

Does this sound like it will work?

zen is the art of being at one with the two'ness
Go to Top of Page

Marc Kamradt
Junior Member

10 Posts

Posted - Jul 16 2014 :  03:17:50 AM  Show Profile  Reply with Quote
Unfortunately not since assuming I got to that piece of code by stepping with F10 / F11 the cursor is not placed at �ApplyFatBullDamage� but at the beginning of the line, so Alt+G won�t do anything.

Even if the cursor where at the right position, Alt+G would open up a menu to select the header or the implementation. Things get worse for overloaded methods or templates.

Marc
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jul 16 2014 :  3:24:53 PM  Show Profile  Reply with Quote
These are good points, I have put in a feature request to see what our developers make of this idea. I am not sure how doable this would be with the step filter, but I do see the logic and the appeal of this:

case=83778

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000