-
Notifications
You must be signed in to change notification settings - Fork 24
Truffle: Debug Transaction
source file's cannot be correctly matched
#219
Comments
Hi @pupudaye, thanks for sending this. Does the ganache instance have some transactions to select from? In other words, did you first deploy any contract to that instance? If so, can you specify the version of the extension you are running? |
Thanks, I have solved this problem! But I have a new problem, the source file cannot be correctly matched when debugging. What is the reason? |
Glad to hear you solved the first issue. As for the second one, to help us troubleshoot, will you be able to provide some steps to reproduce the issue or a corresponding repo (if it's a public project)? |
Truffle: Debug Transaction
source file's cannot be correctly matched
The truffle development case "metacoin" can be debugged normally, but it can't be debugged properly when switching to complex projects that rely on contracts. The steps are not easy to express clearly, or can you give me some advice, how should I configure vscode setting.json and launch.json . Is it because of relying on third-party libraries, such as: openzeppelin? |
My best guess is that it's related to #54. We are experiencing some issues while debugging non-trivial Truffle projects. We are investigating the root cause of this issue. |
Hey @pupudaye, apologies for the slight delay in follow-up to this one. However, good news in that the fix for this should hopefully now be in place (as of |
ctrl + shift + p
=> pop-up command list
=> select ”Truffle: Debug Transaction“
issues: Transaction list selection not triggered
ganache is started!
The text was updated successfully, but these errors were encountered: