# Ruby debugger & displaying backslashes in pathname

**URL:** <https://rubytalk.org/t/ruby-debugger-displaying-backslashes-in-pathname/64408>\
**Category:** ruby-talk\
**Created:** [19 December 2011 16:58 UTC](https://rubytalk.org/t/ruby-debugger-displaying-backslashes-in-pathname/64408 "2011-12-19T16:58:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ralph\_Shnelvar](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@Ralph\_Shnelvar](https://rubytalk.org/u/Ralph_Shnelvar)\
**Post date:** [19 December 2011 16:58 UTC](https://rubytalk.org/t/ruby-debugger-displaying-backslashes-in-pathname/64408/1 "2011-12-19T16:58:48Z")

</div>

As I step through code, the Ruby debugger displays the file:line with forward slashes in the pathname.

Is there a switch that will turn the forward slashes to backslashes so I can conveniently open the files in a Windows environment?

---

<div class="post-metadata">

**Author:** ![Steve\_Klabnik](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Steve\_Klabnik](https://rubytalk.org/u/Steve_Klabnik)\
**Post date:** [19 December 2011 17:06 UTC](https://rubytalk.org/t/ruby-debugger-displaying-backslashes-in-pathname/64408/2 "2011-12-19T17:06:50Z")

</div>

Windows supports both kinds of slashes, so this shouldn't impact you.

---

<div class="post-metadata">

**Author:** ![Ralph\_Shnelvar](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@Ralph\_Shnelvar](https://rubytalk.org/u/Ralph_Shnelvar)\
**Post date:** [19 December 2011 17:41 UTC](https://rubytalk.org/t/ruby-debugger-displaying-backslashes-in-pathname/64408/3 "2011-12-19T17:41:18Z")

</div>

Steve,

Monday, December 19, 2011, 10:06:50 AM, you wrote:

> Windows supports both kinds of slashes, so this shouldn't impact you.

My favorite editor, an ancient version of Visual Slick Edit, does not support it and will report an invalid file name.
