Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

whats the target of print?

  • #1, by rhavin grobert 9 years ago Zitieren
    In oder to debug (read: in order to guess differences between expectations by documentation and real behaviour of implementation^^) i came across print, which prints to *where*?

    I already found the console (documentation: "Nähere Informationen dazu finden Sie in einem separaten Kapitel." - ??), but where does my print print to?

  • #2, by ke4 9 years ago Zitieren
    It prints into log file.

    AppData\Local\VisionaireStudio\Project
    Under Windows.
  • #3, by sebastian 9 years ago Zitieren
    for macOS:
    /Users/<user>/Library/Logs/(<yourgamecompanyname>/)<yourgamename>
  • #4, by afrlme 9 years ago Zitieren
    Or if you are using VS5 then you can read the log in the developer console while running your game via the editor. Press TAB to open & close the developer console.

    Also here's a quick tip: If you hover the mouse over the icons to the left of the search bar on the editor it will dropdown a menu. Click on the option that says "goto messages.log" to open up the folder containing the log files, save files & config.ini for your opened project.
  • #5, by rhavin grobert 9 years ago Zitieren
    well, does not seem to work.

    I added a simple print("test") to a script I know that gets executed, but while the function does what it should do, the print goes to nirvana, there is no 'test' in the messages.log

    I need some way to output values for debugging.

  • #6, by afrlme 9 years ago Zitieren
    Open up the options for VS editor. Go to player & set log level to info.