Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Feature Requests /
avatar image

Martin L suggested an idea · Jan 19, 2018 at 05:59 PM · CloudScript

CloudScript debugger

I have been using CloudScript for almost 2 years now. I developed a way to unit test my code using Node.js as a proxy for the server and I can debug that with Iron Node, which has saved a lot of time. But bugs still slip through and I have to go back to old school trial and error logging, which is laborious. I would like to be able to debug my CloudScript in place on the server.

There are requests for C# CloudScript, since people like to use languages they know, and many people likely develop in Unity, but with no debugger CloudScript development will remain slow even in their preferred language.

thub.nodes.view.add-new-comment
Joshua Strunk
subzero911
chris_england
fabiochirico
Canberk Soner
MarcSchaerer
Hibnu Hishath

People who like this

7 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 comment

· Add your reply
avatar image

Joshua Strunk commented · Jan 19, 2018 at 08:16 PM

What kind of bugs can you not debug with your currents set up? What is slipping through? I am curious as it sounds like you should be able to debug almost everything with that setup, and I am not sure what Playfab could reasonably implement with more features over your current setup.

thub.nodes.view.add-new-comment
Joshua Strunk

People who like this

1 Show 1
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Martin L · Jan 20, 2018 at 01:24 AM 0
Share

The kind of bugs that I still see come from a few reasons:

  • I mock out the entire Playfab API, so if the data I mock is slightly off I get a false passed test and debugging with real data from the API is the only way to find that my mock data is the culprit, i.e. unit test bug
  • 100% code coverage is too high a bar and Murphy's Law says I have bugs where I don't have coverage
  • Sometimes it's the interactions between units that have the bugs and since units are tested in isolation these are not uncovered
  • Works on my machine syndrome: I want to debug with real data

(I am now writing a set of integration tests to lessen some of these but I can't eliminate them)

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Your Opinion Counts

    We would love to know what you need. Submit your ideas and upvote others to help us prioritize.

    Sign in to post a new idea

    Follow

    Follow This Idea

    No one has followed this yet.

    Related Ideas

    API methods/CloudScript functions to interact with multiple Shared Groups at once

    Playfab party multiplayer supports MacOS

    Game Manager: RunCloudScript: Be able to set revision to latest or live instead of only specific reveisions.

    Granting multiple items

    Dash: Save JSON recipes for args

    Add VC Recharge Rate to client and server APIs

    Cloud Script environment variables and Admin API to update them

    Validate Receipt on Cloudscript

    Return the Function Result as a string in ExecuteCloudScriptResult.

    Critical Security Flaws

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges