Skip to main content
Inspiring
July 12, 2018
Question

How to get debugger working in Chrome July 2018

  • July 12, 2018
  • 1 reply
  • 3879 views

I just reinstalled Windows and all my apps and can now longer get the Flash debug player to output to a log file at either

C:\Users\<username>\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt

C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot\Logs\flashlog.txt

I can trace() output fine to the first of these paths from Firefox. But not Chrome.

All the support docs online are way out of date. Should this work in Chrome and if so how do I configure it?

Flash Player content debugger for Opera and Chromium based applications – PPAPI Version 30.0.0.134

Chrome Version 67.0.3396.99 (Official Build) (64-bit)

Windows 10 Pro 10.0.17134

thanks

Derek

This topic has been closed for replies.

1 reply

jeromiec83223024
Inspiring
July 12, 2018

Yeah, Chrome is the exception to everything as far as file paths go.  Flash Player runs in a jailed filesystem in Chrome, and the paths are different.  Because Chrome ships with Flash Player built-in, getting it to actually run the Debugger introduces some complexity.  You may need to specify some Chrome commandline options to ensure you're always running the Flash Player that you want.

https://peter.sh/experiments/chromium-command-line-switches/  (search for PPAPI or Flash for a good survey of the available options)

You'll also probably want to verify that you're actually running the debugger in Chrome. If you see the Show Redraw Regions option in the context menu, that's a good indicator that you're on the debugger.

Personally, I just use Firefox for debugging to avoid the headache.  Flash Player is more straightforward to configure there, and it keeps Chrome setup for general browsing.

Also, the debugger doesn't write the trace log by default.  You need to enable it in mm.cfg.

Configure the Flash Player debugger version

For Chrome, you should put mm.cfg in the following directory:

  • Mac: /Users/<username>/Library/Application Support/Google/Chrome/Default/Pepper Data/Shockwave Flash/System
  • Win: %USERNAME%/AppData/Local/Google/Chrome/User Data/Default/Pepper Data/Shockwave Flash/System
Inspiring
July 13, 2018

Thank you so much for the prompt and full response. I will check this out and respond.