set-script-source-stack-padding-expected.txt 276 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Change return string constant at breakpoint
Set breakpoint inside f() and call function..
Paused at:
(function f() {
   #return 'Cat';
})

Change Cat to Capybara..
Paused at:
(function f() {
   #return 'Capybara';
})

Resume and check return value..
SlimFunction() = Capybara