question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to open file with Apex Interactive Debugger when the path to the file contains spaces (%20)

See original GitHub issue

Summary

I got “Path must be string. Received undefined” error when attempting to start debugger (green Play button)

Steps To Reproduce:

i followed all the steps using below link https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode-apex-debugger

here is my Launch.json file: { "version": "0.2.0", "configurations": [ { "name": "Launch Apex Debugger", "type": "apex", "request": "launch", "sfdxProject": "${workspaceRoot}" } ] }

Expected result

Debugg session should be start

Actual result

“TypeError:Path must be string. Received undefined” error

Additional information

apex debugger issue

VS Code Version: 1.20 SFDX CLI Version: CLI version — sfdx-cli/6.2.1-9477838 (windows-x64) node-v8.9.4 Apex debugger vscode extension version — 42.2.0 sfdx force version — v42.0

OS and version: Windows 7 enterprise SP1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
DatGuyJonathancommented, Apr 26, 2018

My bad, fell under my radar. The space issue on Windows path has been fixed in https://github.com/forcedotcom/salesforcedx-vscode/pull/359.

1reaction
amphrocommented, Feb 15, 2018

Correct.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to open a file system file from apex interactive report
I have an interactive report that is listing error logs from many different databases. The files are stored in a directory in the...
Read more >
How do I start to debug my own Apex code?
Go to Setup > Debug Logs > New; Select Track Entity and Logs Level. Execute code (anonymous apex or via UI) ; Ctrl...
Read more >
Apex Interactive Debugger | Salesforce for VSCode
Apex Interactive Debugger, also called the Apex Debugger, is a traditional debugger that allows customers to debug their Apex code in sandboxes and...
Read more >
Command line dataloader in Salesforce – Solve Common errors
Standard Data Loader wizard needs interaction however there are many scenarios ... This file contains all the common configurations settings like UserName, ...
Read more >
Troubleshooting - APEX Office Print (AOP)
In case Office documents are not opening as expected, probably there was an issue with the JSON that was sent to the AOP...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found