Not able to open fiddler on mac

9 posts, 0 answers
  1. Shrimpy
    Shrimpy avatar
    1 posts
    Member since:
    May 2014

    Posted 01 Nov 2016 Link to this post

    when run "mono Fiddler.exe", i am getting below error, any idea?

    WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all
    exception inside UnhandledException handler: The type initializer for 'Fiddler.CONFIG' threw an exception.


    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeEngine' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeWin32Classic' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.KnownColors' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.dylib
      at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
      at System.Drawing.GDIPlus..cctor () <0x109dba840 + 0x001d5> in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at System.Drawing.KnownColors..cctor () <0x109dba5a0 + 0x00064> in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at System.Drawing.Color.get_Black () <0x10a8ca4e0 + 0x0001e> in <filename unknown>:0 
      at System.Windows.Forms.ThemeWin32Classic..cctor () <0x10a8ca3d0 + 0x00015> in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at System.Windows.Forms.ThemeVisualStyles..ctor () <0x10a8ca2f0 + 0x00014> in <filename unknown>:0 
      at System.Windows.Forms.ThemeEngine..cctor () <0x10a8ca1d0 + 0x0008f> in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () <0x10a8c9da0 + 0x00010> in <filename unknown>:0 
      at System.Windows.Forms.Control..ctor () <0x10a8c86e0 + 0x00288> in <filename unknown>:0 
      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
      at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () <0x10a8c9c90 + 0x00031> in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at System.Windows.Forms.Control..ctor () <0x10a8c86e0 + 0x0005e> in <filename unknown>:0 
      at System.Windows.Forms.ScrollableControl..ctor () <0x10a8c8080 + 0x00017> in <filename unknown>:0 
      at System.Windows.Forms.ContainerControl..ctor () <0x10a8c7ea0 + 0x0002d> in <filename unknown>:0 
      at System.Windows.Forms.Form..ctor () <0x10a8c7510 + 0x000f9> in <filename unknown>:0 
      at ...ctor () <0x10a8c5080 + 0x0002d> in <filename unknown>:0 
      at (wrapper remoting-invoke-with-check) .:.ctor ()
      at Fiddler.frmViewer.‹• (System.String[] ˆ•) <0x109db3870 + 0x00136> in <filename unknown>:0 
      at Fiddler.frmViewer.‡• (System.String[] ˆ•) <0x109db2da0 + 0x0009b> in <filename unknown>:0 

     

     

  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    538 posts

    Posted 02 Nov 2016 Link to this post

    Hello,

    It looks like you have a custom built 64-bit Mono version. Is that the case? Mono still doesn't offer support for WinForms in their 64-bit implementation and that is why you get this exception. You will have to switch to 32-bit mono to run Fiddler.

    Regards,
    Tsviatko Yovtchev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. 阿斌
    阿斌 avatar
    1 posts
    Member since:
    Dec 2016

    Posted 14 Dec 2016 in reply to Tsviatko Yovtchev Link to this post

    And if you mono has installed with Homebrew, if will not switch to 32-bit. So you should reinstall mono from the official website
  4. Greg
    Greg avatar
    1 posts
    Member since:
    Aug 2017

    Posted 16 Aug Link to this post

    I don't see where Mono has a 32-bit separate install.  Their installer is universal so it detects 64-bit system automatically.  Would moving to .NET core address this?

    http://www.mono-project.com/download/#download-mac

    I miss Fiddler :(
  5. Alexander
    Admin
    Alexander avatar
    196 posts

    Posted 21 Aug Link to this post

    Hi Greg,

    You are right - there is no installer for 32-bit version of Mono. But there seems to be a switch, which can be used to run an assembly on the 32-bit Mono VM. You can find more information here.

    Regards,
    Alexander
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Andrew
    Andrew avatar
    2 posts
    Member since:
    Sep 2017

    Posted 29 Sep in reply to Alexander Link to this post

    Hi Alexander,

    Can you give specifics on how to change mono from 64 bit to 32 bit?  The steps were not clear in the link you provided.  I am very new to MAC's and using this MAC, including the steps of installing mono to use Fiddler for my testing has been a google search.  By new, I am learning how to navigate Finder and just started with the Terminal today and Fiddler is my 3rd program manually installed.  Any extra help is appreciated. 

    Cheers,

    Andy 

  7. Andrew
    Andrew avatar
    2 posts
    Member since:
    Sep 2017

    Posted 29 Sep in reply to Andrew Link to this post

    Alexander,

    I typed in "mono --arch=32" in a terminal.  When I do I get a list of commands.  

    Andrews-MBP-2:fiddler-mac searsa$ mono --arch=32
    Usage is: mono [options] program [program-options]


    Development:
        --aot[=<options>]      Compiles the assembly to native code
        --debug[=<options>]    Enable debugging support, use --help-debug for details
        --debugger-agent=options Enable the debugger agent
        --profile[=profiler]   Runs in profiling mode with the specified profiler module
        --trace[=EXPR]         Enable tracing, use --help-trace for details
        --jitmap               Output a jit method map to /tmp/perf-PID.map
        --help-devel           Shows more options available to developers


    Runtime:
        --config FILE          Loads FILE as the Mono config
        --verbose, -v          Increases the verbosity level
        --help, -h             Show usage information
        --version, -V          Show version information
        --runtime=VERSION      Use the VERSION runtime, instead of autodetecting
        --optimize=OPT         Turns on or off a specific optimization
                               Use --list-opt to get a list of optimizations
        --security[=mode]      Turns on the unsupported security manager (off by default)
                               mode is one of cas, core-clr, verifiable or validil
        --attach=OPTIONS       Pass OPTIONS to the attach agent in the runtime.
                               Currently the only supported option is 'disable'.
        --llvm, --nollvm       Controls whenever the runtime uses LLVM to compile code.
        --gc=[sgen,boehm]      Select SGen or Boehm GC (runs mono or mono-sgen)
        --arch=[32,64]         Select architecture (runs mono32 or mono64)
        --handlers             Install custom handlers, use --help-handlers for details.
        --aot-path=PATH        List of additional directories to search for AOT images.

     

  8. Alexander
    Admin
    Alexander avatar
    196 posts

    Posted 04 Oct Link to this post

    Hi Andrew,

    The command you should use is

    mono --arch=32 Fiddler.exe

    This will run Fiddler in a 32-bit Mono.

    Regards,
    Alexander
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  9. Chu
    Chu avatar
    1 posts
    Member since:
    Nov 2017

    Posted 1 day and 16 hours ago in reply to Alexander Link to this post

    When I tried to switch to mono32, it failed too:

    $ mono --arch=32
    Error: --arch=32 Failed to switch to 'mono32'.

Back to Top