Setting breakpoints in custom language files


I want to set breakpoints in my custom file type.

I have:
- a FileType with
public boolean isJVMDebuggingSupported() { return true; }

- This type is associated with an extension
- In projectOpened( Project p ):
debugMgr.registerPositionManagerFactory( new Function<DebugProcess, PositionManager>() {
public PositionManager fun( DebugProcess debugProcess ) { "fun");
return new MyPositionManager( debugProcess );
} );

Now, when I start my plugin and open a file with the associated extension, the isJVMDebuggingSupported() method is called, but I'm still not able to set breakpoints.

Also, my own position manager is never created.

Any hint?

Please sign in to leave a comment.