# Plugin Starting from an XDMFReader

**URL:** https://discourse.paraview.org/t/plugin-starting-from-an-xdmfreader/9227
**Category:** Development
**Created:** [March 19, 2022, 3:47pm UTC](https://discourse.paraview.org/t/plugin-starting-from-an-xdmfreader/9227 "2022-03-19T15:47:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Kostas\_Politis](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kostas_politis/32/8233_2.png) [@Kostas\_Politis](https://discourse.paraview.org/u/Kostas_Politis)
#### Post date: [March 19, 2022, 3:47pm UTC](https://discourse.paraview.org/t/plugin-starting-from-an-xdmfreader/9227/1 "2022-03-19T15:47:13Z")

</div>

Hello all,

I’m writing a plugin using the base structure of the vtkXdmfReader.h/cxx + readers\_xdmf2.xml. I’ve just modified the files to expose different names to the SM xml and to modify the extension to myxdmf. Unfortunately when reading a myxdmf (an xdmf that loads as required in pv only with a different extension) PV crushes.

Any hints would be more than helpful at this point 🙂

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [March 20, 2022, 1:00pm UTC](https://discourse.paraview.org/t/plugin-starting-from-an-xdmfreader/9227/2 "2022-03-20T13:00:13Z")

</div>

Running through a debugger to see why it crashes is your best bet. Make sure you’re using a Debug (or RelWithDebInfo) build of ParaView and the plugin.
