Stride Forums Archive

Pdxsl paths incorrect in visual studio shader debugger - how to fix?

6 posts, 2980 views, 2015-08-13 to 2015-09-17

jmkinzer (Jason) 2015-08-13 #1

I’m trying to use the VS graphics debugger but cannot step into the shader code because the pdxsl files cannot be located. VS always wants to look in c:/projects/paradox/… which does not match the path I am using. This is clearly being caused by the #line directives. However, I have tried rebuilding from the sources and can’t seem to change those references. Any ideas? Please see screenshots below.

xen2 (Virgile) 2015-09-09 #2

In the sources, setting EnablePreprocessorLine to false will remove the #line directives:

jmkinzer (Jason) 2015-09-09 #3 in reply to #2

Thanks for the info. Ideally I would like to be refer to the original pdxsl files, however… any way to accomplish that?

xoofx (Alexandre Mutel) 2015-09-16 #4 in reply to #3

@jmkinzer so you have the repository of Paradox cloned to C:/Projects/Paradox but VS is not able to load it? Could be related to the use of / instead of \ that VS doesn’t like… we will check

jmkinzer (Jason) 2015-09-16 #5 in reply to #4

Ah no, I actually have Paradox cloned just to c:/Paradox. I couldn’t figure out where the path c:/Projects/Paradox came from… am I required to have it on that path?

xoofx (Alexandre Mutel) 2015-09-17 #6 in reply to #5

No that’s not normal. We will check why there is such a behaviour.